Route SMS conflict case commands via webhook using Google Sheets and Telegram
Ready for 3.0What this workflow does
This workflow has 64 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Telegram.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize mediator request (Edit Fields (Set)): sets 5 fields: phone, smsText, providerMessageId…
- Check required request fields (If): checks a condition and branches into true / false
- Find approved mediator (Google Sheets): uses Google Sheets
- Reply: invalid request (Respond to Webhook): sends the response back to the webhook caller
- Mediator is active (If): checks a condition and branches into true / false
- Reply: register unavailable (Respond to Webhook): sends the response back to the webhook caller
- Find completed provider message (Google Sheets): uses Google Sheets
- Reply: sender not approved (Respond to Webhook): sends the response back to the webhook caller
- Provider message already processed (If): checks a condition and branches into true / false
- Reply: message log unavailable (Respond to Webhook): sends the response back to the webhook caller
…plus 53 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.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow helps approved community mediators record and retrieve conflict-case information through SMS-style commands. It stores cases and updates in Google Sheets, sends private Telegram alerts to a record keeper, and keeps conflict…