Skip to content

ActiveCampaign Contacts

ActiveCampaign Contacts connects your flow to your ActiveCampaign account to work with contacts: add them, find them by ID or by email, change their details, delete them, add or remove a tag, and subscribe them to a list or remove them from it. It can also look up the users of your ActiveCampaign account, that is, the people on your team who can own a deal.

It is useful when contacts come from somewhere else, such as a web form, a store or a chat, and you want them to land in ActiveCampaign with their tags and lists without doing it by hand.

When to use it

  • Someone fills in the form on your website and you want to create the contact in ActiveCampaign and subscribe them to your newsletter list.
  • A customer buys a product and you want to give them the customer tag so they enter your ActiveCampaign automations.
  • An AI agent helps a customer in a chat and needs to find their record by email before answering.
  • A customer asks to unsubscribe and you want to remove them from a specific list without deleting the contact.
  • You want to know which users of your team exist in ActiveCampaign so you can assign deals to them later.

Configuration

You need an ActiveCampaign credential with the API URL and the API key of your account. You find them in ActiveCampaign under Settings > Developer. See Credentials.

FieldWhat it does
Credential (required)The ActiveCampaign credential used to access your account.
Operation (required)What the component does. See Operations. Default: Create Contact.
Search ByOnly in Get Contact. ID finds the contact by its ID and Email by its email. Default: ID.
Get ByOnly in Get Users. By ID fetches one user and All fetches the list of users. Default: All.
EmailThe contact’s email. Required in Create Contact and in Get Contact with Email. In Update Contact, only if you want to change it.
First NameThe contact’s first name. In Create Contact and Update Contact.
Last NameThe contact’s last name. In Create Contact and Update Contact.
PhoneThe contact’s phone number. In Create Contact and Update Contact.
Contact IDThe contact’s ID in ActiveCampaign. Required in every operation except Create Contact, Get Users and Get Contact with Email.
Tag IDThe tag’s ID. Required in Add Tag and Remove Tag.
List IDThe list’s ID. Required in Add to List and Remove from List.
User IDThe user’s ID. Required in Get Users with By ID.
LimitOnly in Get Users with All. The maximum number of users to fetch. Default: 10.

Operations

OperationWhat it does
Create ContactCreates a new contact with its email and the details you fill in.
Update ContactChanges the details of an existing contact. Only the fields you fill in are changed; at least one must have a value.
Get ContactFetches a contact’s record, finding it by ID or by email.
Delete ContactDeletes a contact.
Add TagAdds a tag to a contact.
Remove TagRemoves a tag from a contact. If the contact did not have it, the component returns an error.
Add to ListSubscribes a contact to a list.
Remove from ListUnsubscribes a contact from a list. If they were not subscribed, the component returns an error.
Get UsersFetches one user of your ActiveCampaign account or the list of users.

Advanced options

FieldWhat it does
Custom FieldsValues for the contact’s custom fields, as pairs of field ID and value. Applied when you create the contact with Create Contact.

Output

The Contact Data output returns the contact you worked with: its ID, email, name and the other details ActiveCampaign stores. In Delete Contact, Add Tag, Remove Tag, Add to List and Remove from List it returns a confirmation with the IDs used. In Get Users you get one item per user found.

You can connect the result to another ActiveCampaign component, for example to create a deal with the contact’s ID, or to an agent so it can use it in its answer. The component can also be connected to an Agent as a tool, so the agent decides when to create or look up contacts. See Tool Mode.

Example

A training school wants everyone who asks for information on its website to receive its newsletter.

  1. The website form reaches the flow with the person’s name and email.
  2. Add ActiveCampaign Contacts with the Create Contact operation and fill Email, First Name and Phone with the form data.
  3. Add a second ActiveCampaign Contacts with the Add to List operation. In Contact ID put the ID returned by the first one, and in List ID the ID of the newsletter list.

Good practices

  • Almost every operation needs the Contact ID. If you only have the email, use Get Contact first with Search By set to Email.
  • You get the IDs of tags and lists with ActiveCampaign Tags and ActiveCampaign Lists.