Discord New Message In Channel to Gemini Generate Content (with Attachments)

Discord
Gemini

How this workflow works

Step 1

New Message In Channel•Discord

Polls Discord channel messages (newest to oldest) and emits only newly created messages.

Step 2

Generate Content (with Attachments)•Gemini

Sends a text prompt along with zero or more attachments — images (PNG/JPEG/GIF/WEBP), PDFs, or plain text files — to a Gemini model and returns the AI-generated response. Attachments can be supplied as a Base64 string, a Base64 array, an attachment object, or a URL array. Word, Excel, and PowerPoint files are not supported by Gemini's API and are automatically skipped; the response indicates how many attachments were skipped.

Discord

New Message In Channel

Discord

Trigger
Gemini

Generate Content (with Attachments)

Gemini

Action

Your pipeline isn't going to build itself

Deploy your first AI agent today — free, no credit card required. See results in your first session.

14-day free trial · Setup under 30 min · Cancel anytime