Triage after-hours Vapi and Retell calls with GPT-4.1, Slack, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Read The Call Report (Code): runs custom JavaScript code
- Read The Call Log (Google Sheets): uses Google Sheets
- Acknowledge The Platform (Respond to Webhook): sends the response back to the webhook caller
- Load On Call Settings (Google Sheets): uses Google Sheets
- Build The Morning Brief (Code): runs custom JavaScript code
- Recent Calls From This Caller (Data table): get
- Anything Came In? (If): checks a condition and branches into true / false
- Triage The Call (AI Agent): runs an AI agent, with model: Urgency Model; output parser: Triage Format
- Email The Morning Brief (Gmail): uses Gmail
- Decide The Incident (Code): runs custom JavaScript code
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (13)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - Data table
n8n-nodes-base.dataTable - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow accepts end-of-call webhooks from Vapi and Retell, uses OpenAI to classify call urgency from the transcript, logs calls to Google Sheets, pages an on-call and backup team via Slack based on severity and repeat calls, and emails a…