> For the complete documentation index, see [llms.txt](https://subscriptionsuite.gitbook.io/helpdoc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://subscriptionsuite.gitbook.io/helpdoc/getting-started/integrations/shopify-flow.md). Agents can also search and read this documentation through its [MCP server](https://subscriptionsuite.gitbook.io/helpdoc/~gitbook/mcp).

# Shopify Flow

Connect SubscriptionSuite with Shopify Flow to automate subscription management and create workflows that run automatically when specific events occur.

With **10 triggers and 28 actions**, you can automate tasks such as updating subscriptions, changing billing schedules, managing products, applying discounts, and more.

Shopify Flow works directly with SubscriptionSuite, so there's no API key or separate connection required.

***

### How to Use Shopify Flow

SubscriptionSuite is already integrated with Shopify Flow. You only need to create a workflow to start using it.

1. Go to **SubscriptionSuite → Integrations**.
2. Find **Shopify Flow** and click **Open Shopify Flow**.
3. Create a new workflow.
4. Select a **SubscriptionSuite trigger** to decide when the workflow should run.
5. Add any conditions or actions you want.
6. Turn on your workflow.

Once activated, Shopify Flow will automatically run the workflow whenever its conditions are met.

**Important:** SubscriptionSuite only sends a Flow trigger when an active workflow is using it.

***

### Available Shopify Flow Triggers

Triggers are events that start an automated workflow.

SubscriptionSuite provides 10 triggers:

| Trigger                      | When It Happens                                                       |
| ---------------------------- | --------------------------------------------------------------------- |
| Subscription Created         | A customer creates a new subscription                                 |
| Subscription Cancelled       | A subscription is cancelled                                           |
| Subscription Paused          | A subscription is paused                                              |
| Subscription Activated       | A paused subscription becomes active again                            |
| Subscription Billing Success | A recurring subscription payment succeeds                             |
| Payment Failed               | A recurring subscription payment fails                                |
| Subscription Updated         | Subscription products, quantities, prices, or shipping address change |
| Billing Interval Changed     | A subscription's billing frequency changes                            |
| Next Order Date Changed      | The next scheduled order date changes                                 |
| Upcoming Order Notification  | An upcoming order notification is sent before renewal                 |

These triggers let you create automations based on real subscription activity.

For example, when a customer cancels a subscription, you could automatically add a Shopify customer tag or notify your team.

***

### Available Shopify Flow Actions

Actions are tasks that Shopify Flow performs automatically when a workflow runs.

SubscriptionSuite provides 28 actions, organized into different categories.

#### Subscription Status

* **Pause Subscription:** Pause an active subscription.
* **Cancel Subscription:** Cancel a subscription.
* **Update Subscription Status:** Set a subscription to Active, Paused, or Cancelled.
* **Hide Subscription:** Hide a subscription from the Customer Portal without stopping billing.

#### Products & Pricing

* **Add Line Item:** Add a recurring product or a one-time product to the next order.
* **Remove Line Item:** Remove a product from a subscription.
* **Update Line Item Quantity:** Change the quantity of a subscription product.
* **Replace Variant:** Replace an existing product variant with another.
* **Update Line Item Price:** Change the price of a subscription product.
* **Update Pricing Policy:** Change the discount applied to a subscription item.
* **Update Line Item Attributes:** Add or remove custom attributes on a subscription product.
* **Update Selling Plan:** Move a subscription item to another selling plan for the same product.

#### Billing & Delivery Schedules

* **Attempt Billing:** Attempt to charge a subscription's due order immediately.
* **Update Billing Date:** Move the next billing date to an earlier date.
* **Skip Order:** Skip the next subscription order or a specific item.
* **Update Billing Interval:** Change how often a subscription is billed.
* **Update Delivery Interval:** Change how often products are delivered.
* **Update Frequency by Selling Plan:** Change the subscription's billing and delivery frequency using another selling plan.
* **Update Max Cycles:** Set the maximum number of subscription billing cycles.
* **Update Min Cycles:** Set the minimum number of billing cycles required before cancellation through the Customer Portal.

#### Discounts

* **Apply Discount Code:** Apply a discount code to future subscription orders.
* **Remove Discount:** Remove an existing subscription discount code.

#### Shipping & Delivery

* **Update Shipping Address:** Change the delivery address for a subscription.
* **Update Delivery Method:** Change the shipping method name.
* **Update Delivery Price:** Update the shipping amount charged on renewals.

#### Payments & Additional Information

* **Send Update Payment Method Link:** Email customers a secure link to update their subscription payment method.
* **Update Order Note:** Add or update notes associated with subscription orders.
* **Update Note Attributes:** Add or remove custom subscription attributes that are copied to orders.

**Note:** SubscriptionSuite actions require the relevant subscription's **Contract GID**. You can use the Contract GID provided by a SubscriptionSuite trigger when configuring actions in Shopify Flow.

***

### Example Workflows

Here are some ways you can use Shopify Flow to automate subscription management.

#### 1. Help Customers Recover Failed Payments

**Trigger:** Payment Failed

**Action:** Send Update Payment Method Link

When a subscription payment fails, automatically send the customer a secure link to update their payment details.

#### 2. Reward Subscribers After Successful Payments

**Trigger:** Subscription Billing Success

**Condition:** Check whether the customer has reached your desired renewal milestone.

**Action:** Apply Discount Code

Reward eligible customers with a discount on future subscription orders.

#### 3. Get Notified When a Subscription Is Cancelled

**Trigger:** Subscription Cancelled

**Actions:** Add a Shopify customer tag and send an internal notification.

This helps your team track cancellations and follow up when needed.

#### 4. Automatically Update Subscription Frequencies

**Trigger:** Subscription Created

**Action:** Update Frequency by Selling Plan

Move eligible subscriptions to another selling plan with the billing and delivery frequency you want.

***

### What Makes Shopify Flow Different?

Unlike email marketing integrations, Shopify Flow can actively make changes to subscriptions.

For example:

* **Klaviyo, Omnisend, and Drip** receive subscription events to help you build email and SMS automations.
* **Shopify Flow** uses subscription triggers and actions to automate tasks within Shopify and SubscriptionSuite.

You can use Shopify Flow alongside your email marketing integrations without needing to disconnect them.

***

### Important Things to Know

* Shopify Flow does not require an API key or separate connection.
* Triggers only run when an active workflow is using them.
* Each action requires the relevant subscription information, such as its Contract GID.
* Some actions change future subscription orders, while others can affect the subscription immediately.
* Actions that change billing dates, pricing, discounts, or subscription status should be configured carefully and tested before using them with real customers.

***

### Need Help?

If you need assistance creating a Shopify Flow workflow or configuring SubscriptionSuite triggers and actions, contact our support team through the **in-app chat**.
