Skip to main content

ActiveCampaign

ActiveCampaign is an email marketing and CRM platform. The Webhook action of its automations posts the data of the contact — email, phone, tags — to an address. Pointed at the Flows address, it starts your flows: a contact subscribes, a deal moves to a stage, an order comes in, a cart is abandoned — and the customer gets the right message in Viber or SMS.

Written from ActiveCampaign documentation

This page is written from the public documentation of ActiveCampaign and has not been checked on a live account yet.

The body is not confirmed yet

The ActiveCampaign documentation has no sample of the automation webhook. It says the action sends the data of the contact, the phone among them, and the id of the automation as form fields, like the account webhooks. Which fields come and how they are named is not confirmed. Until it is, the connection may need Other system: you show AlphaFlow the phone and the event once, on the first request.

What you need​

  • The Plus plan or higher. On Starter, webhooks were removed from automations; ActiveCampaign itself says only that they depend on the plan.
  • A phone in the Phone field of the contact. The action sends the phone only if the field is filled in.
  • One connection per automation. The body does not name the event, so the event is set on the connection.
  • You cannot change the body or the headers of the action.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose ActiveCampaign.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Add the action in ActiveCampaign​

  1. Open Automations and the automation. Press + after the step that should start the message — a subscription, a tag, a deal stage, a Deep Data order — and choose Conditions and Workflow → Webhook. The names of these items are not confirmed by the documentation.
  2. URL — the address from the cabinet.
  3. In the connection in the cabinet set the event of this automation: a subscription — lead_submitted (set by default), a form — form_submitted, a deal stage — deal_stage_changed, an order — order_created, an abandoned cart — cart_updated.

Step 3. Send a test​

Run the automation on your own contact with Phone filled in. Open the connection in the cabinet: the last request shows every field with its value. Check that the event in Flows → Connections → Event journal has the phone and the email. If it was refused with no_contact, create an Other system connection instead, paste its address into the action and point at the phone in the request.

Events​

What the action followsAlphaFlow eventProperties
A subscriptionlead_submitted — by defaulttags, automation_id
A formform_submittedtags, automation_id
A deal moves to a stagedeal_stage_changedtags, automation_id
A Deep Data orderorder_createdtags, automation_id
An abandoned cartcart_updatedtags, automation_id

tags are the tags of the contact, automation_id is the id of the automation (Series ID; its name in the body is not confirmed). The contact is looked for by contact[phone] — the field ActiveCampaign uses for SMS — and by contact[email]; the first name comes from contact[first_name]. The ActiveCampaign id of the contact is not used: it would not match the ids of your shop. The names of the events are the ones the ready-made templates expect — see Recommended events.

Good to know​

  • ActiveCampaign never retries a webhook, but delivers it "at least once", so a duplicate is possible. An answer slower than 5 seconds counts as an error; the address answers at once.
  • The body has no id of the event, so AlphaFlow catches duplicates by the content: an identical request within 10 minutes is taken for a repeat and recorded once. A second pass of the same contact through the automation within 10 minutes may be taken for a repeat too, unless the body carries the time of sending — which is not confirmed.
  • There is no signature: the secret in the address is enough.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the action in ActiveCampaign keeps working.

ActiveCampaign documentation​