Guides / n8n × ActiveCampaign / Triggers & webhooks

Fix n8n ActiveCampaign Webhook Not Firing From an Automation

Why a webhook placed inside an ActiveCampaign automation can fail to send anything to n8n even though the automation itself runs and the contact passes through it.

Flat vector diagram illustrating the fix n8n activecampaign webhook not firing automation error and fix.
ActiveCampaign automation runs and the contact passes through the webhook step, but n8n receives nothing
Short answer: There are two unrelated webhook mechanisms in ActiveCampaign and they fail for opposite reasons. An account-level webhook created through Settings > Developer carries a "sources" array; if that array does not include the source that actually caused the change, the event is filtered out before it is ever sent. An automation "Webhook" action always fires when a contact reaches the step, but it POSTs application/x-www-form-urlencoded data, not JSON — so an n8n Webhook node left on its default expectations receives a request it does not parse into the fields you were looking for. Identify which mechanism you are using before changing anything.

ActiveCampaign has two different webhook mechanisms

Account-level webhookAutomation-embedded webhook step
Configured whereSettings > Developer > WebhooksInside a specific automation's flow
Fires onAccount-wide events (contact added, tag added, etc.)A contact reaching that specific step
Delivery loggingMore consistently visible in SettingsLess consistently visible; check the automation's contact log
Troubleshooting transfers?n/aDo NOT assume a working account-level webhook proves this will work

Check delivery at the ActiveCampaign side first

  • Open the n8n execution list and filter to the workflow. If there is no execution at all at the moment the automation ran, the request never arrived and the problem is on the ActiveCampaign side. If an execution exists but the body is empty or unparsed, the request arrived and the problem is the payload format.
  • Confirm which URL ActiveCampaign holds. n8n gives a Webhook node two URLs — a test URL that is only live while you click "Listen for test event", and a production URL that only works while the workflow is Active. An automation still pointed at the test URL produces exactly this symptom: it worked once during setup and never again.
  • For an account-level webhook, call GET /api/3/webhooks and read the "sources" array on the record. A webhook with sources limited to ["public"] fires for front-end form submissions only and will never fire for a change made by an automation or by an API call.
  • For an automation webhook action, open the automation report and confirm contacts are actually reaching that step. A contact blocked at an earlier wait or condition step never reaches the webhook, and the automation still shows as running.

Exit and re-entry conditions can silently remove a contact before the webhook step

ActiveCampaign automations support entry and exit conditions that can remove a contact from the automation's flow before it reaches a later step, and contacts generally cannot re-enter and be mid-flow simultaneously — if an exit condition, unsubscribe event, or goal step is configured upstream of the webhook action, a contact meeting that condition never reaches the webhook step at all, and this produces the exact same "nothing arrived at n8n" symptom as an actual delivery failure. Check the automation's structure for any conditional branch or exit rule positioned before the webhook action, not just the webhook step's own configuration.

Fix and verify with a direct test

For an account-level webhook, fix the sources array rather than the URL. ActiveCampaign tags every change with the origin that caused it: "public" for front-end form submissions, "admin" for edits made by a user in the ActiveCampaign UI, "api" for changes made through the v3 API, and "system" for changes made by ActiveCampaign itself, which includes automation steps. A webhook registered with only ["public"] is working exactly as configured when it ignores an automation-driven contact update. Register it with every source your process can legitimately originate from.

For an automation webhook action, the URL is the whole configuration — there is no source filter — so the fix is on the n8n side. Set the Webhook node to POST, leave the response mode on "Immediately" unless you have a reason to hold the connection, and read the incoming data from the form-encoded body rather than expecting parsed JSON. ActiveCampaign posts flattened keys such as contact[email] and contact[fields][7], which arrive as literal key names containing brackets.

# Inspect what the account-level webhook is actually subscribed to
GET https://ACCOUNT.api-us1.com/api/3/webhooks
Api-Token: YOUR_TOKEN

# -> {"webhooks":[{"id":"9","name":"n8n sync","url":"https://n8n.example.com/webhook/ac",
#      "events":["contact_update"],
#      "sources":["public"]}]}          <-- automation changes are "system"

# Re-register with the sources that can actually cause the change
POST https://ACCOUNT.api-us1.com/api/3/webhooks
Api-Token: YOUR_TOKEN

{ "webhook": {
    "name": "n8n sync",
    "url": "https://n8n.example.com/webhook/ac",
    "events": ["contact_add", "contact_update", "subscribe"],
    "sources": ["public", "admin", "api", "system"]
} }

ActiveCampaign's automation testing tools can mask this exact problem

ActiveCampaign provides a "test automation" or preview mode for stepping through an automation's logic without a real contact, and this test mode is documented to not actually fire outbound integrations like webhooks in the same way a live contact passing through does — so an automation that appears to work correctly in test/preview mode can still fail to deliver a real webhook once a genuine contact triggers it. If your verification so far has relied on ActiveCampaign's built-in testing tools rather than a real contact moving through the live automation, that is worth ruling out specifically before concluding the webhook step itself is broken.

Test with an actual contact meeting the automation's real entry trigger (not the preview/test button) whenever possible, and treat a webhook that fires correctly under a real contact but not under the built-in test tool as expected behavior rather than a new bug to chase.

If n8n receives the webhook but the workflow still doesn't behave as expected

