Attach Automation Templates to Campaign

Attaches automation templates to an existing SMS campaign, including one that has already been sent.

Templates are added to the ones already on the campaign; nothing is replaced or removed. Templates of type "as-is" are linked to the campaign, and templates of type "duplicate" have their triggers, actions, and keywords copied onto it.

The request is safe to retry: a template that is already on the campaign is skipped, so its automations never run twice for the same reply.

Automations only run for replies received after they are attached. Contacts who replied earlier are not processed again. When possible, pass automation_templates when sending the campaign instead.

The campaign must have finished preprocessing and be in a draft, scheduled, queued, in_progress, paused or complete status. Every template must belong to the organization and must not be archived; otherwise nothing is attached.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Campaign ID

Body Params

Attach Automation Templates Params

Request schema for attaching automation templates to an existing SMS campaign.

automation_templates
array of uuids
required
length between 1 and 50

List of IDs of automation templates to add to the campaign.
Templates of type "duplicate" will have their triggers, actions, and keywords duplicated for the campaign.
Templates of type "as-is" would be associated with the campaign and their triggers, actions, and keywords will be reused.

automation_templates*

Automation Template ID

Responses

Callback
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json