Skip to content

Move Contact Past Marketing Campaign Wait

Tool name: move-contact-past-automation-wait

Moves a contact past a skippable automation wait early. A scheduled action runs now or a timed condition is treated as met; following emails, SMS and tags may reach the contact early, without undo. Without confirm it previews, listing in immediateActions what the contact gets at once up to stopsAt; confirm only after the user agreed to this contact and automation. Requires administrator permission.

Input schema

contactIdinteger, >= 1required

Numeric contact ID returned by search-contacts

automationIdinteger, >= 1required

Automation the contact waits in, from get-contact-automation-status

referenceIdinteger, >= 0

Reference of that position, from get-contact-automation-status; 0 for the contact-wide reference

Default:0
confirmboolean

false returns what would happen without writing; true ends the wait

Default:false
accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "contactId": 1, "automationId": 1, "referenceId": 0, "confirm": false, "accountId": null }

Output schema

accountIdintegerrequired
contactIdintegerrequired
performedbooleanrequired
skipEffectstringrequired
Enum:"time-condition""scheduled-wait"
nextActionIdintegerrequired
immediateActionsArray of objectsrequired
stopsAtobject or nullrequired
One of:
positionobjectrequired
historyUrlstringrequired
Output example
{ "accountId": 0, "contactId": 0, "performed": true, "skipEffect": "time-condition", "nextActionId": 0, "immediateActions": [ { "actionId": 0, "type": "string", "name": "string", "entityIds": [ 0 ] } ], "stopsAt": { "actionId": 0, "type": "string", "name": "string", "entityIds": [ 0 ] }, "position": { "automationId": 0, "automationName": "string", "referenceId": 0, "actionId": 0, "actionType": "string", "actionName": "string", "state": "scheduled", "dueAt": "string", "skippable": true, "skipEffect": "", "editUrl": "string" }, "historyUrl": "string" }