Skip to main content

How do I integrate Subi with the Shopify Flow app?

Learn how to connect Subi to Shopify Flow and automate your subscription workflows.

Updated this week

Shopify Flow lets you build custom automations without coding, helping you run your business more efficiently. With Flow, you can connect your apps, create unique workflows, and save time for growth.


Accessing the Shopify Flow app

You can install the Shopify Flow app from the Shopify App Store.
Once installed, you can create a workflow manually or start with a pre-made template.

For more guidance, review Shopify's official documentation.


How Shopify Flow works

Shopify Flow is event-based: it monitors your store for events and triggers automated actions when certain conditions are met.

Workflow components:

  • Trigger: The event that starts a workflow (e.g., a new subscription contract is created).

  • Condition: A rule that determines whether an action should happen (e.g., subscription value is over $200).

  • Action: The change made in your store or app if the condition is met (e.g., adding a customer tag).


Integrating Subi with Shopify Flow

The Subscription contract created trigger starts a workflow when a customer subscribes to a product on your store or purchases a membership.

This trigger starts a workflow when a customer subscribes to a product or purchases a membership.
You can use this trigger with actions such as:

Example: Add a tag to a customer when a subscription contract is created.

Example of a workflow that adds a tag to a customer when a subscription contract is created


Flows you can use for your subscriptions

Here are some sample flows about subscriptions that you can download and import to your Shopify Flow app:

Num.

Flow

Description

Download link ⬇️

Send subscription data to Klaviyo

Sends subscription data to Klaviyo for email automations.

Tag failed subscription payments

Tags customers with failed payments and the failure reason.

Tag customers by subscribed product

Adds tags for customers based on the product they subscribe to.

Email staff when a subscription order is created

Sends an internal email to staff for each new subscription order.

Tag subscription orders with creation date

Adds a tag with the order creation date to subscription orders.

1. Send subscription data as an event to Klaviyo

This flow sends your subscription data to Klaviyo as an event, so it can be used in Klaviyo email automation.

Steps:

  1. Install Klaviyo and connect it to your Shopify store.

  2. Import the flow into your Shopify Flow app.

  3. Open the flow and select the Track an event action.

  4. Enter your Klaviyo Public API Key (found in Klaviyo app > Account > Settings > API Keys).

  5. Update the event name if desired (default is subscription contract is created).

  6. Turn on the workflow.

  7. Create a test subscription in your store.

  8. In Klaviyo, add the event to your email automation.


2. Tag failed subscription payments with reason codes

This flow adds tags to customers whose subscription payment fails, including the reason for the failure.

Steps:

  1. Import the flow into your Shopify Flow app.

  2. Turn on the workflow.

Result:
When a subscription payment fails, the customer receives two tags:

  • The reason for the failed payment

  • Last subscription payment failed

You can then create a Shopify customer segment based on the second tag to see all customers with failed payments, review the failure reason tag, and contact them or send an “update payment method” email.


3. Tag customers when they subscribe to a specific product

This flow tags customers who subscribe to a specific product or purchase a membership.

Steps:

  1. Import the flow into your Shopify Flow app.

  2. Open the flow and select the Add customer tags action.

  3. In the Tags field, enter your tags or click the </> icon to add dynamic tags from subscription contract values (e.g., product title, variant title, subscription interval).

  4. Turn on the workflow.


4. Email staff when a new subscription order is created

This flow sends an internal email to staff whenever a new subscription order is placed.

Steps:

  1. Import the flow in your Shopify Flow app.

  2. Open the flow and click on edit.

  3. Click on the "send internal email" action.

  4. Fill in the email address field.

  5. Add more information to the email you want to get after each order.
    (Click on the </> icon in the tags field to add any information regarding the order, its customer, and their subscription based on the values available.

  6. Turn on the workflow.

  7. Test it out by placing a test order.


5. Tag subscription orders with the creation date

This flow tags any subscription order with the date it was created.

Steps:

  1. Import the flow in your Shopify Flow app.

  2. Open the flow and click on edit.

  3. Turn on the workflow.

  4. Test it out by placing a test order.

Result:
Any order linked to a subscription contract in Subi will have a tag containing the order creation date.

Did this answer your question?