Connecting ActiveCampaign to n8n: contacts, tags and deals synced with your AI workflows
Published 30 August 2026 · 6 min read
ActiveCampaign sits in a particular spot in the marketing stack: it's at once an email sender, a lightweight CRM (deals, accounts, pipeline), and a proprietary automation engine. Many teams stop at its native automations — a drag-and-drop scenario builder, effective but bounded by whatever ActiveCampaign natively supports. Connecting it to n8n changes that: ActiveCampaign contacts, tags and deals become one building block among others in a workflow that can also read a form, call an LLM, or write to Supabase. This guide covers setting up the credential, what the native node actually covers, and how to wire in an AI-driven segmentation layer.
Setup: the API URL + key credential
The ActiveCampaign node authenticates with a two-field credential, both available in ActiveCampaign under Settings → Developer:
- API URL: your account's address, in the form
https://youraccount.activehosted.com. - API Key: a key specific to your user — every user on the account has their own.
In n8n, create an ActiveCampaign API credential and paste in both values. Under the hood, n8n sends the key in the Api-Token header on every request to ActiveCampaign's v3 API. As with any API key, never route it through a Code node: keep it in the credentials manager, following the practices detailed in our guide to securing API credentials in n8n.
The ActiveCampaign node: what it actually covers
The native node groups several resources, each with its own operations. Telling them apart avoids miswiring:
- Contact — create, get, update, delete, list.
- Tag — manage the tags themselves (create, list, update, delete).
- Contact Tag — attach or remove an existing tag from a specific contact (not the same resource as Tag, which manages the tag catalogue).
- Contact List — subscribe or unsubscribe a contact from a list.
- List — list the account's lists.
- Account and Account Contact — manage company records and link them to contacts, useful in B2B.
- Deal — create, update, delete, get an opportunity, and add or update a note on that deal.
- Connection — register an external data source recognized by ActiveCampaign (useful for tracing where a sync came from).
- E-Commerce Order, E-Commerce Customer, E-Commerce Order Product — sync e-commerce orders and customers, with their line items.
That scope covers the bulk of light marketing and CRM use without ever leaving the node. For everything else — creating a campaign, native ActiveCampaign automations — you need an HTTP Request node calling the v3 API directly, the same approach used for driving a REST API from n8n.
Segmenting contacts with AI instead of by hand
Tag-based segmentation is where n8n adds the most value on top of ActiveCampaign: instead of manually tagging contacts one by one, an upstream AI node can read an incoming message, a campaign reply, or a form submission, and decide which tag to apply.
- A Text Classifier or an AI Agent (see our guide to getting started with n8n's AI nodes) receives the text — a support message, a survey reply, a need described in a form's free-text field.
- The model classifies the contact against your own business categories: purchase intent, industry, maturity level, product interest.
- The ActiveCampaign node (Contact Tag resource, Add operation) applies the matching tag to the contact.
- Existing ActiveCampaign automations, or a second n8n workflow filtering on that tag, take over with a matching sequence.
This isn't a cosmetic refinement. A study by Chaparro-Peláez, Hernández-García and Lorente-Páramo, published in 2022 in Review of Managerial Science ("May I have your attention, please? An investigation on opening effectiveness in e-mail marketing", see on Google Scholar), analyzed 5,765 promotional emails sent to 455 million recipients across 73 countries. Its results show that segmentation and send frequency rank among the variables that most affect the decision to open an email — well above simple content tweaks. Automating the tag instead of applying it by hand is exactly what makes finer segmentation possible, without that work becoming a human bottleneck on every new lead.
The same principle applies to review or customer-reply analysis: our guide to analyzing customer reviews with AI in n8n details a similar classification, transposable here into ActiveCampaign tags instead of internal scores.
ActiveCampaign Trigger: starting a workflow from an event
In the other direction, the ActiveCampaign Trigger node lets an event in ActiveCampaign kick off an n8n workflow. One notable detail: the list of available events isn't hardcoded in the node — it's fetched dynamically from the account's API (/api/3/webhook/events) when you configure it, so it exactly reflects what your ActiveCampaign plan allows.
When creating the trigger, you choose:
- the events to listen for (a tag added to a contact, a deal stage change, a list subscription, among others, depending on what the API exposes),
- the sources to watch:
Public(public forms),Admin(manual actions in the interface),API(changes made by a third-party integration), orSystem(ActiveCampaign's own internal automations) — useful for filtering out, say, changes made by hand by a sales rep if only the automated flow matters to you.
n8n handles creating, checking, and deleting the webhook on the ActiveCampaign side transparently when the workflow is activated.
A concrete case: incoming lead, AI tag, then deal
A full scenario shows how these pieces fit together:
- A contact form (Typeform, a form on your site) triggers the n8n workflow.
- The ActiveCampaign node (Contact resource) creates or updates the contact with the form's fields.
- A Text Classifier evaluates the intent expressed in the free-text message (imminent purchase, simple question, support request), and the ActiveCampaign node applies the matching tag via Contact Tag.
- For leads tagged as "imminent purchase," the workflow creates a Deal linked to the contact, ready for a sales rep to pick up.
- In parallel, the ActiveCampaign Trigger listens for stage changes on that deal: if it stalls for several days, a second scheduled workflow (see our Schedule Trigger guide) sends an automatic Slack reminder to the sales team.
This pattern — capture, qualify with AI, route, then watch — keeps an incoming lead from falling through the cracks between filling out a form and finally getting a call back from a human.
Limits to know about
Two things worth anticipating before you build on top:
- No dedicated campaign resource. The node doesn't create or send email campaigns: that's the job of ActiveCampaign's native automations, or a direct HTTP Request call if you want to drive sends from n8n.
- Deal stays minimal next to a dedicated CRM. No advanced multi-pipeline management or forecast reporting: for a more complex sales pipeline, it's better to sync into Pipedrive or HubSpot and let ActiveCampaign focus on email.
In summary
The ActiveCampaign credential sets up with two fields (URL + key, found under Settings → Developer), and the native node covers contacts, tags, lists, accounts, deals and e-commerce data without ever leaving drag-and-drop. n8n's real added value shows up when segmentation or routing steps outside ActiveCampaign's native scope: a tag applied by an AI classifier instead of by hand, a deal created automatically on a qualified lead, a follow-up triggered by the ActiveCampaign Trigger. The lead-qualification workflows in the Inbox AI Pack follow exactly this pattern and adapt to an existing ActiveCampaign account with a few settings changes.
FAQ
Frequently asked questions
What authentication does the n8n ActiveCampaign node use?
The 'ActiveCampaign API' credential expects two fields: your account's API URL (e.g. https://youraccount.activehosted.com) and an API key. Both are found in ActiveCampaign under Settings → Developer. n8n then sends the key in the Api-Token header on every call — you never have to handle it yourself.
Can AI automatically tag ActiveCampaign contacts from n8n?
Yes. A Text Classifier or an AI Agent node analyzes the incoming message or form, then the ActiveCampaign node (Contact Tag resource, Add operation) applies the matching tag to the contact. It's the same pattern as the AI email sorting described in our guide to n8n's AI nodes, applied here to marketing segmentation instead of inbox triage.
How do I trigger an n8n workflow when a tag is added or a deal is created in ActiveCampaign?
With the ActiveCampaign Trigger node. It queries the account's API to list the events actually available (a tag added to a contact, a deal stage change, a list subscription, among others), registers a webhook on the ActiveCampaign side, and can filter by source (Public, Admin, API or System) to ignore, say, manual changes made in the interface if only the automated flow matters to you.
Does ActiveCampaign replace a CRM like Pipedrive or HubSpot for running a sales pipeline in n8n?
Partially. The Deal resource covers creating, updating, deleting and adding notes to an opportunity — enough for a simple pipeline paired with email. For a more structured sales pipeline (reporting, forecasting, multiple pipelines), a dedicated CRM like Pipedrive or HubSpot remains more complete; nothing stops you from running both side by side through n8n.
Bundle FlowKit Complet
€269