Skip to content

How to Connect ActiveCampaign to a WordPress Form?

Key Takeaways

  • Nexter Blocks Pro Form block creates an ActiveCampaign contact from each submission, and it sends the email, the name as first name, and the phone number from a Phone Number field if the form has one.
  • ActiveCampaign setup uses Action After Submit in the Form block, then Custom API Key and Custom API URL, such as https://youraccount.api-us1.com, from ActiveCampaign Settings > Developer.
  • Nexter Blocks Pro is Pro only for this action, there is no list or tag setting in the block, and an existing email address in ActiveCampaign triggers an error instead of updating the contact.
Table of Contents

Sending form leads to ActiveCampaign lets your automations and sales follow-up start right away.

The Form block in Nexter Blocks Pro creates an ActiveCampaign contact from each submission.

For every Form setting in one place, see the Form block guide.

Before You Start

  • Edition: Pro — The ActiveCampaign action needs Nexter Blocks Pro.
  • Block to enable: Form, switched on under Nexter > Blocks in your WordPress dashboard.
  • Your API URL and API key: in ActiveCampaign go to Settings > Developer. See ActiveCampaign’s API authentication guide.

Learn via Video Tutorial

Steps

  1. Add the Form block to your page, click Design from Scratch and choose Simple Contact Form or Newsletter Form.
  1. Select the Form block (not a field inside it). In Action After Submit, open Options and choose ActiveCampaign. You can keep Email selected as well.
The Action After Submit panel with Options
  1. Open the ActiveCampaign panel that appears and paste the key into Custom API Key and the URL, such as https://youraccount.api-us1.com, into Custom API URL.
The ActiveCampaign panel with Custom API Key and Custom API URL
  1. Save the page, then submit the form once on the front end to test the connection.

How It Behaves

  • Each submission creates a contact with the email, the name as first name, and the phone number from a Phone Number field if the form has one.
  • The contact is added to your ActiveCampaign contacts. Use an ActiveCampaign automation to add it to a list or tag.

Limitations

  • Pro only.
  • There is no list or tag setting in the block.
  • If the email address already exists in ActiveCampaign, the contact is not updated and the visitor sees an error message.
  • Paste the key exactly as shown. Extra spaces or characters make the whole submission fail with “An error occurred while sending the form data.”

Troubleshooting

Visitors see “An error occurred while sending the form data.”

The API key or API URL is not in the expected format. Copy both again from Settings > Developer, with no spaces.

Visitors see “Failed to connect to ActiveCampaign API”

ActiveCampaign rejected the contact, often because it already exists. Check the contact in ActiveCampaign.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!