Update deal
BetaChanges data
Changes a deal in ActiveCampaign, including moving it to another stage.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Deal idRequired | text |
| Title | Every field below is left as it is when you leave it empty. |
| Description | text |
| Contact id | text |
| 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, sent lowercased. |
| Pipeline id | ActiveCampaign calls a pipeline a deal group. |
| Stage id | Filling in only this moves the deal to another stage and changes nothing else. |
| Owner id | text |
| Chance of winning, in percent | text |
| 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`) |
dealId | text |
title | text |
description | text |
contactId | text |
accountId | text |
value | text |
currency | text |
pipelineId | text |
stageId | text |
ownerId | text |
percent | text |
status | text |
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": "",
"dealId": "<deal id>",
"description": "",
"fields": {},
"ownerId": "",
"percent": "",
"pipelineId": "",
"stageId": "",
"status": "",
"title": "",
"value": ""
},
"label": "Update deal",
"type": "activecampaign.updateDeal",
"version": 1
}