Skip to main content
Agnost AI accepts Bolna’s execution webhook and turns each finished call into a conversation with an event for every caller and agent exchange. Bolna already provides the transcript, so Agnost AI does not run speech-to-text again. No SDK or code change is needed. 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

agent_name is optional and must be URL-encoded, for example Collections%20Agent. Bolna’s payload carries the agent ID but not its name, so without agent_name the Bolna agent ID becomes the agent name in Agnost AI.

3. Connect the agent’s webhook to Agnost AI

In the Bolna dashboard, open the agent and select the Extractions tab. In the Webhook Configuration card:
  1. Paste the URL into Webhook URL.
  2. Leave Trigger on statuses on All statuses, or include at least completed, error, and stopped. Agnost AI captures each call from its final status.
  3. Select Save agent.
Or set it through the API:
Bolna webhooks are set per agent. Repeat these steps for each agent you want to monitor, with its own agent_name. If the agent’s webhook already points at your own server, Bolna can send to only one URL. Keep your server as the webhook and forward each delivery’s JSON body to the Agnost AI URL unchanged.

4. Send a test event

Select Send test in the Webhook Configuration card. Bolna posts a sample completed call, and a working connection returns 204. Agnost AI acknowledges the sample without creating a conversation, so place a real call to see data.

5. Place a call and find it in Agnost AI

Place or receive a call with the agent. Bolna sends the finished call after its post-call processing finishes, so the conversation appears shortly after hang-up. In app.agnost.ai, open Users. Each call is a session for the caller’s number, with the full transcript in the conversation panel. The conversation’s Metadata tab shows Bolna’s call details, such as the termination reason, direction, telephony provider, duration, summary, and extractions.

6. Add intents and rules

Agnost AI tags caller messages with your intents and checks agent turns against your rules. Create them on the Intents and Violations pages, for example a “Request payment link” intent or a rule that the agent must confirm the amount before sending a link. Agnost AI classifies each call automatically about 15 minutes after it ends.

Troubleshooting

  • The test event fails: check that the URL starts with https://api.agnost.ai and that org_id is a valid UUID.
  • The test passes but calls do not appear: check that org_id matches the organization selected in Agnost AI, that Trigger on statuses includes completed, and that the caller spoke during the call. Calls where only the agent spoke are not captured.
  • Calls appear under the execution ID instead of a phone number: PII masking is on in your Bolna account, so Bolna sends phone numbers as null.

Data mapping

  • The execution id becomes the Agnost AI conversation ID.
  • user_number becomes the user ID. If it is missing, Agnost AI uses telephony_data.from_number on inbound calls and to_number on outbound calls, then the execution ID.
  • transcript lines that start with assistant: or user: become agent and caller turns. A line without a speaker prefix continues the previous turn.
  • initiated_at anchors the conversation start time, falling back to created_at and then created_at_str.
  • total_cost is converted from cents to USD and becomes the conversation cost.
  • termination_reason, smart_status, summary, extracted_data, node_extracted_data, cost_breakdown, time_to_first_audio, interruption_stats, call direction, telephony provider, hangup details, agent and version IDs, batch and campaign IDs, and duration become conversation metadata.
  • A telephony_data.recording_url with an http or https scheme becomes the conversation recording.
Bolna does not send per-turn timestamps. Agnost AI spreads the turns across conversation_duration in proportion to their length and marks the conversation with transcript_timing: estimated, so per-exchange durations for Bolna calls are approximate. Bolna always sends tool_call_logs as an empty array, so Bolna conversations have no tool events.

Delivery behavior

Bolna posts the execution every time the call’s status changes, so one call produces several deliveries with the same id. Each call ends in one final status: completed, error, stopped, failed, no-answer, busy, canceled, or balance-low. Agnost AI captures the call from that final delivery, after Bolna has filled in the transcript, cost, summary, and extractions, and returns 200. Calls that fail mid-conversation are captured too. When the agent’s LLM fails, Bolna reports the call as completed with termination_reason: agent_llm_error, and Agnost AI keeps that reason in the conversation metadata so you can filter on it. Agnost AI returns 204 for statuses before the final one (including call-disconnected, which arrives before cost and summary are ready), for Bolna’s Send test sample, for pre-call tool webhooks (which reuse the payload with an in-progress status), and for calls where the caller never spoke, such as unanswered outbound dials, voicemail, and silence timeouts. Invalid payloads return 400, and downstream ingestion failures return 502. If Bolna delivers the same call’s final status again, Agnost AI returns 200 with "status": "duplicate" and does not store it twice. Bolna does not sign its webhooks. The Agnost AI endpoint routes deliveries by org_id, the same trust model as the other voice webhook adapters, so treat the webhook URL as sensitive.

Next steps

  • Conversations: review complete Bolna calls.
  • Events: inspect each caller and agent exchange.
  • Intents: understand why callers contacted the agent.