Log paid Workspace369 invoices in Google Sheets and email your team with Gmail
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Settings (Edit Fields (Set)): sets 4 fields: google_sheet_url, sheet_tab_name, alert_email…
- Only invoice.paid events (Filter): keeps only the items that match a condition
- Get invoice from Workspace (HTTP Request): calls an HTTP API
- Get invoice payments (HTTP Request): calls an HTTP API (POST)
- Describe API error (Edit Fields (Set)): sets 2 fields: alert_subject, alert_text
- Check payment and build row (Code): runs custom JavaScript code
- Email alert (Gmail): send
- Payment confirmed? (If): checks a condition and branches into true / false
- Find event in sheet (Google Sheets): uses Google Sheets
- Describe unconfirmed payment (Edit Fields (Set)): sets 2 fields: alert_subject, alert_text
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - No Operation, do nothing
n8n-nodes-base.noOp - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow listens for Workspace369 invoice.paid webhooks, verifies the invoice and payment via the Workspace369 API, logs the payment to Google Sheets only once, and emails your team a paid-invoice notice or an alert on errors. How it works…