Skip to main content

Send form entries to ActiveCampaign

Every form entry on your WeInc site saves the visitor as an ActiveCampaign contact, and adds them to your list only if they opted in.

Written by Umair Ali

Connect ActiveCampaign to your WeInc site and every form entry saves the visitor as a contact in your ActiveCampaign account.

What it does

  • For every entry with an email address, WeInc creates the contact in ActiveCampaign, or updates it if that email already exists. First and last name are filled in when the form has them.

  • If the visitor ticked a marketing opt-in box, WeInc also subscribes them to the list you choose.

  • If they did not opt in, they are saved as a contact only and are not added to the list.

  • This applies to every form on the site.

Who goes on your list

WeInc only adds someone to a marketing list if they ticked a marketing opt-in box on your form. WeInc counts a box as an opt-in when it is ticked and its field name mentions things like consent, subscribe, newsletter, marketing, opt-in, mailing list or email updates. A box like "I agree to the terms" does not count. If your form has no such box, ask the AI in the builder to add a newsletter opt-in checkbox to it.

An entry needs an email field (for example a field named "email"). Entries without an email address are skipped. First and last names are added when the form has fields like "name", "first name" or "last name".

What you need from ActiveCampaign

  • API URL: in ActiveCampaign, go to Settings > Developer. It looks like https://yourname.api-us1.com. WeInc only accepts addresses in this format.

  • API key: on the same Developer page, under the API URL.

  • List ID: the number of the list to subscribe people to. Go to Contacts > Lists and open the list. The number after listid= in the browser's address bar is the List ID.

ActiveCampaign's guide: Getting started with the API.

Where to set it up

Form connections live in the builder, in the Analytics panel. Open your project, click the ··· (More panels) button in the top bar and choose Analytics. Scroll to Form submissions. Below it is a section called Send entries to.

The Analytics panel only appears in full once your site is published, so publish first. Only the project owner can add or change these connections.

Connect it

  1. Under Send entries to, open the Add a destination… menu and choose ActiveCampaign.

  2. Paste the API URL, API key and List ID.

  3. Click Save. The connection appears in the list with the On box ticked.

Test it

Click Test next to the connection. WeInc sends a sample entry from "Test Person" (test@example.com). When it works you see Test entry sent. and that contact appears in ActiveCampaign. The sample has no opt-in, so it is saved as a contact only and is not added to your list. Delete it afterwards.

To check the list part, submit a real entry on your live site with the opt-in box ticked, then look for it in your list.

If something goes wrong

Each saved connection has a dot next to its name: blue means the last send worked, red means it failed, grey means it is paused. The last error is shown under the name.

  • "<field> is required" or "<field> doesn't look right" when saving: a value is missing or not in the expected format. Copy it again, with no extra spaces or characters.

  • "Access refused (401)" or "(403)": ActiveCampaign did not accept the API key. Create a new one and add the connection again.

  • "Paused: the key was refused three times." If real form entries are refused three times in a row, WeInc pauses the connection so it stops failing. Test sends do not count toward this. Click the bin icon to remove it, then add it again with a new API key.

  • Other errors (for example "Error 404" or "Error 422"): usually a wrong List ID or API URL. Check it in ActiveCampaign, then remove and re-add the connection.

WeInc tries each send twice (one retry after a short pause) and waits up to 8 seconds for ActiveCampaign to answer. The entry is always kept in Form submissions either way, so nothing is lost if a send fails.

Saved keys can't be viewed or edited later. To change a value, remove the connection and add it again.

Pause or disconnect

  • Pause: untick the On box next to the connection. It shows Paused and nothing is sent until you tick it again.

  • Disconnect: click the bin icon (Remove). WeInc deletes the saved key. Anything already in ActiveCampaign stays there.

To fully revoke access, also delete the API key in ActiveCampaign.

Need help? Message us from the chat bubble in the corner of WeInc.

Did this answer your question?