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.
Pabbly Subscriptions
Mailchimp3 steps Setup ~5 min Used on 1.3k sites Free to import

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.
Plugin Actions Plugin or WP action triggeredRuns 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.
Pabbly Subscriptions Create CustomerSets 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.
Mailchimp Add New MemberAdds 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.
More Developer Tools workflows
Other ready-to-import templates from the same category.





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