Chase unpaid WooCommerce orders with WordPress, Invoice Ninja and Telegram
Ready for 3.0What this workflow does
This workflow has 51 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Telegram.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Chase settings (Edit Fields (Set)): sets or maps fields
- Check your settings (Code): runs custom JavaScript code
- Hourly or daily? (If): checks a condition and branches into true / false
- Check the Invoice Ninja token (HTTP Request): calls an HTTP API
- Read the table for the checks (Data table): uses Data table
- Read on-hold orders (HTTP Request): calls an HTTP API
- Describe the run failure (Code): runs custom JavaScript code
- Pick invoices to check (Code): runs custom JavaScript code
- Read the table for the report (Data table): uses Data table
- Read the tracking table (Data table): uses Data table
…plus 39 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - Send Email
n8n-nodes-base.emailSend - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow runs on schedules to invoice and chase unpaid WooCommerce on-hold orders in WordPress using Invoice Ninja, tracking each order in an n8n Data Table to avoid duplicates, sending reminders and optional Telegram alerts, and…