Automate with Shopify Flow

With Shopify Flow, you can run automations when something happens to a subscription, and change subscriptions from your workflows. For example: tag a customer when their payment fails, or skip an order when a product is out of stock. There's nothing to connect.

Before you start: install the free Shopify Flow app from the Shopify App Store.

Start a workflow from a subscription event

  1. In Flux, go to Settings › Integrations and click Manage on Shopify Flow, then Open Shopify Flow.

    The Shopify Flow page in Flux, with the Open Shopify Flow button and each trigger marked In use or Not used.

  2. Create a workflow. When you choose the trigger, search for Flux Subscriptions.

  3. Choose a trigger, add your conditions and actions, and turn the workflow on.

Every trigger gives your workflow the customer, the subscription with its products, status, next order date and portal link, and who made the change: the customer, you, a bulk action, Shopify Flow, Zapier or the system.

  • Subscription created, paused, resumed, reactivated and expired
  • Subscription cancelled: with the reason and comment the customer gave.
  • Subscription order upcoming: a set number of days before the next order. Set the days on Flux's Shopify Flow page.
  • Subscription renewal succeeded: with the new order.
  • Subscription payment failed: with the attempt number, whether Flux will retry, and when.
  • Subscription payment retries exhausted: with what Flux did to the subscription.
  • Subscription order skipped and Subscription next order date changed
  • Subscription product swapped and Subscription products updated
  • Subscription shipping address updated

Flux sends a trigger only while a workflow that's turned on uses it. On Flux's Shopify Flow page, each trigger shows In use or Not used.

Change subscriptions from a workflow

Search for Flux Subscriptions when you add an action. Each action needs the Subscription ID: use {{ subscriptionId }} from a Flux trigger, or the subscription contract ID from Shopify's own subscription triggers.

  • Pause subscription (active subscriptions)
  • Resume subscription (paused subscriptions). A next order date that passed while it was paused moves to the next one.
  • Cancel subscription, with an optional Cancellation reason
  • Skip next order
  • Update next order date: a date after today, written as YYYY-MM-DD.
  • Apply discount code: a discount code from your store, for the subscription's future orders.
  • Send payment update email: Shopify emails the customer a link to update their card.

Most actions have Email the customer: tick it to send the customer Flux's email for that change, if that email is turned on in Settings › Notification.

A change made by a Flux action doesn't start Flux triggers again, so a workflow can't loop.

Send PushOwl push notifications

Choose a Flux trigger, add PushOwl's Send push notification action, and use the subscription's details in the message, for example {{ subscription.nextOrderDate }}.

Check that it works: on Flux's Shopify Flow page, Recent activity shows each trigger Flux sent and each action it ran. If an action fails, Flow shows Flux's reason, for example "Only an active subscription can be paused."

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us