Outlook Mail New Email Matching Search to Gemini Generate Content (with Attachments)

Outlook Mail
Gemini

How this workflow works

Step 1

New Email Matching Search•Outlook Mail

Monitor for newly received emails that match an Outlook search query

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.

Outlook Mail

New Email Matching Search

Outlook Mail

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