Templates / Automate payment gateway & database transaction reconciliation with Google Sheets

Automate payment gateway & database transaction reconciliation with Google Sheets

Ready for 3.0

by Mohamed Abubakkar ✓ · 258 views · created 2025-12-11 · Document Extraction

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 19 nodes and runs on a schedule (every day). Along the way it connects Google Sheets.

How it runs

Trigger: On a schedule (every day).

  1. Transactions from Local Database (Google Sheets): uses Google Sheets
  2. Transaction from Payment Gateway (Google Sheets): uses Google Sheets
  3. Compare both transactions (Compare Datasets): uses Compare Datasets
  4. Finding duplicate transactions (Code): runs custom JavaScript code
  5. Invalid transaction (Google Sheets): append or update
  6. Valid Transactions (Google Sheets): append or update
  7. Finding Amount Difference (Filter): keeps only the items that match a condition
  8. Add missing transaction to Sheet (Google Sheets): append or update
  9. Adding duplicate transactions (Google Sheets): append or update
  10. Count invalid transactions (Summarize): summarizes / groups the items

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

Services it uses

Google Sheets

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

How it works This workflow fully automates the reconciliation process between your Local Database transactions and Payment Gateway transactions. It compares both data sources, identifies mismatches, categorizes discrepancies, logs them into Google Sheets,…

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