Validate supplier onboarding documents with Gemini, Gmail and Google Workspace
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini, Gmail, Google Sheets and Google Drive.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Split Documents Array (Split Out): splits a list into separate items
- Process Documents Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Download Document File (HTTP Request): calls an HTTP API
- Validate Supplier Documents (Code): runs custom JavaScript code
- Extract Text from PDF (Extract from File): extracts data from a file (pdf)
- Check Validation Status (If): checks a condition and branches into true / false
- AI Extract Structured Data (Gemini) (Google Gemini): uses Google Gemini
- Build Supplier Master Record (Code): runs custom JavaScript code
- Generate Validation Feedback (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
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 (14)
- Webhook
n8n-nodes-base.webhook - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait - Aggregate
n8n-nodes-base.aggregate - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Google Drive
n8n-nodes-base.googleDrive - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow receives supplier onboarding submissions via webhook, downloads and parses PDF documents, extracts structured fields with Google Gemini, validates required documents and data, and then either emails correction instructions via…