Skip to main content
Agnost AI accepts the ElevenLabs Agents post-call webhook and turns each finished conversation into a conversation in Agnost AI, with an event for every user and agent exchange and a nested event for every tool call. ElevenLabs already provides the transcript, so Agnost AI does not run speech-to-text again. No SDK or code change is needed in your agent. Setup takes about five minutes.

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

The payload carries each agent’s name, so one URL works for every agent in the workspace.

3. Create the webhook in ElevenLabs

In the ElevenLabs dashboard, open the ElevenAgents settings page:
  1. Create a webhook with the URL from step 2. ElevenLabs webhooks use HMAC authentication.
  2. Select it as the post-call webhook.
  3. Turn on the Transcript event.
  4. Leave OpenTelemetry transcript payloads off. Agnost AI reads the JSON transcript.
  5. Turn off Send audio data. Agnost AI does not use the audio webhook, and each audio delivery carries the full call as base64 MP3.
The workspace post-call webhook applies to every agent. If it already points at your own server, keep it there and attach the Agnost AI webhook to individual agents instead: open the agent’s Settings, and in Post-call webhooks select the Agnost AI webhook as the override for that agent. Or set it up with the ElevenLabs Python SDK:
To send every agent’s conversations instead, set it as the workspace post-call webhook. This replaces the workspace’s current post-call webhook:

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, that org_id is 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_id and was not a phone call. Pass a user ID when you start the conversation to group conversations by user.

Data mapping

  • data.conversation_id becomes the Agnost AI conversation ID.
  • data.agent_name becomes the agent name, falling back to data.agent_id.
  • data.user_id becomes 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 transcript entry with a message becomes a user or agent turn. A turn starts at its time_in_call_secs and ends when the next entry starts. The last turn ends with metadata.call_duration_secs.
  • metadata.start_time_unix_secs anchors the conversation start time.
  • Each entry in transcript[].tool_calls becomes a tool event, paired with its tool_results entry by request_id. The tool event carries the parameters (params_as_json), the result (result_value), the latency (tool_latency_secs), and fails when the result has is_error or is_blocked set, or when there is no result.
  • metadata.cost_fiat (USD) becomes the conversation cost. metadata.cost is in ElevenLabs credits and is kept as cost_credits metadata.
  • 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, and analysis.data_collection_results become conversation metadata.

Delivery behavior

Agnost AI captures the post_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 only elevenlabs.* attributes. The JSON post-call webhook above carries the same conversation, so it is the supported route.

References

Next steps

  • Conversations: review complete ElevenLabs conversations.
  • Events: inspect each user and agent exchange and tool call.
  • Patterns: understand why users contacted the agent.