> ## Documentation Index
> Fetch the complete documentation index at: https://memberful.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate with ActiveCampaign

> Integrate Memberful with ActiveCampaign to automatically sync your members, create segments, and send targeted newsletters based on their membership details.

export const RelatedDocs = ({link1, link2, link3, link4, link5, link6, link7, link8, link9, link10, className = ""}) => {
  const links = [link1, link2, link3, link4, link5, link6, link7, link8, link9, link10].filter(Boolean);
  if (!links.length) return null;
  return <section className={`related-docs border dark:border-gray-700 rounded-2xl px-6 py-4 mt-6 ${className}`}>
      <p className="mb-2 font-medium">
        <strong>Related help docs:</strong>
      </p>
      <ul className="space-y-1 mb-1 mt-1">
        {links.map((link, index) => <li key={index}>
            <a href={link.url}>{link.label}</a>
          </li>)}
      </ul>
    </section>;
};

[ActiveCampaign](https://www.activecampaign.com/) is an email marketing and automation platform that connects directly with Memberful. Once integrated, Memberful keeps your contact list automatically updated — adding new members, syncing existing ones, and writing member data as custom fields for easy segmentation and personalization.

In this help article, you'll learn how to connect Memberful to ActiveCampaign, understand how syncing works, and use custom fields to personalize and automate campaigns.

## Integrate ActiveCampaign

Before connecting, you'll need your **API URL** and **API key** from ActiveCampaign. To find them, go to your ActiveCampaign account, then go to *Settings → Developer*.

In your Memberful dashboard, go to *Content → Email marketing*, then click **Connect** under ActiveCampaign. Enter your API URL and API key, then click **Connect to ActiveCampaign**.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/activecampaign-connect.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=a8a3e44e22312acd862eef0b388adb00" alt="Connect to ActiveCampaign" width="1440" height="621" data-path="images/integrations/email-newsletters/activecampaign/activecampaign-connect.png" />
</Frame>

After connecting, select which ActiveCampaign list Memberful should sync members into, then click **Finish**. You can click **Refresh available lists** at any time to reload the list of lists from your ActiveCampaign account.

## How we keep your list up to date and synced

When you first connect, Memberful imports all your existing members as contacts into the list you selected. This list stays automatically synced — new members are added, existing members are updated, and key details are written as custom fields.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/activecampaign-custom-fields.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=d347527eb4292cbf398aa93128a1f289" alt="ActiveCampaign Custom fields" width="1440" height="932" data-path="images/integrations/email-newsletters/activecampaign/activecampaign-custom-fields.png" />
</Frame>

You can use these fields to build [ActiveCampaign segments](https://help.activecampaign.com/hc/en-us/articles/221483407-Get-started-with-segments-in-ActiveCampaign) or trigger [automations](https://help.activecampaign.com/hc/en-us/articles/218788657-What-are-automations-in-ActiveCampaign-An-overview).

To view them, click a contact in ActiveCampaign and scroll to the custom fields section.

Here are the custom fields Memberful continuously syncs to ActiveCampaign:

* **Memberful:** Always set to *yes*, indicating the contact is a Memberful member.
* **Memberful Active Subscription:** Set to *yes* if the member has an active subscription, *no* otherwise.
* **Memberful All Access Pass:** Set to *yes* if you or a team member granted an All Access Pass, *no* otherwise.
* **Memberful Plans:** A multi-select field updated with the member's currently active plan names.
* **Memberful Products:** A multi-select field updated with the member's purchased downloads.
* **Signup Source:**
  * **Checkout:** Member signed up through the purchase form.
  * **Created By Admin:** Member was created manually by you or a staff member.
  * **Free Registration:** Member signed up through the free registration form.
  * **Gift:** Member received a gifted subscription.
  * **Team Subscription:** Member joined through a group subscription.

<Callout icon="triangle-alert" color="#FFE044">
  Members are not removed from your subscriber list when their subscription expires. If a member’s subscription ends, Memberful removes the related tags from their profile. If a member changes their email address, Memberful adds the new email as a new subscriber and removes Memberful data from the old one.
</Callout>

## Send a targeted campaign

To send targeted campaigns, create a segment in ActiveCampaign using the custom fields synced from Memberful — for example, filtering by *Memberful Active Subscription equals yes* or *Memberful Plans contains \[your plan name]*.

## Add a referral link to your campaign

If you have enabled [Memberful referrals](/discounts-and-gifting/lifecycle-discounts/offer-referral-discounts), you can add a personalized referral link to your campaign so members can earn rewards for referring others.

When creating your campaign in ActiveCampaign, use the **Memberful Referral Link** custom field [personalization tag](https://help.activecampaign.com/hc/en-us/articles/360000214360-How-to-insert-personalization-tags-into-your-campaign#how-to-insert-personalization-tags-into-your-campaign-0-0) to insert each member's unique referral URL.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/activecampaign-custom-referral-link.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=34b4521540bd9fd2b5d1af0db9036e4e" alt="ActiveCampaign Custom fields" width="1440" height="469" data-path="images/integrations/email-newsletters/activecampaign/activecampaign-custom-referral-link.png" />
</Frame>

## Create automations

You can use [ActiveCampaign automations](https://help.activecampaign.com/hc/en-us/articles/218788657-What-are-automations-in-ActiveCampaign-An-overview) to trigger event-driven emails based on changes to Memberful custom fields — for example, sending a welcome series when *Memberful Active Subscription* changes to *yes*.

## Use custom field answers for segmentation and personalization

You can [collect up to 5 custom fields](/configuration/feedback-and-policies/create-custom-fields/) from your members right after they complete the checkout form.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/custom-fields-checkout.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=03fc542641c87289fd1f2ba6ee532ceb" alt="ActiveCampaign Custom fields" width="1440" height="1051" data-path="images/integrations/email-newsletters/activecampaign/custom-fields-checkout.png" />
</Frame>

Fields with predefined options (checkbox and dropdown) are ideal for building segments in ActiveCampaign — for example, asking which content topics interest them most.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/segment-with-custom-fields-on-activecampaign.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=82eab38c3a32c1cf56073c81c3d289e9" alt="ActiveCampaign Custom fields" width="1440" height="352" data-path="images/integrations/email-newsletters/activecampaign/segment-with-custom-fields-on-activecampaign.png" />
</Frame>

Fields with free-form answers (text and comment) are best for personalizing emails with details like nicknames or social handles.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/personalize-with-custom-fields-activecampaign.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=c375629494709e1bb5bba6bde50a58bc" alt="ActiveCampaign Custom fields" width="1440" height="494" data-path="images/integrations/email-newsletters/activecampaign/personalize-with-custom-fields-activecampaign.png" />
</Frame>

All answers appear as custom fields on the contact's profile in ActiveCampaign.

<Frame>
  <img src="https://mintcdn.com/memberful/_mrTYCZyxlzGRCEo/images/integrations/email-newsletters/activecampaign/all-answers-as-activecampaign-custom-fields.png?fit=max&auto=format&n=_mrTYCZyxlzGRCEo&q=85&s=d403a7494dea59ebef5b43fe30226b3b" alt="ActiveCampaign Custom fields" width="1440" height="872" data-path="images/integrations/email-newsletters/activecampaign/all-answers-as-activecampaign-custom-fields.png" />
</Frame>

## What happens when you reconnect your email service provider?

When you reconnect your integration, we'll resync your members and update the appropriate custom fields, applying them to active members and removing them from inactive ones. Automations are automatically excluded during the resync, so reconnecting won't trigger any ActiveCampaign automation sequences.

<RelatedDocs
  link1={{
url: "/newsletters/best-practices/the-right-way-to-unsubscribe/",
label: "How members should unsubscribe properly.",
}}
  link2={{
url: "/overview/setup-guides/member-newsletter/",
label: "Send members-only newsletters via Memberful.",
}}
/>
