Automate Xero invoices and payments using webhooks, PostgreSQL and WhatsApp
Ready for 3.0What 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).
- Xero: uses Xero
- Postgres: update
- If: checks a condition and branches into true / false
- Xero: update
- Add Invoice Record (Postgres): uses Postgres
- Respond to Webhook: sends the response back to the webhook caller
- WhatsApp - Send Invoice Confirmation (Twilio): uses Twilio
- Google Calendar: uses Google Calendar
- Google Calendar: delete
- WhatsApp - Send Invoice Confirmation (Twilio): uses Twilio
…plus 2 more steps. See the full node list below.
Services it uses
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)
- Webhook
n8n-nodes-base.webhook - Xero
n8n-nodes-base.xero - If
n8n-nodes-base.if - Google Calendar
n8n-nodes-base.googleCalendar - Twilio
n8n-nodes-base.twilio - Respond to Webhook
n8n-nodes-base.respondToWebhook - Postgres
n8n-nodes-base.postgres
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…