campaignName to the Campaigns API.
How it works
1
Create your campaign
Go to inbox.connectly.ai and click Create new Campaign. Follow the steps in the wizard and send the campaign to yourself to verify it works.
2
Build your flow in the Flow Builder
Go to inbox.connectly.ai and click Create new Campaign. Design your message sequence — add steps, buttons, and branching logic — then send a test to your own WhatsApp number to verify it works end-to-end.
3
Open the Flow Builder
After a successful test send, navigate back to the Flow Builder section of the inbox.
4
Copy the campaign name
Select Resend or Edit next to your campaign. The name displayed is your
campaignName — copy it exactly as shown.5
Find your campaign name
Once your test send succeeds, go back to the Flow Builder, select Resend or Edit next to your campaign, and copy the name exactly as shown. This is the
campaignName you’ll pass in every API request.6
Use it in the API
Pass the
campaignName in your API request entries. See the example below.7
Publish the campaign
Finalize and publish the campaign from the Connectly UI. The API will reject sendouts for unpublished campaigns with a
409 error.8
Trigger the sendout via API
Call
POST /v1/businesses/{businessId}/send/campaigns with your recipient list. Connectly groups entries by campaign name and version and returns a per-sendout status report.Your Account Manager can help you set up a campaign flow and share the
campaignName to use in API requests.Two ways to send
Adding time delays
The Flow Builder includes a Time Delay card you can drop between any two message steps. After the initial message is sent, Connectly waits for the configured duration before delivering the follow-up. Maximum delay: 20 hours.
To add a delay, drag the Time delay card from the sidebar onto your canvas, position it between the two message cards, and connect the nodes. Set the duration and condition in the card settings, then publish as normal.
Testing variants with an A/B Split
The A/B Split card sends each customer down one of several variants, so you can compare two or more versions of a campaign. The split must be the first step of the campaign. It can go in one of two places:
Anywhere else, the campaign won’t save.
To set it up:
- Drag the A/B Split card onto the canvas and connect it in one of the places above.
- Open the card. Optionally give the experiment a name, which is shown in analytics.
- Add a variant for each version, at least two. Give each a Weight, the share of customers it gets. The weights must add up to 100%. Select Split evenly to share them equally.
- Connect every variant to the steps it should run. A variant left unconnected stops the campaign from saving.
- A campaign with an A/B Split sends on WhatsApp only, not RCS.
- One send can go to at most 100,000 recipients. Test on a smaller audience, then send the winning variant to everyone as a campaign without the split.
- Sending through the API? Every entry must include the variables of every variant. See Campaigns with an A/B Split.
- Don’t see the A/B Split card? Ask your Account Manager to turn on A/B experiments for your business.
Minimal API example
The smallest valid request — one recipient, one campaign, no variables:Next steps
Send Campaigns API
Full endpoint reference — entries, variables, versioning, options, and error responses.
Webhooks
Track delivery status and button clicks for each message in your campaign flow.
