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

> Learn how to connect Memberful to Zapier and use member events to trigger Zaps.

[Zapier](https://zapier.com) connects Memberful to thousands of other apps. Memberful events, like a new member signing up or a subscription renewing, can start a Zap, but Zapier can't create or change anything in your Memberful account.

In this help article, we'll show you how to connect Memberful to Zapier, choose the right trigger, and work with group and custom field data in your Zaps.

## Create an API key for Zapier

**1. Open Custom applications**

Go to **Settings** → **Custom applications** in your Memberful dashboard.

**2. Create a custom application**

Click **Create Custom Application**.

**3. Name it and create the key**

Enter a name and click **Create Custom Application**. Zapier uses this key to connect to your Memberful account.

![Create an API key](https://mintcdn.com/memberful/Ti-uQe1vAB8PSFHa/images/custom-development-and-api/integrate-with-zapier/create-api-key.gif?s=cfe69baaab6a4ab1e9bc4ddfd9a2adf7)

## Create a Zap

**1. Create a Zap**

Go to Zapier and click **create Zap**.

![Create a Zap](https://mintcdn.com/memberful/zfHsjCK1h1UMRz66/images/custom-development-and-api/integrate-with-zapier/create-zap.gif?s=dcd2e07525311d8ca643fb5bdab17d89)

**2. Add Memberful as the trigger**

Enter **Memberful** in the main search box to add it as a trigger.

**3. Select a trigger event**

Select the event you'd like to trigger and click **continue**.

## Connect to Memberful

If you don't already have Zapier connected to Memberful, now is the time to do that.

**1. Connect a new account**

Click **connect a new account**.

**2. Enter your API key**

Copy the API key you created earlier from your Memberful dashboard and paste it into the field.

**3. Enter your account URL subdomain**

Your Memberful account URL subdomain is the part of your Memberful account URL between `https://` and `.memberful.com`. For example, if your Memberful URL is `https://jensbakery.memberful.com`, enter only `jensbakery`. Don't enter your full URL. If you include `https://` or `.memberful.com`, Zapier can't connect and may show an error such as `getaddrinfo ENOTFOUND`.

![Find your account URL subdomain](https://mintcdn.com/memberful/Ti-uQe1vAB8PSFHa/images/custom-development-and-api/integrate-with-zapier/zapier-find-subdomain.png?fit=max\&auto=format\&n=Ti-uQe1vAB8PSFHa\&q=85\&s=5e2d76499a760b136538c75cdd0a658f)

**4. Test your trigger**

Click **test** and Zapier will do the rest.

Zapier's test step uses sample data from Memberful, not your real members. Use the sample data to map your fields. Once your Zap is on, it runs with real data each time the event happens.

## Learn about the available triggers

These are the Memberful events that can trigger a Zap:

**New Member** `trigger`

Triggers when a new member account is created. Use this trigger to add new members to your app or to a third-party service.

**Member Updated** `trigger`

Triggers when a member's profile information is updated. This will *not* be triggered when a member updates their answers to custom fields; there is a separate trigger for custom field updates. Use this trigger to update a member's profile information in your app.

**Member Deleted** `trigger`

Triggers when a member is deleted from your Memberful account. Use this trigger to remove a member from your app if they were deleted from Memberful. It's not common for a member account to be deleted — in most cases, you'll want to react to *Subscription Deactivated* instead.

**Subscription Created** `trigger`

Triggers when a new subscription is added to a member's account. This includes when a member purchases a subscription or activates a gifted subscription, when a member is added to a group subscription, and when a staff account manually creates a subscription. Use this trigger to let your app know when a member has subscribed.

**Subscription Renewed** `trigger`

Triggers when a member's subscription renews. Use this trigger to renew the member's access to your app. To run automations when a lapsed member comes back, use the *Subscription Reactivated* trigger.

**Subscription Updated** `trigger`

Triggers when a member's subscription is updated. To detect price changes (upgrades, downgrades, or crossgrades), look for changes to `plan_id` in the `changed` section of the data. The first value is the old price and the second is the new one. The same applies to other changed fields, like `autorenew`. Note that `plan_id` refers to the price, not the plan—you can check the `pass` object in the payload to see which plan the subscription belongs to.

**Subscription Reactivated** `trigger`

Triggers when a lapsed member comes back and reactivates their subscription. Use this trigger to run automations just for returning members, such as restoring access in another service or notifying your team. A subscription has lapsed when it's inactive, for example because it expired, was refunded, or was suspended.

Reactivations used to trigger *Subscription Renewed*. If your *Subscription Renewed* Zap was set up before July 21, 2026, it still runs when a member reactivates. Newer *Subscription Renewed* Zaps only run for renewals.

**Subscription Activated** `trigger`

Triggers when a staff account restores a suspended order by clicking **Complete order**, and the subscription becomes active again. This only happens for the subscription's most recent order, since completing an older order doesn't reactivate the subscription. For example, you might suspend an order while a payment dispute is open, then complete it once the dispute is resolved. This trigger doesn't run when a lapsed member comes back on their own. Use *Subscription Reactivated* for that.

**Subscription Deactivated** `trigger`

Triggers when a member's subscription fails to renew, expires, or becomes inactive. Also triggered when a staff account [suspends an order](https://memberful.com/docs/member-management/subscription-management/pause-a-subscription.md#suspend-the-order), making the subscription inactive. Use this trigger to remove the member's access to your app or to update their status if they stop paying.

**Subscription Deleted** `trigger`

Triggered when a staff account deletes a member's subscription from the Memberful dashboard. Use this trigger to remove the member's access to your app or to update their status.

**Order Purchased** `trigger`

Triggers when a member places an order or when a staff account manually adds an order to a member's account. This is not triggered for renewal payments. A member purchasing a gift subscription for someone else will trigger this event, but no subscription will be created until the recipient activates their gift. Use this trigger to notify your app when a member makes a purchase.

**Order Refunded** `trigger`

Triggers when a staff account refunds an order. Use this trigger to update your app when a refund has been processed.

**Custom Fields Updated** `trigger`

Triggers when a member answers or updates their custom fields. Use this trigger to update your app when a member updates their answers to custom fields, either during checkout or by visiting their member profile.

**Tax ID Updated** `trigger`

Triggers when a member adds, changes, or removes their tax ID. Use this trigger to update your app when a member updates their tax ID.

## Choose the right trigger

Several triggers have similar names. Use this table to find the one that matches what you want your Zap to do.

| If you want to… | Select this trigger |
| - | - |
| Add new members to another service, including free members | **New Member** |
| React when a subscription is added to a member's account | **Subscription Created** |
| React when someone redeems a gift for a plan they don't already have | **Subscription Created** |
| React when a member's subscription renews | **Subscription Renewed** |
| React when a lapsed member comes back | **Subscription Reactivated** |
| React when a member changes their price, such as an upgrade or downgrade | **Subscription Updated**, with a Filter step |
| Remove access when a subscription expires or becomes inactive | **Subscription Deactivated** |
| Restore a member's access after suspending their order | **Subscription Activated** |
| React to a purchase, including someone buying a gift | **Order Purchased** |
| Use a member's custom field answers | **Custom Fields Updated** |

Memberful doesn't have a trigger for only upgrades or only gifts. To run a Zap only when a member changes price, use *Subscription Updated* and add a Filter step that continues only when `plan_id` appears in the `changed` data. Filter steps are available on paid Zapier plans. To learn more, see [Zapier's guide to Filter steps](https://help.zapier.com/hc/en-us/articles/8496276332557). Moving members to a new plan in bulk also triggers *Subscription Updated* for each subscription.

## Distinguishing group manager sign-ups from member sign-ups

Sign-ups from group managers and members both trigger the *Subscription Created* event. To differentiate between the two, you can check the two member IDs in the data that was returned.

If both IDs are the same, the sign-up is from a group manager (or it's for a plan that doesn't support groups). If the IDs are different, the sign-up is from a member who is joining a group. The group manager's ID is the one at the top, while the group member's ID appears further down, nested within the `member` object.

![Group manager vs. member ID](https://mintcdn.com/memberful/DOpS1_0MI9MjYqsN/images/custom-development-and-api/integrate-with-zapier/group-manager-vs-member-id.png?fit=max\&auto=format\&n=DOpS1_0MI9MjYqsN\&q=85\&s=960ff4a90febcaebac4ac87ab7694c71)

## How to navigate custom fields

[Custom fields](https://memberful.com/docs/configuration/feedback-and-policies/create-custom-fields.md) are collected after checkout, which means the value is not yet set when Zaps using the New Member, Subscription Created, or Order Purchased events are triggered. To access custom field values, Zaps must use the *Custom Fields Updated* trigger instead.

Custom field values currently show up in Zapier as a single field called "custom fields values," with each of the values separated by a comma. If you'd like to access the values individually, you can use Zapier's built-in formatter to split the values into separate fields.

First, add a Formatter step and choose the **Utilities** event.

![Add a Formatter step](https://mintcdn.com/memberful/zfHsjCK1h1UMRz66/images/custom-development-and-api/integrate-with-zapier/add-formatter-step.png?fit=max\&auto=format\&n=zfHsjCK1h1UMRz66\&q=85\&s=25d28e29f14e68b8989f0045b5b80d47)

Choose **custom fields value** as the CSV file.

![Choose custom fields value as the CSV file](https://mintcdn.com/memberful/Ti-uQe1vAB8PSFHa/images/custom-development-and-api/integrate-with-zapier/choose-custom-fields-value.png?fit=max\&auto=format\&n=Ti-uQe1vAB8PSFHa\&q=85\&s=45239dadf677fa9b3632c564ee552b77)

After you save that step, whenever you want to use a custom field value, you can select one of the output line items from the Formatter step.

![Select an output line item from the Formatter step](https://mintcdn.com/memberful/Ti-uQe1vAB8PSFHa/images/custom-development-and-api/integrate-with-zapier/use-formatter-output-line-items.png?fit=max\&auto=format\&n=Ti-uQe1vAB8PSFHa\&q=85\&s=b2316b2ad98a7af3152998b9b23c1c14)

Note that this method has some drawbacks. For example, if your members enter responses that contain commas, the Formatter won't be able to split the values correctly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.