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 ✓ · 22 views · created 2026-06-11 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Slack and Gmail.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Parse Invoice Payload (Code): runs custom JavaScript code
  2. Is Valid Invoice (If): checks a condition and branches into true / false
  3. Lookup Existing Invoice (Google Sheets): lookup
  4. Flag Duplicate Status (Edit Fields (Set)): sets 3 fields: isDuplicate, matchedPaidDate, matchedPaymentRef
  5. Duplicate Found (If): checks a condition and branches into true / false
  6. Slack: uses Slack
  7. Prepare Approval (Edit Fields (Set)): sets 2 fields: approvalStatus, paymentDueISO
  8. Log Duplicate (Google Sheets): append
  9. Register Unique Invoice (Google Sheets): append
  10. Needs Approval (If): checks a condition and branches into true / false

…plus 3 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 (8)

From the author

Quick Overview This workflow receives vendor invoices via a webhook, normalizes them into a fingerprint, checks Google Sheets for previously paid matches, and then blocks duplicates with Slack alerts and an audit log while registering unique invoices and…

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.