Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The MessageBird connection the step signs in with. |
| Phone numberRequired | In 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 name | text |
| Last name | text |
| Custom fields | MessageBird keeps four custom fields per contact, named custom1 to custom4. Put the name on the left and the value on the right. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `messagebird`) |
msisdn | textits `{{ }}` must give a string |
firstName | textits `{{ }}` must give a string |
lastName | textits `{{ }}` must give a string |
customFields | object of text, by default {} |
Output
| Field | Type |
|---|---|
contact | object |
contactId | string |
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
}