---
title: "How to Connect ActiveCampaign to a WordPress Form?"
url: https://nexterwp.com/docs/connect-activecampaign-to-a-wordpress-form/
date: 2025-04-17
modified: 2026-09-13
lang: en
author: "Aditya Sharma"
description: "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..."
image: https://nexterwp.com/wp-content/uploads/2025/04/connect-activecampaign-to-a-wordpress-form-1024x519.jpg
word_count: 347
---

# 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.

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](https://nexterwp.com/docs/add-a-form-in-wordpress/).*

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/)

## 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](https://developers.activecampaign.com/reference/authentication).

## Learn via Video Tutorial

https://www.youtube.com/watch?v=0Ri2MyL3i0A&t

## Steps

- Add the **Form** block to your page, click **Design from Scratch** and choose **Simple Contact Form** or **Newsletter Form**.

- 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](https://nexterwp.com/wp-content/uploads/2026/09/form-action-submit.webp)

- 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](https://nexterwp.com/wp-content/uploads/2026/09/form-activecampaign.webp)

- 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

- [Form block: all settings](https://nexterwp.com/docs/add-a-form-in-wordpress/)- [Add a newsletter form](https://nexterwp.com/docs/add-a-newsletter-in-wordpress/)- [Save form submissions in WordPress](https://nexterwp.com/docs/save-form-submissions-in-wordpress/)