Shopify Flow

Automate membership tasks with Shopify Flow — triggers and actions for your membership program workflows.

On this page
  1. When you’d use this
  2. How Flow works with Zendra
  3. Flow triggers
  4. Flow actions
  5. Start from a Flow template
  6. Setting up a Flow with Zendra
  7. Example workflows
  8. Common issues
  9. Keep learning

Zendra integrates with Shopify Flow so you can build automated workflows around your membership program. Use Flow triggers when membership events happen — like a new signup or cancelled plan — and take automated actions like creating memberships, adjusting access, or rewarding customers. No code required.

When you’d use this

  • Automate membership actions from store events — for example, grant a membership after a customer hits a lifetime-spend threshold.
  • Extend or cancel memberships, or change eligible non-subscription memberships.
  • Reward members with store credit or discount codes.

How Flow works with Zendra

Shopify Flow is a built-in automation tool that lets you create “if this, then that” workflows. You choose a trigger (an event that fires), optionally add conditions (rules to check), and select an action (what to do). Zendra provides triggers for membership lifecycle events and actions to manage memberships and rewards.

All Zendra triggers include the customer, membership, and plan data in the Flow payload, so you can reference these details in your conditions and actions.

Flow triggers

Triggers fire when membership events occur. Use these to kick off automated workflows.

Membership lifecycle triggers

Membership started Fires when a new membership begins, whether it’s paid or starting a free trial — including when a recipient claims a gift membership, so every new member flows into the same welcome automations. A free trial fires Membership started and Membership trial started together.

Membership trial started Fires when a new membership begins a free trial. It also fires when a former member comes back through a free trial, alongside Membership reactivated.

Membership trial converted Fires when a free trial becomes a paid membership, on its first successful charge. Use it to welcome new paying members or thank trial members for staying.

Want a workflow on Membership started to run only for paying members? Add a condition that the membership’s is_trialing field is false, and use Membership trial converted to catch trial members when they convert.

Membership trial expired Fires when a free trial ends without converting to a paid membership: the member cancels during the trial, you cancel it, or it ends for non-payment. It fires when the member loses access, alongside Membership cancelled, or alongside Membership ended when the member kept access until the end of the trial.

Membership expired Fires when a membership reaches its expiry date.

Membership reactivated Fires when a paused, cancelled, or expired membership is reactivated.

Membership cancelled Fires when a membership is cancelled.

Membership ended Fires when a cancelled membership’s paid-through access runs out. A membership cancelled immediately only fires Membership cancelled, so use this trigger for a win-back offer or tag cleanup timed to the moment a member actually loses access.

Membership paused Fires when a membership is paused.

Membership plan changed Fires when a member switches to a different plan tier.

Subscription and billing triggers

Membership subscription started Fires when a subscription-backed membership begins.

Membership renewal processed Fires when a subscription payment succeeds and renewal is processed.

Membership billing failure Fires when a subscription billing attempt fails.

Flow actions

Actions are the tasks Zendra performs when a trigger fires and conditions are met.

Membership management actions

Create membership Grant membership to a customer on a selected plan, with optional custom access length. Memberships created through Flow are recorded with their own Flow action access method, not as complimentary. A customer has one membership per plan, so if the Flow runs again for the same customer and plan, Zendra updates that membership and adds the access length again rather than creating a second one.

Configure:

  • Plan to grant
  • Access duration (optional — overrides the plan’s default)

Change membership plan Move a customer’s active non-subscription membership to a different plan. Subscription-backed memberships cannot be changed with this action; cancel the existing membership and create the replacement instead.

Configure:

  • Target plan

Extend membership Add time to a non-subscription membership’s expiry date.

Configure:

  • Duration to extend by

Cancel all memberships Cancel every active membership a customer has in one action.

Cancel complimentary memberships Cancel only a customer’s complimentary memberships (ones you granted by hand). Purchased memberships, free plans the customer signed up for, gifts, imported memberships, and memberships created by a Flow action stay active. Use Cancel all memberships to end those too. This action used to be called Cancel free memberships. Workflows that already use it keep working, with nothing to change.

Membership data action

