Templates / Automate Xero invoices and payments using webhooks, PostgreSQL and WhatsApp

Automate Xero invoices and payments using webhooks, PostgreSQL and WhatsApp

Ready for 3.0

by Gilbert Onyebuchi ✓ · 168 views · created 2026-01-13 · 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 14 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Xero, Google Calendar, Twilio and Postgres.

How it runs

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

  1. Xero: uses Xero
  2. Postgres: update
  3. If: checks a condition and branches into true / false
  4. Xero: update
  5. Add Invoice Record (Postgres): uses Postgres
  6. Respond to Webhook: sends the response back to the webhook caller
  7. WhatsApp - Send Invoice Confirmation (Twilio): uses Twilio
  8. Google Calendar: uses Google Calendar
  9. Google Calendar: delete
  10. WhatsApp - Send Invoice Confirmation (Twilio): uses Twilio

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

Services it uses

XeroGoogle CalendarTwilioPostgres

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

From the author

This workflow automates the full invoicing and payment process using n8n and Xero. It allows businesses to generate invoices, track payments, send WhatsApp notifications, and keep records synced automatically, without manual follow-ups or repetitive admin…

Excerpt from Gilbert Onyebuchi'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.