All Collections
Integrations
Shopify Flow x Subify Integration
Shopify Flow x Subify Integration

How to integrate Subify into the Shopify Flow app

Updated over a week ago

Shopify Flow empowers you to build custom automations that help you run your business more efficiently. Flow makes it beyond easy to create unique workflows without needing to code, giving you more time to focus on growing your business. It even lets you connect your existing apps together to complete even more jobs.

Shopify Flow is available only to the following:

  • stores that subscribe to the Shopify Plus, Advanced, or Shopify plans

  • stores that use the Shopify Fulfillment Network (SFN)


In This Article:


Where can I access Shopify Flow App?

You can install the Shopify Flow app from this link.

In Shopify Flow, you can either create a new workflow manually or by using a pre-made template.

For more information about getting started with Shopify Flow, refer to the video How To Use Shopify Flow or read this article.


How does Shopify Flow work?

Flow is an event-based feature that enables you to create automated workflows. This means that Flow monitors your store for events, and lets you create an automated sequence of actions that are taken in response.

To create these automations, you build a workflow using components called triggers, conditions, and actions.

Workflow component

Description

Example

Trigger

A trigger is an event that starts a workflow, and can be something that happens in your store or in an app.

A new subscription contract is created in your store.

Condition

A condition determines whether an action is taken, based on the conditions that you set.

A condition is set to check whether the total amount paid for the subscription is over $200.

Action

An action is a change that's made to your store or in an app if the condition is met.

If the total amount paid for the subscription is over $200, then a tag is added to the account of the subscriber.


How to integrate Subify into the Shopify Flow app?

Method 1: "Subscription contract created" Trigger

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

The following actions can be used in workflows that start with the Subscription contract created trigger.

Example:
In this example workflow, a tag is added 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

Method 2: Subify Triggers

Subify now has 4 triggers that you can use to start your workflow with:

  1. Subscription Contract Status Cancelled

    When a subscription contract status is changed to canceled

  2. Subscription Contract Status Paused

    When a subscription contract status is changed to paused

  3. Subscription Contract Status Resumed

    When a subscription contract status is changed to resumed

  4. Subscription Created

    Triggers when a new 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 as an event to Klaviyo

You can send the data of your subscriptions to the Klaviyo app as an event that can be used in Klaviyo email automation flows.

Know why a subscription payment has been failed by the customer tags

You can add tags to a customer who has a failed subscription payment with the reason why that payment failed.

Add tags to customers who subscribe to a specific product

Email your staff when a new subscription order is created

Send an internal email to any email address you like when a new subscription order is created.

Tag subscription orders with the "date" the order was created

Any order that is related to a subscription contract in Subify, will have a tag containing the order creation date.

1. Send subscription data as an event to Klaviyo

You can send the data of your subscriptions to the Klaviyo app as an event that can be used in Klaviyo email automation flows:

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

  2. Import the flow in your Shopify Flow app

  3. Open the flow and click on "Track an event" action.

  4. Fill in the Klaviyo Public API Key. (Navigate to "Klaviyo app > Account > Settings > API Keys" to get your public API key)

  5. Change the event name if needed. (The default name is "subscription contract is created")

  6. Turn on the workflow.

  7. Create a test subscription on your store.

  8. Go to Klaviyo and add this event to your email automation.


2. Know why a subscription payment has been failed by the customer tags

You can add tags to a customer who has a failed subscription payment with the reason why that payment failed:

  1. Import the flow in your Shopify Flow app

  2. Turn on the workflow.

This workflow will add two tags to the customer when their subscription payment is failed:
1. The reason why the payment was failed

2. The "last subscription payment failed" tag.

You can then create a customer segment in Shopify based on the second tag. This will filter all the customers whose subscription payments failed; then, you can read the reason tag on each customer and contact them accordingly or send them the "update payment method" email.


3. Add tags to customers who subscribe to a specific product

You can add tags to the customer who subscribes to a specific product or purchase a membership on your store:

  1. Import the flow in your Shopify Flow app

  2. Open the flow and click on the "Add customer tags" action.

  3. Fill in the Tags field.
    (Click on the </> icon in the tags field to add the tags based on the values available in the subscription contracts, like product or variant title that the customer has subscribed to, subscription interval, etc. (more detailed values are available in the "subscription contract" > "line" section)

  4. Turn on the workflow.


4. Email your staff when a new subscription order is created

  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 "date" the order was created

  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 that is related to a subscription contract in Subify, will have a tag containing the order creation date:


Attachments:

Did this answer your question?