Templates / Validate bills of lading, send Gmail replies, and post JSON with Google Gemini

Validate bills of lading, send Gmail replies, and post JSON with Google Gemini

Ready for 3.0

by David Grimm ✓ · 83 views · created 2026-06-01 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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.

  1. Analyze Document with Gemini (Google Gemini): work with document
  2. AI Document Analyzer Agent (AI Agent): runs an AI agent, with model: Gemini Main Analysis, Gemini Fallback Analysis; output parser: Parse Structured Output
  3. Validate Data with Code (Code): runs custom Python code
  4. Post to Webhook API (HTTP Request): calls webhook.site (POST)
  5. 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

GmailGoogle GeminiGoogle Gemini Chat Model

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)

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…

Excerpt from David Grimm's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.