FlowmageDocs

Create or update contact

BetaChanges data

Creates an ActiveCampaign contact, or updates the one with this e-mail address.

Settings

SettingWhat it is
ConnectionRequiredThe ActiveCampaign connection the step signs in with.
E-mail addressRequiredThe address ActiveCampaign looks the contact up by, and creates it under.
First nametext
Last nametext
Phonetext
Custom fieldsKeys are the field id from the List custom fields node — ActiveCampaign does not accept a field's label here.
TagsComma-separated tag names. Names that do not exist yet are created. A tag name may not contain a comma.
List idSubscribes the contact to this list in the same call.
Welcome autoresponderActiveCampaign rejects a call that asks for both, so only the choice you make here is sent.
Account nameLinks the contact to this CRM account. Account names are unique in ActiveCampaign.
Create the account when it does not existtrue/false
Opt-in IP addressThe address the person opted in from. ActiveCampaign accepts IPv4 only.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
emailtextits `{{ }}` must give a string
firstNametext
lastNametext
phonetext
fieldValuesobject of text, by default {}
tagstext
listIdtext
listAutoresponder"default" or "send" or "suppress", by default "default"used when `listId` is not ""
accountNametext
createAccountIfMissingtrue/false, by default falseused when `accountName` is not ""
optInIptext

Output

FieldType
contactIdstring
contactobject
fieldValuesCustom field valuesarray
Sample output, and the expression for each field
  • contact{}
  • contactId"7"
  • fieldValues[]

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": {
    "accountName": "",
    "connection": "<connection id>",
    "createAccountIfMissing": false,
    "email": "<e-mail address>",
    "fieldValues": {},
    "firstName": "",
    "lastName": "",
    "listAutoresponder": "default",
    "listId": "",
    "optInIp": "",
    "phone": "",
    "tags": ""
  },
  "label": "Create or update contact",
  "type": "activecampaign.upsertContact",
  "version": 1
}