agentleFS
bolna-aibolna-ai/skills/make-call/SKILL.md

make-call

Skill4 starsChanged 34 days agoMITView on GitHub

Initiate, schedule, personalize, retry, and stop outbound Bolna Voice AI calls. Use when the user wants to test an agent, call a recipient, schedule a callback, pass user_data dynamic variables, override a same-provider voice, or cancel a queued or scheduled call.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Stop one queued or scheduled call: POST https://api.bolna.ai/call/{execution_id}/stop

    line 19
  2. Very specific:

    Always save execution_id; it is the join key for webhooks and execution lookups.

    line 63
  3. Distinctive:

    Avoid timezone-less datetime strings.

    line 76
  4. Very specific:

    If the agent has calling_guardrails.call_start_hour and call_end_hour, Bolna evaluates those against the recipient's local timezone.

    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

Make Bolna Calls

Endpoints

  • Make call: POST https://api.bolna.ai/call
  • Stop one queued or scheduled call: POST https://api.bolna.ai/call/{execution_id}/stop
  • Inspect results: use get-executions with the returned execution_id.

Required fields

  • agent_id: Bolna agent UUID.
  • recipient_phone_number: E.164 recipient phone number, for example +919876543210.

Optional fields

  • from_phone_number: E.164 sender number. Omit when using Bolna default outbound numbers.
  • scheduled_at: ISO 8601 datetime with timezone, for example 2026-05-19T18:30:00+05:30.
  • user_data: dynamic variables referenced in prompts or welcome messages, for example {customer_name}.
  • agent_data.voice_id: override voice within the same configured TTS provider only.
  • bypass_call_guardrails: when true, skip agent calling window checks for this call. Use only for testing, emergencies, or explicitly approved priority calls.
  • retry_config: retry failed calls for no answer, busy, failed, error, or voicemail cases.

Immediate call

curl --request POST \
  --url https://api.bolna.ai/call \
  --header "Authorization: Bearer $BOLNA_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "agent_id": "123e4567-e89b-12d3-a456-426655440000",
    "recipient_phone_number": "+919876543210",
    "user_data": {
      "customer_name": "Amitesh",
      "plan": "Pro"
    }
  }'

Expected response:

{
  "message": "done",
  "status": "queued",
  "execution_id": "123e4567-e89b-12d3-a456-426614174000"
}

Always save execution_id; it is the join key for webhooks and execution lookups.

Scheduled call

{
  "agent_id": "123e4567-e89b-12d3-a456-426655440000",
  "recipient_phone_number": "+919876543210",
  "scheduled_at": "2026-05-19T18:30:00+05:30",
  "bypass_call_guardrails": false
}

Avoid timezone-less datetime strings.

Guardrails

If the agent has calling_guardrails.call_start_hour and call_end_hour, Bolna evaluates those against the recipient's local timezone. Outside the allowed window, the call can be rescheduled instead of placed immediately. Use bypass_call_guardrails: true only when the user explicitly wants to ignore that time window.

Retry config

{
  "retry_config": {
    "enabled": true,
    "max_retries": 2,
    "retry_on_statuses": ["no-answer", "busy", "failed", "error"],
    "retry_on_voicemail": false,
    "retry_intervals_minutes": [30, 60]
  }
}

For high-volume campaigns, remember that retries consume concurrency and can overlap with batches.

Stop a queued or scheduled call

curl --request POST \
  --url "https://api.bolna.ai/call/$EXECUTION_ID/stop" \
  --header "Authorization: Bearer $BOLNA_API_KEY"

This cannot stop a call already in progress.

Script

# One-off call
python3 make-call/scripts/make_call.py \
  --agent-id "$AGENT_ID" \
  --recipient "+919876543210" \
  --user-data '{"customer_name":"Amitesh"}'

# Scheduled call (timezone-aware)
python3 make-call/scripts/schedule_call.py \
  --agent-id "$AGENT_ID" \
  --recipient "+919876543210" \
  --at "2026-05-22T15:30:00+05:30"

# Bulk one-off calls from a CSV (for ad-hoc fan-outs; use `create-batch` for proper campaigns)
python3 make-call/scripts/bulk_make_calls.py \
  --agent-id "$AGENT_ID" \
  --file recipients.csv

See also

  • migrate-call-to-workflow: move an existing /call integration onto a workflow when retries, routing on a variable, or multi-call follow-ups belong in Bolna instead of your code.
  • create-batch — proper CSV-based campaigns with monitoring, retry, and stop endpoints.
  • get-executions — fetch the result of a queued call via the returned execution_id.
  • setup-webhook — receive call updates in real time instead of polling.
  • https://raw.githubusercontent.com/bolna-ai/skills/main/references/call-statuses.md — interpreting status transitions.
  • bolna-graph-agents/scripts/inject_event.py — for graph agents, push real-time events into a live call.

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.