Once delivery itself is confirmed working (n8n's execution log shows the webhook firing), a separate and easily conflated issue is the payload shape: ActiveCampaign's automation webhook sends a specific JSON structure describing the contact and the automation context, and workflow logic written against an assumed shape (for example, expecting a flat contact.email field) can silently fail to extract the right values if the actual payload nests those fields differently. Inspect one real captured execution's JSON body directly in n8n rather than building field-mapping logic from documentation or assumption alone, since ActiveCampaign's exact payload shape has varied across automation versions and integration types.

Duplicating an automation can silently duplicate a broken webhook step too

ActiveCampaign lets you clone an existing automation as a starting point for a new one, and a webhook step inside the cloned automation carries its configured URL forward unchanged by default. If the original automation's webhook was already pointed at a specific n8n workflow's Production URL, a cloned automation intended for a different purpose can end up silently sending to the same n8n endpoint unless the webhook step's URL is explicitly updated after cloning — which can look like "the new automation's webhook isn't firing" when it is actually firing correctly, just at the old destination. Check the webhook step's configured URL explicitly on any automation built by cloning, rather than assuming it was reset for the new automation.

Checklist before rebuilding the webhook step from scratch

  • Contact confirmed (via the automation's own contact log) to actually reach the webhook step, not just enter the automation.
  • No exit condition, unsubscribe event, or goal step positioned upstream of the webhook action.
  • URL pasted into the webhook step is the n8n Production URL, workflow activated.
  • Manual curl to the same URL confirmed n8n receives and logs the request.
  • Test run with a real contact through the live automation, not ActiveCampaign's preview/test tool.
  • Webhook step's URL checked explicitly if this automation was built by cloning another one.

What an automation webhook actually posts

The automation "Webhook" action does not send JSON. It sends application/x-www-form-urlencoded with PHP-style bracket notation, so the contact's email arrives as a key literally named contact[email] and a custom field arrives as contact[fields][7]. In n8n the Webhook node exposes this under body, but the keys keep their brackets, which means an expression written as {{ $json.body.contact.email }} resolves to undefined while {{ $json.body["contact[email]"] }} resolves correctly. This single detail accounts for a large share of "the webhook fired but all my fields are empty" reports.

Two practical consequences follow. First, do not build downstream logic directly on the incoming keys; add a Set node immediately after the Webhook node that maps the bracketed keys onto clean names once, so the rest of the workflow is insulated from the format. Second, treat the posted payload as a notification rather than a record: it contains whatever ActiveCampaign chose to include at that moment, not the full contact. If the workflow needs the current state of custom fields, follow the webhook with GET /api/3/contacts/{id} and, for custom values, GET /api/3/contacts/{id}/fieldValues.

# Raw body as posted by an automation webhook action
type=automation&
contact%5Bid%5D=1234&
contact%5Bemail%5D=test%40example.com&
contact%5Bfirst_name%5D=Ada&
contact%5Bfields%5D%5B7%5D=Enterprise

# In n8n, read it with bracket notation, not dot notation:
{{ $json.body["contact[email]"] }}        // "test@example.com"
{{ $json.body["contact[fields][7]"] }}    // "Enterprise"
{{ $json.body.contact.email }}            // undefined

Delivery is fire-and-forget: design for it

Neither mechanism guarantees delivery the way a queue would. If your n8n instance returns a non-2xx status, is briefly unreachable, or takes long enough for the request to time out, the event is gone — there is no dead-letter queue to replay from, and the automation moves the contact to the next step regardless. This is why a webhook handler that does heavy work inline is fragile: a slow Salesforce or Google Sheets call inside the same execution turns an unrelated third-party slowdown into lost ActiveCampaign events.

Build the handler so it acknowledges first and works second. Have the Webhook node respond immediately, write the raw payload plus a deterministic key (contact ID and event timestamp) somewhere durable, and do the real processing in a second workflow triggered from that store. The deterministic key also gives you idempotency, which matters because an account-level webhook subscribed to both contact_add and contact_update will deliver two events for a single contact creation, and a handler that is not idempotent will process that contact twice.

Finally, order is not guaranteed. Two rapid edits to the same contact can arrive out of sequence, so a handler that overwrites a destination record from each payload can end up writing the older value last. Comparing the event timestamp against the last one processed for that contact, and discarding anything older, removes the whole class of problem.

Sources checked for this guide

Community threads describing this exact automation-embedded webhook gap are below; general n8n webhook diagnostics apply on the receiving side; ActiveCampaign's own help documentation describes automation exit/entry condition behavior.

Frequently asked questions

Is an automation-embedded webhook the same as ActiveCampaign's account-level webhooks?

No. They are separate mechanisms with separate configuration and logging. Troubleshooting steps for one do not automatically apply to the other.

How do I know if ActiveCampaign even tried to send the webhook?

Check the automation's own contact-level log for that specific contact to see exactly which steps it reached. If it never reached the webhook step, an exit condition or earlier branch likely removed it before delivery was ever attempted.

Could an exit condition really stop the webhook from firing for a contact?

Yes. Automations can have exit or entry conditions and goal steps positioned before the webhook action; a contact meeting one of those exits or diverts before reaching the webhook, producing the same symptom as a genuine delivery failure.

I curled the URL manually and n8n received it fine — what does that tell me?

It confirms n8n's receiving side works correctly, which narrows the problem to ActiveCampaign either not sending the request, or the contact never reaching that step in the automation at all.

The webhook works when I edit the contact by hand but not from an automation.

That is the sources filter. A manual edit is tagged "admin" and an automation change is tagged "system". Call GET /api/3/webhooks and re-register the webhook with sources including "system" (and "api", if workflows also write back).

n8n receives the request but every field is empty.

The automation webhook action posts form-encoded data with bracketed keys. Read it as $json.body["contact[email]"] rather than $json.body.contact.email, then normalise the keys in a Set node before the rest of the workflow uses them.