agentleFS
bolna-aibolna-ai/skills/setup-webhook/SKILL.md

setup-webhook

Skill4 starsChanged 34 days agoMITView on GitHub

Configure Bolna webhooks for real-time call status and execution updates, validate webhook URLs, receive payloads, reconcile execution IDs, and build a local receiver. Use for CRM sync, dashboards, post-call automation, Make, Zapier, n8n, or custom backend integrations.

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify the payload shape before triggering irreversible downstream actions.

    line 45
  2. Distinctive:

    If firewalling, check current Bolna docs for webhook source IPs before allow-listing.

    line 46
  3. Very specific:

    If payload is incomplete, call GET /executions/{execution_id}.

    line 62
  4. Distinctive:

    Update lead status from extracted data.

    line 67
  5. Distinctive:

    Create a support ticket after failed handoff.

    line 68
  6. Distinctive:

    Add this to your server's firewall allow-list.

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup Bolna Webhooks

What Bolna sends

Bolna sends HTTP POST requests to the configured webhook URL as call status and execution data changes. Treat the webhook payload as the execution object; use get-executions for the same execution ID to reconcile missed or duplicate delivery.

Where to configure

  • Dashboard: agent Analytics tab, "Push all execution data to webhook".
  • API: set agent_config.webhook_url when creating or patching an agent.

API patch

curl --request PATCH \
  --url "https://api.bolna.ai/v2/agent/$AGENT_ID" \
  --header "Authorization: Bearer $BOLNA_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "agent_config": {
      "webhook_url": "https://example.com/bolna/webhook"
    }
  }'

Receiver requirements

  • Public HTTPS URL in production.
  • Accept POST JSON.
  • Respond quickly with 2xx.
  • Store by execution_id or id idempotently.
  • Verify the payload shape before triggering irreversible downstream actions.
  • If firewalling, check current Bolna docs for webhook source IPs before allow-listing.

Local test receiver

python3 setup-webhook/scripts/webhook_receiver.py --port 8080

Expose with a tunnel such as ngrok or Cloudflare Tunnel, then configure the public HTTPS URL in Bolna.

Minimal payload handling pattern

  1. Parse JSON.
  2. Extract execution ID, status, agent ID, phone numbers, transcript, recording URL, and extracted data.
  3. Upsert into your database by execution ID.
  4. Trigger automation only after relevant terminal statuses, usually completed, failed, no-answer, busy, or error.
  5. If payload is incomplete, call GET /executions/{execution_id}.

Common automations

  • Send summary and recording to CRM.
  • Update lead status from extracted data.
  • Create a support ticket after failed handoff.
  • Send WhatsApp, SMS, or email through Make, Zapier, n8n, or custom code.
  • Build live dashboard cards from queued, ringing, in-progress, and completed.

Source IP to whitelist

Bolna delivers webhooks from a single source IP:

13.203.39.153

Add this to your server's firewall allow-list. Reject anything else if your endpoint is sensitive.

Payload shape

The webhook body is identical to GET /executions/{execution_id}. See https://raw.githubusercontent.com/bolna-ai/skills/main/references/execution-payload.md for the full field list, and https://raw.githubusercontent.com/bolna-ai/skills/main/references/call-statuses.md for the order in which statuses fire.

Idempotency

The same execution can produce multiple webhook deliveries as status transitions (scheduled → queued → in-progress → completed). Dedupe by (execution_id, status) — never by execution_id alone, or you'll discard later updates.

See also

  • https://raw.githubusercontent.com/bolna-ai/skills/main/references/execution-payload.md — every field in the payload.
  • https://raw.githubusercontent.com/bolna-ai/skills/main/references/call-statuses.md — status order, terminal-status filter.
  • get-executions — pull historical data for executions where the webhook failed.
  • debug-bolna-calls — diagnose missed deliveries.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.