Sequences

Save a campaign's sequence

Saves the steps as the campaign’s next sequence version and returns it, with warnings for template problems that did not stop the save. Leads already in the sequence carry on from the step with the same id, so keep the ids of steps you keep. Invite notes and the first message template on each path may not contain a link or {@booking_link}. Bavlio gives every A/B test its id and letters its paths a, b, c and d in order: leave the id out of a new test, and send a test’s id as you read it to keep that test.

PUT
/campaigns/{id}/sequence

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Campaign id.

Body

application/json
stepsobject[]required

The steps, in the order they run.

Response

application/json

Success

campaign_idstringrequired
versionintegerrequired

Version number; each save adds one.

stepsobject[]required

The steps, in the order they run.

statsobjectrequired

Per step id: leads that reached the step (reached) and those who accepted, replied or booked a meeting at it (converted).

warningsobject[]required

Template problems that did not stop the save, such as a custom field no upload to the campaign has; empty when there are none.

ab_testsobject[]required

Every A/B test in the steps, then the finished ones the steps no longer hold.

ab_test_numbersobjectrequired

The rates and pace A/B test plans are made from.

created_atstringrequired

When the version was saved (ISO 8601).