Monitor Twilio debugger alerts and send grouped digests to Slack and Google Sheets
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs on a schedule (every 60 minutes). Along the way it connects Google Sheets and Slack. It also calls monitor.twilio.com over HTTP.
How it runs
Trigger: On a schedule (every 60 minutes).
- Compute Alert Window (Edit Fields (Set)): sets 3 fields: lookbackMinutes, startDate, pageSize
- Fetch Twilio Debugger Alerts (HTTP Request): calls monitor.twilio.com
- Any Alerts Returned? (If): checks a condition and branches into true / false
- Group Alerts by Code and Severity (Code): runs custom JavaScript code
- Append Alert Rows to Sheet (Google Sheets): append
- Post Grouped Digest to Slack (Slack): uses Slack
Services it uses
HTTP calls to: monitor.twilio.com
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs hourly to fetch Twilio Monitor Debugger alerts from the last hour, groups them by error code and log level, logs each alert to Google Sheets, and posts a single aggregated digest to a Slack channel. How it works 1. Runs every…