Create Deal
activecampaign.create_deal
ActionCRM & salesconnection required
Calls the ActiveCampaign API with the connection's credentials.
Create a deal with POST /deals. Value is an integer in cents, currency is a three-letter code, and the deal needs either a contact or an account to belong to.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- ActiveCampaign
- Secret shape
- the API key, or {"api_token": "…"}
- Config it needs
- account, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
13 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
title The deal's title. | string | Yes | — | — | — |
value Deal value in cents — 45600 means 456.00 in the deal's currency. | number | Yes | — | ≥ 0 | — |
currency Three-letter ISO currency code, for example usd. | string | Yes | — | — | — |
owner Id of the user who owns the deal. | string | No | — | — | — |
contact Id or email address of the deal's primary contact; an unknown email creates the contact. | string | No | — | — | 51 |
account Id of the account the deal belongs to. | string | No | — | — | 45 |
group Id of the pipeline the deal belongs to; required when no stage is given. | string | No | — | — | 1 |
stage Id of the pipeline stage the deal starts in; required when no pipeline is given. | string | No | — | — | 1 |
description Notes about the deal. | string | No | — | — | — |
percent Manual win probability, 0 to 100. | number | No | — | 0–100 | — |
status Deal status: 0 open, 1 won, 2 lost. | number | No | 0 | 0–2 | — |
fields Custom deal-field values, as a JSON array of {"customFieldId": 1, "fieldValue": "…"} objects. | array | No | — | array of object | — |
extra Further keys to merge into the deal object sent to ActiveCampaign, as a JSON object. | object | No | — | — | — |
- At least one of contact, account must be set.
- At least one of group, stage must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"account": "45",
"contact": "51",
"group": "1",
"stage": "1",
"status": 0
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The deal's ActiveCampaign id. | string | — |
title The deal title. | string | — |
value The deal value in cents, as a string. | string | — |
currency The deal's three-letter currency code. | string | — |
stage Id of the pipeline stage the deal sits in. | string | — |
status Deal status: 0 open, 1 won, 2 lost. | string | — |
contact Id of the deal's primary contact. | string | — |
{
"contact": "",
"currency": "",
"id": "",
"stage": "",
"status": "",
"title": "",
"value": ""
}Related ActiveCampaign nodes
See Create Deal run in a workflow.
In a technical demo we add the ActiveCampaign connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.