Templates / Reconcile bank statements with Gmail, OpenAI, Google Sheets, Xero and QuickBooks

Reconcile bank statements with Gmail, OpenAI, Google Sheets, Xero and QuickBooks

Ready for 3.0

by Shuo Yuan ✓ · 1 views · created 2026-11-13 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 34 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Sheets and Telegram.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Keep Statement Attachments Only (Code): runs custom JavaScript code
  2. Read Reconciliation Register (Google Sheets): uses Google Sheets
  3. Read Open Invoices (Google Sheets): uses Google Sheets
  4. Read Reconciled Lines (Google Sheets): uses Google Sheets
  5. Extract Statement Text (Extract from File): extracts data from a file
  6. Read Unmatched Lines (Google Sheets): uses Google Sheets
  7. Parse Bank Statement (Code): runs custom JavaScript code
  8. Escalate Reconciliation Failure (Telegram): uses Telegram
  9. Build Reconciliation Digest (Code): runs custom JavaScript code
  10. Normalise Statement Lines (Code): runs custom JavaScript code

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

Services it uses

GmailGoogle SheetsTelegram

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) (Watch Statement Inbox).
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 (11)

From the author

Quick overview Reconciles a bank statement export against your open invoices: references extracted in two passes, split and partial payments understood, anything uncertain approved in Telegram, and settled payments posted to Xero or QuickBooks exactly once.…

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