Stop automation
BetaChanges data
Stops the most recent run of an ActiveCampaign automation for a contact.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Contact id | Fill in the id or the e-mail address, not both. |
| Contact e-mail address | text |
| Automation idRequired | Only the contact's most recent active run of this automation is stopped. Run the node again for an earlier one. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `activecampaign`) |
contactId | text |
contactEmail | text |
automationId | text |
Output
| Field | Type |
|---|---|
removedStopped by this run | boolean |
alreadyGoneThere was no active run | boolean |
automationId | string |
Sample output, and the expression for each field
- alreadyGonefalse
- automationId"3"
- removedtrue
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"automationId": "<automation id>",
"connection": "<connection id>",
"contactEmail": "",
"contactId": ""
},
"label": "Stop automation",
"type": "activecampaign.removeContactFromAutomation",
"version": 1
}