tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

When your plugin fires an action hook, create a new customer in Pabbly Subscriptions, and add new member in Mailchimp list

When the WordPress or plugin action hook you enter fires, FlowMattic creates a customer in Pabbly Subscriptions and adds that person to a Mailchimp list, or updates them if they are already a member.

Plugin Actions Pabbly Subscriptions Mailchimp

3 steps Setup ~5 min Used on 1.3k sites Free to import

The When your plugin fires an action hook, create a new customer in Pabbly Subscriptions, and add new member in Mailchimp list workflow on the FlowMattic canvas, with 3 steps across Plugin Actions, Pabbly Subscriptions, Mailchimp
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Many WordPress plugins have no ready-made FlowMattic trigger, but most of them fire action hooks when something happens, such as a membership signup, a custom checkout or a registration. This workflow listens for one of those hooks and uses the data it carries to set the person up for billing and email.

The Plugin Actions trigger runs when the action hook you enter is fired by your plugin or by WordPress. After import you type the hook's name and capture a test response, so you can see which values the hook passes. The data available depends entirely on the hook; it needs to include at least the person's email.

The Pabbly Subscriptions step then adds the person as a customer, and the Mailchimp step adds a member to your list, or updates them if they already exist. Both steps ship unmapped: connect each account, map the email and name from the hook data, and pick your Mailchimp list.

Every time the hook fires, a run starts, so pick a hook that fires once per signup. Task History shows what the hook passed and what Pabbly Subscriptions and Mailchimp returned.

Custom membership plugin signups

A developer's in-house membership plugin fires a hook on signup, and each new member becomes a Pabbly Subscriptions customer and a Mailchimp subscriber.

Registration from a niche booking plugin

A booking plugin without its own FlowMattic integration fires a hook after registration, which sets the client up for recurring billing and the newsletter.

Theme or custom form submissions

A custom theme form calls do_action with the submitted details, so every sign-up reaches Pabbly Subscriptions and your Mailchimp audience.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Plugin Actions Plugin or WP action triggered

    Runs when the action hook you enter is fired by WordPress or a plugin. Type the hook name after import and capture a test, so you can see which values the hook passes on to the next steps.

  2. Step 2Action
    Pabbly Subscriptions Create Customer

    Sets the person up as a Pabbly Subscriptions customer. The step ships unmapped: connect your account and map the customer's email, name and any other details from the hook's data.

  3. Step 3Action
    Mailchimp Add New Member

    Adds the person to your Mailchimp list, or updates them if they are already on it. Pick the list and map the email address and name from the hook data. The template has no list chosen.

What you need

  • FlowMatticCore
  • Pabbly Subscriptions AccountAccount
  • Mailchimp AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Choose a hook that fires once per new person, such as a registration-complete hook, rather than one that runs on every profile save.
  • Put a Filter between the Plugin Actions trigger and the Pabbly Subscriptions step that continues only when the email from the hook is not empty, so incomplete events stop before both apps.
  • To start billing straight away, add Pabbly Subscriptions' Create Subscription action after the Create Customer step and map the new customer from its result.

Questions about this workflow

Which WordPress action hook should trigger this workflow?

One that your plugin fires when a new customer signs up and that passes their email. Check the plugin's developer documentation for hook names, then capture a test after entering the hook.

What happens if the person is already a Mailchimp member?

Add New Member adds a member to the list, or updates them if they already exist, so they won't be added twice.

What if the customer already exists in Pabbly Subscriptions?

Create Customer only creates customers. Pabbly Subscriptions decides how to treat an email it already holds; look at Task History for its response after a test with a known customer.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

Ease of use and terrific support from the founder. Tons of integrations and regular updates. The Flowmattic custom app is great especially if you want to integrate apps that aren't available yet inside Flowmattic.

Cliede C.

Flowmattic is a noteworthy option for businesses looking for a self-hosted alternative to Zapier. With its user-friendly interface and a strong set of features, it is a top pick for those in need of a reliable WordPress automation solution.