ActiveCampaign
Add ActiveCampaign Tag to Contact
Applies a tag to a contact in ActiveCampaign by email address.
Unverified
What the model is told
Apply a tag to an ActiveCampaign contact, matched on email address. Use only a tag name you have been told to use, and confirm with the customer before tagging them. The tag is created if it does not exist, and existing tags are kept. If no contact has the email, a new contact is created.
Request
POSThttps://YOUR_ACTIVECAMPAIGN_ACCOUNT.api-us1.com/api/3/contact/sync
Headers
Api-TokenYOUR_ACTIVECAMPAIGN_API_KEYContent-Typeapplication/json
Body
{
"contact": {
"email": "{{email}}",
"tags": [
"{{tag}}"
]
}
}Parameters
email stringThe customer's email address.tag stringThe name of the tag to apply.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "605ce720-261a-4289-b7bd-9170a3442a7a",
"type": "HTTP_REQUEST",
"label": "Add ActiveCampaign Tag to Contact",
"name": "add_activecampaign_tag_to_contact",
"customName": false,
"description": "Apply a tag to an ActiveCampaign contact, matched on email address. Use only a tag name you have been told to use, and confirm with the customer before tagging them. The tag is created if it does not exist, and existing tags are kept. If no contact has the email, a new contact is created.",
"parameters": [
{
"name": "email",
"type": "string",
"description": "The customer's email address."
},
{
"name": "tag",
"type": "string",
"description": "The name of the tag to apply."
}
],
"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 \"tags\": [\n \"{{tag}}\"\n ]\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.