Validate bills of lading, send Gmail replies, and post JSON with Google Gemini
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini and Google Gemini Chat Model. It also calls webhook.site over HTTP.
How it runs
Trigger: On Gmail events.
- Analyze Document with Gemini (Google Gemini): work with document
- AI Document Analyzer Agent (AI Agent): runs an AI agent, with model: Gemini Main Analysis, Gemini Fallback Analysis; output parser: Parse Structured Output
- Validate Data with Code (Code): runs custom Python code
- Post to Webhook API (HTTP Request): calls webhook.site (POST)
- AI Validation Agent (AI Agent): runs an AI agent, with model: Gemini Main Analysis, Gemini Fallback Analysis; 1 tool (Send Gmail Message)
Services it uses
HTTP calls to: webhook.site
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Gmail Tool
n8n-nodes-base.gmailTool - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code
From the author
Quick overview This workflow triggers on a Gmail message from a specific sender, extracts bill of lading data from an email attachment using Google Gemini, validates the extracted values with Python, posts the structured JSON to a webhook URL, and replies to…