Skip to main content

What is batch calling?

Batch calling lets you automate outbound calls to hundreds or thousands of contacts by uploading a CSV file with phone numbers and custom data. Ideal for lead qualification, customer outreach, appointment reminders, and other high-volume calling campaigns. There are two ways to run batches, and both do the same thing:

From the dashboard

No code. Upload a CSV under Deploy → Batches, then run now or schedule.

From the API

Create, schedule, and track batches programmatically with the Batch API.

CSV file format

Your CSV file must follow these rules:
1

Use E.164 Phone Format

All phone numbers must include the country prefix in E.164 format (e.g., +11231237890).
2

Use contact_number Header

The phone number column must use contact_number as the header.
3

Add Custom Variables

Include any additional variables (name, address, etc.) as separate columns. These are passed to the agent as context.
example_batch_file.csv
In Excel, typing + at the beginning of a cell is interpreted as a formula. Add an apostrophe (') before the plus sign to retain it.
Download an example CSV file
Only the contact_number column is validated for correctness. Other columns (custom variables like first_name, address, etc.) are passed through as-is without any validation. The exception is agent_language on a multilingual agent, described below.
Multilingual agents: add an agent_language column to start each row’s call in a different configured language (for example hi or ta). A blank cell uses the agent’s default language, and a row naming a language the agent doesn’t have is marked error at upload while the rest of the batch runs. See Start a call in a chosen language.

How to run batches from the dashboard?

You can upload batches, schedule them, and configure auto-retry directly from the Bolna platform — no code and no API key needed.
1

Open Deploy → Batches

In the left sidebar, expand Deploy and click Batches. Pick an agent from the selector at the top to list its batches, along with Batch ID, File name, Uploaded contacts, Execution Status, Batch Status, Workflow, Created At and the Run Now, Stop, Download, Delete and Call Log actions. To export the calls of a finished batch as a CSV, see Reports.Click Upload Batch to get started.
Agent Batches list

Agent Batches overview showing batch status, execution details, and available actions

2

Upload Your CSV

Drag and drop your CSV file or click to browse. After uploading, you’ll see how many rows were parsed and how many contacts have valid phone numbers.
Upload Batch dialog

Upload Batch dialog with CSV upload, phone number selection, scheduling, and webhook options

In this dialog you can:
  • Select a phone number to make calls from (Bolna managed or your own)
  • Choose to Run Now or Schedule the batch for a future date and time
  • Enable auto-retry for unconnected calls
  • Set a webhook URL to receive real-time call status updates
  • A/B test versions to split the batch’s calls across versions of the agent (see Test agent versions against each other)
3

Schedule or Run Now

Select Run Now to start calls immediately, or click Schedule to pick a future date and time. Use the quick-select buttons to schedule 15 minutes, 30 minutes, or 2 hours from now. Scheduled times must be less than 30 days ahead of the current time.
Schedule batch options

Scheduling options with Run Now, Schedule, and quick-select time buttons

4

Configure Auto-Retry (Optional)

Enable Auto-retry unconnected calls to automatically re-attempt calls that didn’t connect. You can configure:
  • Retry on: Select which call outcomes trigger a retry (No Answer, Busy, Failed, Error, Retry on voicemail)
  • Maximum retry attempts: Set up to 3 retry attempts per contact
  • Retry intervals: Define increasing delays between attempts (e.g., 30 min, 60 min, 120 min)
  • Prioritize retries: Place retries ahead of pending first attempts
Auto-retry configuration

Auto-retry settings with retry conditions, max attempts, and configurable intervals

Click Confirm to upload. Your batch appears in the batches list with its scheduled time and status.

Webhook notifications

You can provide a Webhook URL in the upload dialog to receive real-time updates as each call in the batch completes. Bolna sends a POST request to your webhook endpoint with the call’s execution data, including the call status, transcript, extracted data, and cost breakdown. This is useful for syncing call results to your CRM, triggering follow-up workflows, or logging outcomes in real time without polling the API.
If you don’t set a webhook, you can still retrieve all results later using the List Batch Executions API.

Test agent versions against each other

Turn on A/B test versions in the upload dialog to split a batch’s calls across versions of the agent. The toggle is disabled until the agent has at least two saved versions. When you turn it on, the batch starts as a 50/50 split between the live version and another version. Under Versions and traffic you can:
  • Pick a version for each variant (A, B, C, D). Each variant needs a different version.
  • Set the traffic share for each variant as a whole-number percentage of at least 1%. The shares must add up to 100%.
  • Click Add variant to test up to four versions, or the X next to a variant to remove it. Shares are split evenly again when you add or remove a variant.
  • Click Split evenly to reset the shares to an even split.
Each contact in the batch is assigned a version when you upload it. Calls outside the batch keep using the live version. The test ends when the batch ends, and Stop ends it early. In the batches list, A/B-tested batches show an A/B label next to the Batch ID. Hover over it to see the split, for example A v2 50% · B v3 50%. Through the API, pass the split as version_split on Create batch. To A/B test outside batches too, see A/B test agent versions.

How to run batches using the API?

1

Create a Batch

Upload your CSV file using the Create Batch API:
2

Schedule the Batch

Use the batch_id to schedule via the Schedule Batch API. The date and time must be in ISO 8601 format with timezone:
3

Check Batch Status

Monitor progress using the Get Batch API:
4

Retrieve Executions

After the batch completes, fetch all execution results using the List Batch Executions API:

Complete example

batch_script.py

Next steps

Concurrency limits

Understand outbound calling concurrency limits

Buy phone numbers

Set up dedicated phone numbers for campaigns

Context variables

Personalize each call with dynamic data

Auto-retry

Automatically retry failed calls