Get customer membership data Return a customer’s current membership data — plan, status, billing information — for use in downstream Flow steps. Runs synchronously, so later steps in your workflow can reference the returned data.

Reward actions

Create member discount code Generate a unique discount code for a member to use toward purchases.

Configure:

  • Discount type
  • Amount

Add store credit Add store credit to a customer’s Shopify account. Cumulative — each action run adds to the existing balance.

Configure:

  • Amount

Add store credit from order Add store credit worth a percentage of an order’s total, for example 5% back on every order a member places. The credit is in the order’s currency, and like Add store credit it adds to the customer’s existing balance.

Configure:

  • Order (the order whose total sets the amount)
  • Percentage (enter 10 for 10%; more than 100 is allowed)

Remove store credit Remove store credit from a customer’s Shopify account.

Configure:

  • Amount

Start from a Flow template

In Shopify Flow, open Templates and filter by Zendra to browse ready-made membership workflows. You can start with a template for an earned membership after a customer reaches a spending or order milestone, store credit when a membership starts or renews, a response to a failed billing attempt, or Cancel complimentary memberships when customer unsubscribes, which cancels complimentary memberships when a customer leaves a segment you choose, such as your email subscribers. Review the trigger, conditions, and actions before turning the workflow on. Some templates use another app and require that app to be installed.

Zendra membership workflow templates in Shopify Flow, including rewards, renewals, and cancellation examples

Setting up a Flow with Zendra

  1. In your Shopify admin, go to Settings » Apps » Shopify Flow (or search for “Flow” in the admin search bar)
  2. Click Create workflow
  3. Choose a trigger — can be a Zendra membership trigger or any Shopify trigger like “Customer created” or “Order placed”
  4. Optionally add conditions to narrow when the workflow runs (e.g., only when an order exceeds a certain amount, or only for customers with a specific tag)
  5. Add a Zendra action — select from the available triggers and actions above
  6. Configure the action settings and activate your workflow

The workflow will run automatically whenever the trigger fires and all conditions are met.

Example workflows

Here are a few quick patterns to get you started:

Welcome credit for new members Trigger: Membership started → Action: Add store credit ($10) New members get an immediate credit to thank them for joining and encourage purchase. If your plans offer a free trial, add a condition that the membership’s is_trialing field is false, and build a second workflow on Membership trial converted, so members earn the credit once they’ve paid.

VIP membership on high-value orders Trigger: Order paid → Condition: Order total exceeds $200 → Action: Create membership (VIP plan, 1 year access) Automatically reward customers who make big purchases with premium access. (Great for triggering earned memberships based on lifetime value, too!)

Win-back offer for cancelled members Trigger: Membership cancelled → Condition: Wait 30 days → Action: Create member discount code Re-engage lapsed members with a special offer after they cancel.

Auto-cancel complimentary memberships on paid signup Trigger: Membership subscription started → Action: Cancel complimentary memberships Clean up memberships you granted by hand when a customer upgrades to a paid subscription. Free plans the customer signed up for themselves aren’t cancelled by this action.

For detailed Flow templates and step-by-step walkthroughs, check the Shopify Flow guides on the Zendra blog.

Common issues

  • A workflow isn’t firing. Confirm the trigger is a Zendra trigger and the workflow is turned on in Shopify Flow.
  • An action did nothing. Check the workflow’s conditions — the member may not have matched them.
  • A welcome workflow runs for free trial members too. Membership started fires for trials as well as paid memberships. Add a condition that the membership’s is_trialing field is false, or move the workflow to Membership trial converted.
  • I can’t find Cancel free memberships. It’s now called Cancel complimentary memberships, and it works the same way.
  • A workflow that references the customer never ran. Workflows built on a Zendra trigger that pass the customer into a later step now receive a customer reference Shopify Flow accepts. If you built one before August 2026 and it never ran, turn the workflow off and back on in Shopify Flow, then trigger it again.

Keep learning

Colophon. Reprinted from the Zendra Field Journal, the notes we keep on why customers stay. The original, with any later corrections, lives at zendra.com/docs/shopify-flow/. Paper copies are welcome to wander; the catalogue number stays with us.

Still stuck? Contact support and we’ll help.