Templates / Block duplicate vendor invoice payments with Google Sheets, Slack, and Gmail

Block duplicate vendor invoice payments with Google Sheets, Slack, and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 10 views · created 2026-06-16 · Invoice Processing

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 20 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, Slack and Gmail.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. OCR — Extract Invoice Fields (HTTP Request): calls an HTTP API (POST)
  2. Merge: merges the data from its input branches
  3. Parse Invoice Payload (Code): runs custom JavaScript code
  4. Is Valid Invoice (If): checks a condition and branches into true / false
  5. Lookup Existing Invoice (Google Sheets): lookup
  6. Flag Duplicate Status (Edit Fields (Set)): sets 3 fields: isDuplicate, matchedPaidDate, matchedPaymentRef
  7. Duplicate Found (If): checks a condition and branches into true / false
  8. Slack: uses Slack
  9. Teams — Duplicate Alert (HTTP Request): calls an HTTP API (POST)
  10. Prepare Approval (Edit Fields (Set)): sets 3 fields: approvalStatus, paymentDueISO, riskFlag

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

Services it uses

Google SheetsSlackGmail

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

From the author

Quick Overview This workflow receives vendor invoices via a webhook, normalizes key fields into a fingerprint, checks Google Sheets for prior payments to block duplicates, and then logs results, notifies Slack, and emails a Gmail approver for high-value…

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