Set custom field
BetaChanges data
Writes one custom field value on an ActiveCampaign contact.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Contact idRequired | text |
| Field idRequired | The id from the List custom fields node — ActiveCampaign does not accept a field's label here. |
| Value | A multi-select field takes ActiveCampaign's own ||first||second|| form; this node passes the text through exactly as written. |
| Fill the contact's other required fields with their defaults | ActiveCampaign's own option, for a contact that is missing required values. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `activecampaign`) |
contactId | text |
fieldId | text |
value | text |
useDefaults | true/false, by default false |
Output
| Field | Type |
|---|---|
fieldValue | object |
fieldValueId | string |
Sample output, and the expression for each field
- fieldValue
- id"11"
- fieldValueId"11"
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": {
"connection": "<connection id>",
"contactId": "<contact id>",
"fieldId": "<field id>",
"useDefaults": false,
"value": ""
},
"label": "Set custom field",
"type": "activecampaign.setContactFieldValue",
"version": 1
}