FlowmageDocs

Update deal

BetaChanges data

Changes a deal in ActiveCampaign, including moving it to another stage.

Settings

SettingWhat it is
ConnectionRequiredThe ActiveCampaign connection the step signs in with.
Deal idRequiredtext
TitleEvery field below is left as it is when you leave it empty.
Descriptiontext
Contact idtext
Account idtext
Value, in centsActiveCampaign stores a deal's value in cents: 456.78 is written as 45678.
CurrencyA three-letter ISO code, sent lowercased.
Pipeline idActiveCampaign calls a pipeline a deal group.
Stage idFilling in only this moves the deal to another stage and changes nothing else.
Owner idtext
Chance of winning, in percenttext
StatusActiveCampaign's own status number: 0 open, 1 won, 2 lost. Its list is on the deal-statuses page in the developer documentation.
Custom fieldsKeys are the deal custom field's id, never its label.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
dealIdtext
titletext
descriptiontext
contactIdtext
accountIdtext
valuetext
currencytext
pipelineIdtext
stageIdtext
ownerIdtext
percenttext
statustext
fieldsobject of text, by default {}

Output

FieldType
dealIdstring
dealobject
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
}