Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| TitleRequired | text |
| Description | text |
| Contact id | A deal needs a contact or an account. Fill in at least one of the two. |
| Account id | text |
| Value, in cents | ActiveCampaign stores a deal's value in cents: 456.78 is written as 45678. |
| Currency | A three-letter ISO code. The node sends it lowercased, as ActiveCampaign wants. |
| Pipeline id | ActiveCampaign calls a pipeline a deal group. Fill in a pipeline or a stage — the List pipelines node answers both ids. |
| Stage id | text |
| Owner id | The ActiveCampaign user the deal belongs to, unless the pipeline assigns one. |
| Chance of winning, in percent | number |
| Status | ActiveCampaign's own status number: 0 open, 1 won, 2 lost. Its list is on the deal-statuses page in the developer documentation. |
| Custom fields | Keys are the deal custom field's id, never its label. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `activecampaign`) |
title | text |
description | text |
contactId | text |
accountId | text |
value | number, by default 0 |
currency | text, by default "eur" |
pipelineId | texta value from the vendor's own list |
stageId | text |
ownerId | text |
percent | number, by default 0 |
status | number, by default 0 |
fields | object of text, by default {} |
Output
| Field | Type |
|---|---|
dealId | string |
deal | object |
Sample output, and the expression for each field
- deal
- id"21"
- dealId"21"
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": {
"accountId": "",
"connection": "<connection id>",
"contactId": "",
"currency": "eur",
"description": "",
"fields": {},
"ownerId": "",
"percent": 0,
"pipelineId": "",
"stageId": "",
"status": 0,
"title": "<title>",
"value": 0
},
"label": "Create deal",
"type": "activecampaign.createDeal",
"version": 1
}