Screen SMS campaign numbers for high-risk lines with Twilio, Sheets, and Slack
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Slack.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Pending Campaign Numbers (Google Sheets): uses Google Sheets
- Loop Over Each Number (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Screening Summary (Code): runs custom JavaScript code
- Look Up Line Type With Twilio (HTTP Request): calls an HTTP API
- Post Screening Summary To Slack (Slack): uses Slack
- Classify Line Risk (Code): runs custom JavaScript code
- Route Safe or Quarantine (Switch): routes items into 1 branches
- Write Row To Safe To Send Tab (Google Sheets): append
- Write Row To Quarantine Tab (Google Sheets): append
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow manually screens campaign phone numbers from Google Sheets using Twilio Lookup Line Type Intelligence, separates safe mobile numbers from risky or invalid ones into different tabs, and posts a run summary to Slack. How it works 1.…