How to answer calls after hours with an ElevenLabs voice agent and get a summary of every call (Twilio)
Confirmed by source: Official vendor documentation combining two guides (Twilio native integration and post-call webhooks) with code. Checked live on 2026-10-25: both pages return 200 (the older conversational-ai and agents-platform URLs redirect to eleven-agents), the data collection docs are live, the elevenlabs/examples repo was updated on 2026-10-23, and ElevenLabs' pricing page is live. Not run by BranoLabs (no real calls placed). (checked 2026-10-25)
The problem
Calls that come in at night or at weekends go to a voicemail box nobody checks until the next morning, and the caller often never calls back. You want an agent to pick up, find out what the caller needs and take their details, and you want a short written summary of each call waiting for you in the morning.
Tools needed
- ElevenLabs Agents (ElevenAgents)
- Twilio phone number imported through the native integration
- Data collection and success evaluation (agent Analysis tab)
- Post-call webhooks with HMAC signature check
- Your own webhook endpoint (Express, FastAPI or a Next.js route) that forwards to email or Slack
Step-by-step recipe
- Build the agent in ElevenAgents with a greeting and instructions for what to ask after-hours callers (name, call-back number, reason, urgency) and what it may not promise.
- In the agent's Analysis tab, add data collection items (for example caller_name, callback_number, reason, urgent as a boolean) with precise extraction descriptions, and a success-evaluation criterion such as 'caller left a reachable number'.
- In the ElevenAgents Phone Numbers tab, import your purchased Twilio number with a label, the number, and a Twilio API key SID and secret (recommended over the account-wide auth token). ElevenLabs configures the Twilio number for you.
- Assign the agent to the number so it handles inbound calls; for after-hours use, route calls there only outside opening hours (for example with time-based forwarding from your main line).
- In the ElevenAgents settings, enable a post-call transcription webhook pointing at your endpoint and store the shared secret.
- In the endpoint, verify the ElevenLabs-Signature header with the SDK's constructEvent / construct_event, return 200 quickly, and read data.analysis.transcript_summary, call_successful and data_collection_results.
- Forward a short message per call to your email or Slack channel (summary, extracted fields, a link to the conversation in Calls History), flagging urgent calls.
- Call the number yourself a few times and review the first real calls in Calls History before relying on it.
Copyable prompt
You answer the phone for [BUSINESS NAME] outside opening hours ([OPENING HOURS], [TIME ZONE]). Say at the start that you are an AI assistant and that the office is closed. Collect, in a natural conversation: - the caller's name - a call-back number (repeat it back digit by digit) - what the call is about, in one or two sentences - whether it is urgent and why You may tell callers: [WHAT YOU MAY SAY, e.g. opening hours, address, website]. Do not quote prices, make appointments or promise a call-back time other than [CALL-BACK PROMISE]. If the caller describes [EMERGENCY CONDITIONS], tell them to call [EMERGENCY NUMBER] now. End by summarising what you noted and saying that [TEAM NAME] will call back.
Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.
What the builder reported
Official ElevenLabs documentation: the Twilio native integration guide covers importing a number and handling inbound and outbound calls, and the post-call webhook guide documents the payload (full transcript plus analysis with transcript_summary, call_successful and data_collection_results) with handler code for FastAPI, Express and Next.js. ElevenLabs publishes no business results for this exact setup.
These are the source author's own claims. AgentRecipes has not run this recipe itself.
Watch out for
- Only purchased Twilio numbers can take inbound calls; numbers added as Verified Caller IDs are outbound-only and cannot be assigned to an agent.
- The webhook must return 200: ElevenLabs auto-disables a post-call webhook after 10 or more consecutive failures if the last successful delivery was more than 7 days ago or never happened.
- Always validate the HMAC signature; an unauthenticated webhook endpoint lets anyone post fake calls into your Slack or inbox.
- Data collection is LLM extraction from the transcript, so read back phone numbers to the caller and treat extracted fields as drafts.
- Transcripts and summaries contain personal data; tell callers, keep retention short and check recording and privacy rules where you operate.
- Usage is billed by ElevenLabs on top of Twilio number and per-minute charges; check both pricing pages for your volume.
Source
Original write-up: ElevenLabs docs ↗
Found via ElevenLabs docs: “Post-call webhooks”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-10-25.
More voice & phone agents recipes
New agent recipes in your inbox
A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.