Templates / Build weekly payment runs with Google Sheets and Gmail

Build weekly payment runs with Google Sheets and Gmail

Ready for 3.0

by Invoice Ledger ✓ · 0 views · created 2026-11-05 · 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 17 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: On a schedule (every week at 08:00).

  1. Set Ledger and Runs Config (Edit Fields (Set)): sets 19 fields: ledgerSheetId, ledgerTab, runsTab…
  2. Read Ledger from Sheets (Google Sheets): read
  3. Read Previous Runs from Sheets (Google Sheets): read
  4. Tag Ledger Rows (Edit Fields (Set)): sets 1 field: _source
  5. Tag Previous Run Rows (Edit Fields (Set)): sets 1 field: _source
  6. Merge: merges the data from its input branches
  7. Calculate Payment Decisions (Code): runs custom JavaScript code
  8. Check Ledger Usability (If): checks a condition and branches into true / false
  9. Check Records Needed (If): checks a condition and branches into true / false
  10. Stop: Unusable Ledger (Stop and Error): stops the run with an error

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

Services it uses

Google SheetsGmail

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Quick overview This workflow runs every Thursday to build a weekly payment run by reading an invoice ledger and previous payment runs from Google Sheets, writing one decision row per invoice back to the Payment Runs tab, and emailing a plain-text summary via…

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