This is an automation workflow that handles Twilio call recordings from start to finish. It starts when Twilio sends a Recording Status Callback webhook for an inbound call whose recording is finalized. It then transcribes the audio with OpenAI Whisper and analyzes the call with Anthropic Claude.
The workflow normalizes the incoming webhook data to capture the call SID, caller and recipient numbers, recording URL, duration and timestamp. It retrieves the recording from Twilio using HTTP Basic Auth. Claude receives the transcript and call metadata and sorts them into intent, urgency, summary, sentiment and whether a callback is needed.
Call metadata, transcripts and AI insights are logged in a designated Google Sheets tab. If a call is categorized as urgent because of high urgency or a customer complaint, the workflow sends an HTML email alert through Gmail. It ends by answering the Twilio webhook with an empty TwiML XML message.
- Integrations
- Twilio Recording Status Callback, OpenAI Whisper, Anthropic Claude, Google Sheets, Gmail
- Key nodes
- if, set, code, webhook, sticky note
- Trigger
- Twilio Recording Status Callback webhook for finalized inbound call recordings
- Data captured
- Call SID, caller and recipient numbers, recording URL, duration, timestamp
- AI analysis
- Intent, urgency, summary, sentiment, callback necessity
- Logging
- Call metadata, transcripts and AI insights in a Google Sheets tab
- Alerts
- HTML email via Gmail for urgent calls or customer complaints
- Webhook response
- Empty TwiML XML message
- Setup requires
- TwiML Bin, Studio or Voice configuration for Twilio call recording; HTTP Basic Auth credentials in n8n