Watch output anomalies in workflows with data tables and Slack alerts
Ready for 3.0What this workflow does
This workflow has 37 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Mark Webhook Entry (Edit Fields (Set)): sets 1 field: entry
- Mark Scheduled Entry (Edit Fields (Set)): sets 1 field: entry
- Settings (Edit Fields (Set)): sets 10 fields: receiptsTable, findingsTable, slackAlertChannel…
- Receipt or Check (Switch): routes items into 2 branches
- Read Receipt Fields (Code): runs custom JavaScript code
- Read Receipts (Data table): get (row)
- Receipt Valid (If): checks a condition and branches into true / false
- Pack Receipts (Code): runs custom JavaScript code
- Save Receipt (Data table): insert (row)
- Reply 400 Bad Receipt (Respond to Webhook): sends the response back to the webhook caller
…plus 25 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)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Data table
n8n-nodes-base.dataTable - Slack
n8n-nodes-base.slack
From the author
Quick overview A run can finish green and still write zero rows. This workflow stores a receipt from each watched workflow in n8n Data tables, checks them hourly or on demand for silence, low output and counts that do not add up, and posts each finding to…