Skip to content
FlowHubFluxonLab
A
AI Automationfree

5 Ways to Process Images & PDFs with Gemini AI in n8n

by Julian Kaiseradapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentGoogle Gemini Chat ModelHTTP RequestHTTP Request
Share Post Share
MaWhen clicking ‘Test workflow’When clicking ‘…Google Gemini Chat ModelGoogle Gemini C…AgAI AgentHRGet image from unsplash2Get image from …SOSplit OutHRGet image from unsplash3Get image from …EFTransform to baseTransform to ba…HRCall Gemini API1SILoop Over ItemsAgAI Agent2Google Gemini Chat Model1Google Gemini C…HRGet image from unsplash4Get image from …HRGet PDF fileHRGet image from unsplashGet image from …HRCall Gemini API with PDFCall Gemini API…HRCall Gemini API with ImageCall Gemini API…EFTransform to base64 (image)Transform to ba…EFTransform to base64 (pdf)Transform to ba…SeDefine Multiple Image URLsDefine Multiple…SOSplit Out to multiple itemsSplit Out to mu…SeDefine URLs And PromptsDefine URLs And…FiFilter (optional)Filter (optiona…12345678910111213141516171819202122
1/5
STEPS · 22
Run manually by an operator

How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workflow answers that question by demonstrating five different approaches: Single image with auto binary passthrough - The simplest approach using AI Agent's automatic binary handling Multiple images with predefined prompts - For customized analysis with different instructions per image Native n8n item-by-item processing - For handling multiple items using n8n's standard workflow paradigm PDF analysis via direct API - For document analysis and text extraction Image analysis via direct API - For direct control over API parameters Each method has advantages depending on your specific use case, data volume, and customization needs. Set up steps Setup time: ~5-10 minutes You'll need: A Google Gemini API key n8n with HTTP Request and AI Agent nodes Important: For the HTTP Request nodes making direct API calls to Gemini (Methods 3, 4, and 5), you'll need to set up Query Authentication with your Gemini API key. Add a parameter named "key" with your API key value in the Query Auth section of these nodes.

Tags

n8nreference-onlyagentlm-chat-google-gemini
Connects
AAI AgentGoogle Gemini Chat ModelWHTTP Request
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes22
AddedMar 4, 2025

Related workflows

See all AI Automation
ACW
free

Generate sales research briefs from Google Sheets with Claude and Slack

Quick overview This workflow polls a Google Sheets prospect queue, researches each new company via SerpAPI and enrichment/contact APIs, then uses Anthropic Claude to generate a structured sales brief and outreach draft, logs the result back to Google Sheets, marks the prospect as researched, and notifies a sales rep in Slack. How it works Runs every 15 minutes and reads rows from the Prospects tab in Google Sheets. Filters for prospects with Status set to "New" and processes each prospect as an individual item. Researches each prospect in parallel by pulling recent news via SerpAPI, company funding/technology data via a company enrichment API, and decision-maker contacts via a people data API. Combines the research signals into one profile per prospect and calculates a priority score and a research completeness score. Skips prospects with insufficient data and sends the rest to Anthropic Claude to generate a JSON sales brief and first-touch outreach message. Appends the brief to the SalesBriefs tab in Google Sheets, updates the original prospect’s Status to "Researched", and posts a summary plus the draft message to Slack via an incoming webhook. Setup Create a Google Sheets OAuth2

by Oneclick AI Squad
ACgmailsheets
free

Route procurement helpdesk tickets from Gmail with Groq and Slack

Quick Overview This workflow monitors a Gmail inbox for procurement requests, uses Groq (Llama 3.1) to classify and route each ticket with SLA logic, escalates high-risk items to Slack, creates a ticket via HTTP, sends an auto-reply from Gmail, and logs the full record to Google Sheets. How it works Triggers every minute when a new email arrives in a Gmail inbox. Extracts the sender, subject, body, timestamps, and Gmail thread/message IDs, and generates a procurement ticket ID. Looks up the email thread ID in Google Sheets to identify whether the request already exists. Uses Groq (Llama 3.1) to classify the request (category, urgency, sentiment, risk, team) and applies routing rules to set SLA deadlines, queues, and escalation flags. If escalation is required, posts a detailed alert to a Slack channel and creates an escalated ticket via an HTTP request; otherwise, creates a standard ticket via an HTTP request. Generates a short agent-facing status summary with Groq, emails the customer an acknowledgement and suggested reply via Gmail, and appends the full ticket and AI outputs to Google Sheets. Setup Connect your Gmail OAuth2 credential for both the inbox trigger and the customer a

by WeblineIndia
ACW
free

Assess visa eligibility and send PDF checklists with Claude and SendGrid

Quick overview This workflow receives visa eligibility requests via webhook, uses Anthropic Claude to extract passport details and assess visa requirements, generates a purpose-specific document checklist, converts it to a PDF via PDFShift, logs each request to Google Sheets, and emails the PDF to the applicant using SendGrid. How it works Receives a webhook POST with applicant details, travel plan, and raw passport OCR text. Uses Anthropic Claude to extract and validate passport data (name, nationality, passport number, expiry) and scores whether the passport text is readable. If passport data is insufficient, immediately returns a webhook response asking the applicant to resubmit a clearer passport scan. If passport data is sufficient, waits briefly and uses Anthropic Claude again to determine whether a visa is required, the visa category, a recommended visa type, processing time, risks, and confidence. Builds a document checklist from a standard base list plus purpose-specific items and any AI-flagged eligibility risks, then renders it into HTML. Sends the HTML to PDFShift to generate a PDF, formats a summary row, and appends the application record to a Google Sheets tab. Emails

by Oneclick AI Squad