Templates / Match and approve invoices with Google Sheets, Groq Llama 3.3, Notion and Gmail

Match and approve invoices with Google Sheets, Groq Llama 3.3, Notion and Gmail

Ready for 3.0

by WeblineIndia ✓ · 25 views · created 2026-08-20 · Invoice Processing, AI RAG

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 28 nodes and runs on a schedule (every day at 07:00). Along the way it connects Google Sheets, Notion, Gmail and Groq Chat Model.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. fetch good receipt (Google Sheets): uses Google Sheets
  2. Fetch Purchase Order (Google Sheets): uses Google Sheets
  3. fetch invoice data (Google Sheets): uses Google Sheets
  4. Filter: Valid Pending Invoices Only (If): checks a condition and branches into true / false
  5. Merge & Similarity Scoring (Code): runs custom JavaScript code
  6. Resolve Best Match per Invoice (Code): runs custom JavaScript code
  7. Route: Decision Path via Match Score (Switch): routes items into 3 branches
  8. Prepare: Approval Metadata (Edit Fields (Set)): sets 3 fields: decision, reason, timestamp
  9. Prepare: Rejection Metadata (Edit Fields (Set)): sets or maps fields
  10. Retain Original Transaction Data (Edit Fields (Set)): sets 1 field: timestamp

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

Services it uses

Google SheetsNotionGmailGroq Chat Model

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 (11)

From the author

Quick overview This workflow runs daily to three-way match invoices against purchase orders and goods receipts in Google Sheets, using fuzzy similarity scoring plus Groq Llama 3.3 semantic checks to approve, reject with Gmail alerts, or escalate for a…

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