WPSubscription includes MailPoet automation triggers. Now you will be able to manage subscription-related newsletters or email marketing with MailPoet automation. Please follow the given instructions to learn more.

Requirements

  1. MailPoet

  2. MailPoet Premium

  3. WooCommerce

  4. WPSubscription

  5. WPSubscription Pro

Add Subscription Triggers

  1. Open the WordPress dashboard.

  2. Go to MailPoet > Automations.

  3. Click the "Add new automation" button.

  4. Click the "Create custom automation" in the template page.

  5. Click the "+ Add trigger" and select "Custom trigger".

  6. In the custom trigger's HOOK field in the settings, add a custom subscription hook from the following available hooks table.
    (For example, 'wpsubs_mp_subscription_activated' hook for Subscription activated trigger.)

  7. Then, proceed with adding other automation triggers and actions.

BlockNote image

Available Hooks

Custom Subscription Hook

Description

wpsubs_mp_subscription_activated

For triggering automation when a subscription is activated.

wpsubs_mp_subscription_pending

For triggering automation when a subscription is pending.

wpsubs_mp_subscription_pending_cancellation

For triggering automation when a subscription is queued for cancellation.

wpsubs_mp_subscription_cancelled

For triggering automation when a subscription is cancelled.

wpsubs_mp_subscription_expired

For triggering automation when a subscription expires.

wpsubs_mp_subscription_trial_ended

For triggering automation when a subscription trial is ended.

wpsubs_mp_subscription_in_grace_period

For triggering automation when a subscription is in a grace period.