Hi,
here is a short HOW-TO on how to create a contact using Integromat. Due to an error in the module Create a client, you can create a client with all its details but contact details. The parameters for the contact(s) is simply missing in the module.
- Choose another module called Make an API Call
-
Choose /v1/clients/[CLIENT-ID] as the URL. Make sure to swap [CLIENT-ID] with the pill from the Module “Create a client”. The “Create a client” Module has the Client ID in the response. Use this reponse to get the Client ID which is needed to create the contatc(s).
-
Choose PUT as Method.
-
Enter the body.
Example body for only 1 contact
{
"contacts": [
{
"first_name": "PUT FIRST NAME HERE",
"last_name": "PUT LAST NAME HERE",
"email": "PUT EMAIL HERE",
"is_primary": true,
"phone": "PUT PHONE HERE",
"custom_value1": "PUT CUSTOM V. HERE",
"custom_value2": "PUT CUSTOM V. HERE",
"custom_value3": "PUT CUSTOM V. HERE",
"custom_value4": "PUT CUSTOM V. HERE"
}
]
}
Example body for multiple contacts
{
"contacts": [
{
"first_name": "PUT FIRST NAME HERE",
"last_name": "PUT LAST NAME HERE",
"email": "PUT EMAIL HERE",
"is_primary": true,
"phone": "PUT PHONE HERE",
"custom_value1": "PUT CUSTOM V. HERE",
"custom_value2": "PUT CUSTOM V. HERE",
"custom_value3": "PUT CUSTOM V. HERE",
"custom_value4": "PUT CUSTOM V. HERE"
},
{
"first_name": "PUT FIRST NAME HERE",
"last_name": "PUT LAST NAME HERE",
"email": "PUT EMAIL HERE",
"is_primary": false,
"phone": "PUT PHONE HERE",
"custom_value1": "PUT CUSTOM V. HERE",
"custom_value2": "PUT CUSTOM V. HERE",
"custom_value3": "PUT CUSTOM V. HERE",
"custom_value4": "PUT CUSTOM V. HERE"
},
{
"first_name": "PUT FIRST NAME HERE",
"last_name": "PUT LAST NAME HERE",
"email": "PUT EMAIL HERE",
"is_primary": false,
"phone": "PUT PHONE HERE",
"custom_value1": "PUT CUSTOM V. HERE",
"custom_value2": "PUT CUSTOM V. HERE",
"custom_value3": "PUT CUSTOM V. HERE",
"custom_value4": "PUT CUSTOM V. HERE"
},
{
"first_name": "PUT FIRST NAME HERE",
"last_name": "PUT LAST NAME HERE",
...
}
]
}
(click for details)
Greetings from Berlin,
Gijs