ActiveCampaign
Create or Update ActiveCampaign Contact
Adds a contact to ActiveCampaign, or updates them if the email already exists.
Unverified
What the model is told
Create or update a contact in ActiveCampaign, matched on email address. Confirm the name, email address and phone number with the customer first. If the email already exists, only the details you send are changed. Returns the contact including its ID.
Request
POSThttps://YOUR_ACTIVECAMPAIGN_ACCOUNT.api-us1.com/api/3/contact/sync
Headers
Api-TokenYOUR_ACTIVECAMPAIGN_API_KEYContent-Typeapplication/json
Body
{
"contact": {
"email": "{{email}}",
"firstName": "{{firstName}}",
"lastName": "{{lastName}}",
"phone": "{{phone}}"
}
}Parameters
email stringThe customer's email address.firstName stringThe customer's first name.lastName stringThe customer's last name.phone stringThe customer's phone number in international format.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "ed7efb5a-7c03-401d-b476-046d4256292f",
"type": "HTTP_REQUEST",
"label": "Create or Update ActiveCampaign Contact",
"name": "create_or_update_activecampaign_contact",
"customName": false,
"description": "Create or update a contact in ActiveCampaign, matched on email address. Confirm the name, email address and phone number with the customer first. If the email already exists, only the details you send are changed. Returns the contact including its ID.",
"parameters": [
{
"name": "email",
"type": "string",
"description": "The customer's email address."
},
{
"name": "firstName",
"type": "string",
"description": "The customer's first name."
},
{
"name": "lastName",
"type": "string",
"description": "The customer's last name."
},
{
"name": "phone",
"type": "string",
"description": "The customer's phone number in international format."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://YOUR_ACTIVECAMPAIGN_ACCOUNT.api-us1.com/api/3/contact/sync"
},
"headers": [
{
"name": "Api-Token",
"value": "YOUR_ACTIVECAMPAIGN_API_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"contact\": {\n \"email\": \"{{email}}\",\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\",\n \"phone\": \"{{phone}}\"\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.