Building Your First Campaign
This guide walks you through creating a complete calling campaign from scratch. By the end, you'll have a working campaign that calls contacts and plays a message.
What you'll build
A payment reminder campaign that:
Calls customers with outstanding balances
Plays a personalized message with their balance
Collects a response (press 1 to confirm, press 2 for callback)
Retries failed calls once after 30 minutes
Prerequisites
Gomobile account with API access
Access token (see Authentication)
At least one DID allocated to your account
Audio files for your messages (or use text descriptions for now)
Step 1: Create your contacts
First, add the people you'll be calling:
Save the contact ID from the response. Repeat for additional contacts.
For bulk import, use the upsert endpoint:
Step 2: Create an audience
Group your contacts into a targetable audience:
Save the audience ID.
Step 3: Add contacts to the audience
Link your contacts to the audience:
Step 4: Upload audio files
Upload the audio files you'll use in the flow:
Save all the audio IDs.
Step 5: Create the call flow
Now build the flow that defines what happens during each call:
Save the flow ID.
Step 6: Create the program
Configure the campaign with all the pieces:
Save the program ID.
Step 7: Launch the campaign
Start the execution:
Response:
Step 8: Monitor progress
Check how the campaign is doing:
Watch the counters:
Verification
Your campaign is working when:
Status shows
runningorcompletedcontactsCompletedincreases over timeYou can answer a test call and hear your audio
Troubleshooting
No calls going out?
Check that
startAtis in the past or currentVerify you're not in a pause window
Confirm DIDs are valid
Calls fail immediately?
Check phone number formats
Verify DID is allocated to your account
Audio doesn't play?
Confirm audio IDs are correct
Check audio was processed successfully
What's next
Designing Call Flows - Build more complex flows
Retry Strategies - Optimize your retry configuration
Call Flows - Complete node reference
Last updated

