AgentRecipes
Recipes › Voice & phone agents

How to answer calls after hours with an ElevenLabs voice agent and get a summary of every call (Twilio)

Voice & phone agentsElevenLabs Agents✓ Confirmed by source

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

Step-by-step recipe

  1. 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.
  2. 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'.
  3. 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.
  4. 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).
  5. In the ElevenAgents settings, enable a post-call transcription webhook pointing at your endpoint and store the shared secret.
  6. 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.
  7. 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.
  8. Call the number yourself a few times and review the first real calls in Calls History before relying on it.

Copyable prompt

Prompt template
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

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

Set up an AI phone receptionist that books, reschedules and cancels appointments (Vapi)A small business such as a barbershop or clinic misses calls while staff are busy, and most of those calls are simple: book a slot, move…Vapi✓ Confirmed by sourcePlace outbound reminder and callback calls with Twilio and OpenAI GPT-LiveAppointment reminders, delivery updates and promised callbacks are phone calls staff keep forgetting to make. You want a script that…Twilio✓ Confirmed by sourceLet an AI phone agent hand a caller to a human with a spoken summary (LiveKit warm transfer)A voice agent can handle routine calls, but some callers need a person: a complaint, an escalation or something the agent may not…LiveKit Agents✓ Confirmed by source

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.