Track complaint SLAs and escalation alerts with Gmail and data tables
Ready for 3.0What this workflow does
This workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Authenticate Complaint Intake (Code): runs custom JavaScript code
- Authenticate Complaint Owner (Code): runs custom JavaScript code
- Find Open Complaints (Data table): get (row)
- Intake Authorized? (If): checks a condition and branches into true / false
- Owner Authorized? (If): checks a condition and branches into true / false
- Select Unique Open Cases (Code): runs custom JavaScript code
- Normalize Complaint Metadata (Code): runs custom JavaScript code
- Reject Intake Authentication (Respond to Webhook): sends the response back to the webhook caller
- Normalize Owner Action (Code): runs custom JavaScript code
- Reject Owner Authentication (Respond to Webhook): sends the response back to the webhook caller
…plus 28 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 (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Data table
n8n-nodes-base.dataTable - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Accept complaint metadata, assign an owner, and track a separately supplied response deadline. Authenticated owner actions acknowledge or close cases. A 15-minute sweep escalates unacknowledged ownership and sends internal Gmail alerts, with…