Log Twilio SMS delivery statuses to Google Sheets and alert Slack on failures
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Load Twilio Error Code Map (Edit Fields (Set)): sets 1 field: error_map
- Decode Status And Error Reason (Edit Fields (Set)): sets 6 fields: received_at, message_sid, to_number…
- Append Delivery Ledger Row (Google Sheets): append
- Check For Failed Delivery (If): checks a condition and branches into true / false
- Post Failure Alert To Slack (Slack): uses Slack
- Return 200 To Twilio (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Other Google Sheets + Slack templates (1,314)
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 (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives Twilio SMS status callbacks, logs each delivery status (including decoded error reasons) to Google Sheets, and posts an alert to Slack when a message is marked failed or undelivered. How it works 1. Receives a POST…