Templates / Verify billing-ready completion documents with OpenRouter and Google Sheets

Verify billing-ready completion documents with OpenRouter and Google Sheets

Ready for 3.0

by Olivier ✓ · 34 views · created 2026-07-20 · Invoice Processing, 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 workflow has 43 nodes and runs on Gmail events (plus 3 other triggers). Along the way it connects Gmail, Google Sheets and Google Drive. It also calls openrouter.ai over HTTP.

How it runs

Trigger: On Gmail events (plus 3 other triggers).

  1. Set Template Fields (Edit Fields (Set)): sets 16 fields: dispatchSheetId, dispatchSheetTab, podRegisterSheetTab…
  2. Set Audit Mode (Edit Fields (Set)): sets 1 field: executionType
  3. Set Reviewer Release Mode (Edit Fields (Set)): sets 1 field: executionType
  4. Identify Execution Type (Code): runs custom JavaScript code
  5. If: checks a condition and branches into true / false
  6. Prepare Email Attachments (Code): runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Build AI Request (Code): runs custom JavaScript code
  9. Read Audit Dispatches (Google Sheets): uses Google Sheets
  10. If: checks a condition and branches into true / false

…plus 29 more steps. See the full node list below.

Services it uses

GmailGoogle SheetsGoogle Drive

HTTP calls to: openrouter.ai

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Gmail Email Received).

Nodes used (10)

From the author

Quick overview This workflow ingests proof-of-delivery and completion documents from Gmail or a webhook, extracts key fields with an OpenRouter vision model, reconciles them against Google Sheets dispatch data, archives evidence to Google Drive, and routes…

Excerpt from Olivier'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.