1. Get your organization ID
Sign in to app.agnost.ai, open Settings, and copy the Organization ID under General. It is a UUID.2. Build your webhook URL
3. Create the webhook in ElevenLabs
In the ElevenLabs dashboard, open the ElevenAgents settings page:- Create a webhook with the URL from step 2. ElevenLabs webhooks use HMAC authentication.
- Select it as the post-call webhook.
- Turn on the Transcript event.
- Leave OpenTelemetry transcript payloads off. Agnost AI reads the JSON transcript.
- Turn off Send audio data. Agnost AI does not use the audio webhook, and each audio delivery carries the full call as base64 MP3.
4. Talk to the agent and find it in Agnost AI
Have a conversation with the agent, by phone or in the browser. ElevenLabs sends the post-call webhook after the conversation ends and its analysis finishes, so the conversation appears shortly after. In app.agnost.ai, open Users. Each conversation is a session for its user, with the full transcript in the conversation panel. Tool calls appear as tool events under the conversation. The conversation’s Metadata tab shows the ElevenLabs details, such as status, termination reason, duration, call success, summary, evaluation criteria, and data collection results.5. Add patterns
Agnost AI evaluates the full conversation against your patterns, including user needs and agent behavior. Create definitions on the Patterns page, such as “Asks about order status” or “Agent confirms an order without looking it up.” Agnost AI classifies each conversation automatically about 15 minutes after it ends.Troubleshooting
- Nothing arrives: check that the URL starts with
https://api.agnost.ai, thatorg_idis a valid UUID, and that the Transcript event is on. ElevenLabs auto-disables a webhook after 10 failed deliveries in a row when it has not succeeded in the last 7 days, so check that the webhook is still enabled in ElevenLabs. - Deliveries succeed but no conversation appears: check that OpenTelemetry transcript payloads is off and that the user spoke. Agnost AI acknowledges OpenTelemetry payloads, audio payloads, and conversations where only the agent spoke without storing them.
- Some agents are missing: a per-agent override sends that agent’s webhooks to a different URL. Check the agent’s Post-call webhooks setting.
- Conversations appear under the conversation ID instead of a user: the conversation had no
user_idand was not a phone call. Pass a user ID when you start the conversation to group conversations by user.
Data mapping
data.conversation_idbecomes the Agnost AI conversation ID.data.agent_namebecomes the agent name, falling back todata.agent_id.data.user_idbecomes the user ID. If it is missing, Agnost AI uses the caller’s number (metadata.phone_call.external_number) and then the conversation ID.- Each
transcriptentry with amessagebecomes a user or agent turn. A turn starts at itstime_in_call_secsand ends when the next entry starts. The last turn ends withmetadata.call_duration_secs. metadata.start_time_unix_secsanchors the conversation start time.- Each entry in
transcript[].tool_callsbecomes a tool event, paired with itstool_resultsentry byrequest_id. The tool event carries the parameters (params_as_json), the result (result_value), the latency (tool_latency_secs), and fails when the result hasis_errororis_blockedset, or when there is no result. metadata.cost_fiat(USD) becomes the conversation cost.metadata.costis in ElevenLabs credits and is kept ascost_creditsmetadata.status,metadata.termination_reason,metadata.error,metadata.main_language, the agent version and branch,environment, the phone call direction, provider, and call SID, the batch call ID,analysis.call_successful,analysis.transcript_summary,analysis.call_summary_title,analysis.evaluation_criteria_results, andanalysis.data_collection_resultsbecome conversation metadata.
Delivery behavior
Agnost AI captures thepost_call_transcription webhook and returns 200 with "status": "accepted". Conversations with status failed are captured too, with the error in the conversation metadata.
ElevenLabs counts only a 200 as a successful delivery, so every other delivery that Agnost AI does not store also returns 200, with "status": "ignored". That covers post_call_audio, call_initiation_failure (the call never connected), post_call_transcription_otel, unredacted transcripts, and conversations where the user never spoke.
An invalid org_id, or a payload missing type, data, or data.conversation_id, returns 400. A missing org_id or data that cannot be normalized returns 422. A transcript over 1 MiB (1,048,576 bytes) or more than 500 tool calls returns 413. Downstream ingestion failures return 502, which ElevenLabs retries when retries are on for the webhook.
ElevenLabs can retry a delivery with an identical payload. If the same conversation arrives again, Agnost AI returns 200 with "status": "duplicate" and does not store it twice. Captured conversations are remembered in memory for 24 hours, so a redelivery after the voice service restarts is stored again. A conversation whose capture failed is not remembered, so a retry of it is captured.
ElevenLabs signs each delivery with the ElevenLabs-Signature header. Verifying it requires storing each organization’s ElevenLabs webhook secret, so this integration follows the same organization-routing trust model as the other voice webhook adapters and does not verify the signature. Treat the webhook URL as sensitive until per-organization signature verification is available.
Why not OpenTelemetry
ElevenLabs can also export conversations as OpenTelemetry traces, but it delivers them inside a webhook body rather than pushing them to an OTLP collector, and the spans carry onlyelevenlabs.* attributes. The JSON post-call webhook above carries the same conversation, so it is the supported route.
References
- ElevenLabs post-call webhooks
- ElevenLabs webhooks and retries
- ElevenLabs OpenTelemetry traces
- ElevenLabs Python SDK
Next steps
- Conversations: review complete ElevenLabs conversations.
- Events: inspect each user and agent exchange and tool call.
- Patterns: understand why users contacted the agent.