Google Docs New Document in Folder to Gemini Generate Content (with Attachments)

Google Docs
Gemini

How this workflow works

Step 1

New Document in Folder•Google Docs

Monitors a folder for new Google Docs with rich output mapping.

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.

Google Docs

New Document in Folder

Google Docs

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