Core Concepts · 3 min read
Campaigns
Running a voice agent against a list of contacts at scale
A campaign is how you run a workflow against many contacts automatically. Instead of triggering calls one by one via the API, you upload a list of phone numbers and Lemu dials them for you — respecting scheduling windows, concurrency limits, and retry rules.
How a campaign works#
- 1
Contacts CSV
- 2
Upload to Lemu
- 3
Create Campaign
- 4
Scheduling & Concurrency
- 5
Outbound Calls
- 6
Run Records
- 7
Progress & Reports
- Upload a contacts CSV — must have a
phone_numbercolumn; any extra columns becomeinitial_contextfor each call - Create the campaign — link it to a workflow, set concurrency, time slots, and retry behaviour
- Start it — Lemu begins dialing contacts up to your concurrency limit
- Monitor progress — track processed, completed, failed, and pending counts in real time
- Pause and resume — stop and restart at any point without losing progress
The contacts CSV#
The CSV drives the campaign. Each row is one contact.
phone_number,customer_name,account_id,plan
+14155550100,Jane Smith,acc_001,premium
+14155550101,Bob Jones,acc_002,basicColumns beyond phone_number are automatically passed as initial_context to each call, making them available as template variables in your agent's prompt — so each call can feel personalised at scale.
People who opted out#
Lemu doesn't call contacts who opted out of calls or of everything, whether the campaign uses a contact list, a Google Sheet or a CSV file (matched by phone number). They're left out when the campaign loads its rows. Someone who opts out while the campaign runs is skipped just before their call, and that row counts as failed.
Scheduling and concurrency#
Concurrency controls how many calls run simultaneously. It's capped by your telephony plan. Set it conservatively to start.
Time slots restrict when Lemu is allowed to dial — useful for respecting business hours or regulations:
{
"timezone": "America/New_York",
"time_slots": [
{ "day": "monday", "start": "09:00", "end": "17:00" },
{ "day": "tuesday", "start": "09:00", "end": "17:00" }
]
}If no time slots are set, Lemu dials continuously once the campaign is started.
Retry behaviour#
Lemu can automatically retry contacts who didn't answer, were busy, or went to voicemail:
{
"retry_config": {
"max_attempts": 3,
"retry_interval_minutes": 60
}
}Circuit breaker#
The circuit breaker automatically pauses a campaign when the call failure rate gets too high — protecting against wasted spend and telephony reputation issues caused by a misconfigured agent or a bad contact list.
When enabled, Lemu monitors the failure rate within a rolling time window. If it exceeds the threshold, the campaign is paused automatically and must be manually resumed after the issue is investigated.
| Setting | Default | Description |
|---|---|---|
| Failure Threshold (%) | 50 | Pause when the failure rate within the window exceeds this percentage |
| Window (seconds) | 120 | Rolling time window over which the failure rate is calculated |
| Min Calls in Window | 5 | Minimum number of calls required before the circuit breaker can trip — prevents false positives on small samples |
A campaign paused by the circuit breaker behaves the same as a manually paused campaign — in-flight calls complete normally, and it can be resumed once the underlying issue is resolved.
Campaign lifecycle#
| Status | Meaning |
|---|---|
draft | Created but not started |
running | Actively dialing |
paused | Stopped; resumes from where it left off |
completed | All contacts processed |
failed | Encountered a fatal error |
You can pause and resume a campaign at any time. In-flight calls complete normally before a pause takes effect.
Results#
Each contact's call creates a run record with the full transcript, recording, and gathered context, the same as a manually triggered call. Open the campaign in the dashboard to see every call and its outcome. To receive results in your own system as calls finish, add a Webhook node to the agent.
Was this page helpful?
Docs