FlowmageDocs

Create contact

BetaChanges data

Adds a person to the MessageBird contact list.

Settings

SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Phone numberRequiredIn international format. MessageBird stores it as digits, so +31 6 1234 5678 is sent as 31612345678 — spaces and the plus are removed for you.
First nametext
Last nametext
Custom fieldsMessageBird keeps four custom fields per contact, named custom1 to custom4. Put the name on the left and the value on the right.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
msisdntextits `{{ }}` must give a string
firstNametextits `{{ }}` must give a string
lastNametextits `{{ }}` must give a string
customFieldsobject of text, by default {}

Output

FieldType
contactobject
contactIdstring
Sample output, and the expression for each field
  • contact
    • id"ct-1"
    • msisdn31612345678
  • contactId"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>",
    "customFields": {},
    "firstName": "",
    "lastName": "",
    "msisdn": "<phone number>"
  },
  "label": "Create contact",
  "type": "messagebird.createContact",
  "version": 1
}