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:- Paste the URL into Webhook URL.
- Leave Trigger on statuses on All statuses, or include at least
completed,error, andstopped. Agnost AI captures each call from its final status. - Select Save agent.
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 samplecompleted 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.aiand thatorg_idis a valid UUID. - The test passes but calls do not appear: check that
org_idmatches the organization selected in Agnost AI, that Trigger on statuses includescompleted, 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
idbecomes the Agnost AI conversation ID. user_numberbecomes the user ID. If it is missing, Agnost AI usestelephony_data.from_numberon inbound calls andto_numberon outbound calls, then the execution ID.transcriptlines that start withassistant:oruser:become agent and caller turns. A line without a speaker prefix continues the previous turn.initiated_atanchors the conversation start time, falling back tocreated_atand thencreated_at_str.total_costis 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_urlwith anhttporhttpsscheme becomes the conversation recording.
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 sameid. 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.