FlowmageDocs

Update contact

BetaChanges data

Changes the name, number or custom fields of one contact.

Settings

SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Contact idRequiredThe contact to change. The List contacts node gives you the ids.
Phone numberLeave a field empty to keep what MessageBird already has.
First nametext
Last nametext
Custom fieldscustom1 to custom4. Only the rows you fill in are changed.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
contactIdtextits `{{ }}` must give a string
msisdntextits `{{ }}` must give a string
firstNametextits `{{ }}` must give a string
lastNametextits `{{ }}` must give a string
customFieldsobject of text, by default {}

Output

FieldType
contactContact as it now standsobject
Sample output, and the expression for each field
  • contact
    • firstName"Grace"
    • id"ct-1"

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>",
    "customFields": {},
    "firstName": "",
    "lastName": "",
    "msisdn": ""
  },
  "label": "Update contact",
  "type": "messagebird.updateContact",
  "version": 1
}