継続記念プレゼントの設定記事バナー画像

[GO SUB x Shopify Flow] A detailed explanation of how to automatically set up gifts to celebrate subscription renewal, including a flow diagram

Jun 25, 2025

In a subscription business, customer retention is one of the most important factors in maximizing LTV (customer lifetime value). Acquiring new customers is of course important, but having existing customers continue to use the service for a long time is essential for the stability and growth of the business. The longer customers continue to use the service, the higher their LTV will be, which ultimately translates directly into the company's profits.

Especially in the subscription model, building long-term relationships with customers is key to success. By providing an experience that makes customers feel glad to continue using the service, they will become strong advocates of the brand and will lead to further customer referrals.

So this time, I will introduce the Shopify app " GO SUB For stores using ", we are introducing the free Shopify app " Shopify Flow We will introduce how to integrate " and dramatically improve customer retention. A detailed explanation with flow diagrams on how to build a system that automatically sends gifts to customers who have completed 10 consecutive subscriptions. We will continue to do so.


Shopify Flowとサブスクリプションでプレゼント自動化

Work Overview

The general work flow for this project is as follows:
Now, let's take a look at each step!

1. Registering gift items

Register the product on Shopify. At the same time, set metafields so that they are not displayed on the storefront.

1-1. Product registration: Register the required information on the product information screen.
1-2. Exclude from search: Set metafields to be excluded from the search screen.
🏷️

2. Setting order tags in GO SUB

Set up your subscription order to be automatically credited to your order.

⚙️

3. Setting up Shopify Flow

Use GO SUB triggers to add automatic giveaways to your orders.

1. Registering gift items

This time, we will create a system that automatically sends gifts when a certain number of subscriptions are reached.
In this step, we'll create the gift item.

1. Registering gift items

Register the product on Shopify. At the same time, set metafields so that they are not displayed on the storefront.

1-1. Product registration: Register the required information on the product information screen.
1-2. Exclude from search: Set metafields to be excluded from the search screen.

1-1. Product registration

Register the gift items through Shopify's product registration.

There is no need to provide a detailed description as it will not be displayed on the storefront.


Points requiring attention in settings

  • The price is 0 yen Register with

  • Set this if you need inventory tracking

    • If you do not want to track inventory, uncheck "Track quantity"

  • In the "Publish" section Not included in any sales channel


Once you've done this, save it.

1-2. Setting exclusions from scanning

If things stay this way, 0 yen gift items will be displayed in the store's search function and in search results on Google, etc.
We will use meta fields to configure them to be excluded from searches.



Shopify > Settings > Metafields and MetaObjects > Products

You can add new definitions by clicking the "Add definition" button.


  • Name: Anything easy to understand is fine

  • Namespace and key: seo.hidden Be sure to specify this string.

  • Type: Integer, single value


Please enter any description etc. Once you have finished setting everything, save it.

商品メタフィールドの定義


Return to the product registration page for the gift item you just created.

Scroll down the page and find the Product Metafields section.

The "Exclude from search" meta field you set earlier should be displayed there, so enter "1" here and save.

検索から除外の設定を保存

This setting will allow you to exclude it from search results.

Please try searching the storefront.



2. Setting order tags in GO SUB

Next, we will set up a feature in the subscription app "GO SUB" that will assign the number of subscription orders as an order tag.

🏷️

2. Setting order tags in GO SUB

Set up your subscription order to be automatically credited to your order.

Open Shopify > GO SUB > Settings > Tags.

GO SUBのタグ設定画面

Check "Subscription ID and number of times" in the order management tag and save. If it is already set, you don't need to do anything!

Set other tags as necessary.

GO SUBのタグ設定 サブスクリプション回数タグ


Now, when a subscription order is placed, the order will be tagged and you'll be able to easily see which order it is!


Below is the order tag set for the 10th order. This tag starting with "subscription-count:" will be used in the next step, Flow!

注文タグが設定されている画面

3. Setting up Shopify Flow

Now that you have registered and set up your gift products and completed tagging in GO SUB, you will use Shopify Flow to automatically set up gifts to be included in subscription orders!

⚙️

3. Setting up Shopify Flow

Use GO SUB triggers to add automatic giveaways to your orders.

Go to Shopify > Apps > Flow and create a workflow.


Select a trigger. From the list, select GO SUB and then "Reccuring order created."

Flowのトリガー選択画面

Just to be on the safe side, we add a 2 second wait to ensure that the order tag is applied.

Then you specify the conditions.

Flowの条件分岐追加画面

Set the condition as follows: If the order tag contains the tag "subscription-count:10".

Please change the count based on your strategy. In this example, we've specified 10 since this is the 10th order.

Flowの条件分岐詳細設定画面

The final action is to add an item to the order.

Select “Add order line item” from Shopify and add it to the flow.

Flowの商品追加アクション選択画面

Set the details of the action.

For Product variant, specify the gift product you created in step 1.

The quantity is set to 1, but you can change it to any value.

商品追加の詳細設定画面


Explanation of other items

  • Allow duplicate variants

    • Add a product even if the order already contains the product

    • In this case, it doesn't really matter, so I have it turned off.

  • Email order updates to customer

    • In order to add products after the order is confirmed, you can choose whether or not to send a message to the customer notifying them that the product has been added.

    • In this case, it is set to OFF, but you can set it to ON if necessary.

  • Order timeline note

    • Add a note to your order

    • This is a memo that can only be viewed on the administration screen. Please set it as necessary.



Overall flow diagram

The overall flow with all of the above set up is as follows.
設定したFlowの全体図

How to import a flow

Once you have downloaded the sample flow, import it using the "Import" button in the top right of the Flow app.

Please change and set the products and other settings as necessary.

ダウンロードしたFlowのインポート

We cannot guarantee that it will work, so be sure to test it first.

This flow is not complicated, so it won't take much time to create it from scratch without using the import function.

4. Operation check

Finally, let's check how the flow works when a real order is placed!

Below are the details of the Flow that was actually completed.

The flow starts with the trigger, Reccurring order created, and waits for 2 seconds.

After that, a check is made to see if the specified tag is included in the order, and because the condition is met, the next step, Add order line item, is executed.

成功したFlowの画面

You can also check your order details to confirm that the items have been added correctly.

In the history at the bottom of the screen, you can also see any edits made to your order by Flow.

プレゼントが追加された注文画面


By the way, the following is a follow-up for when you are not eligible.
Because the last condition branch was false, the last Add order line item was completed without being executed.

失敗したFlowの画面


By looking at the flow results in detail, you can see where it stopped, what didn't match the conditions, and so on, so be sure to check it out if things aren't going as you expected.



summary

What did you think? In this article, GO SUB and Shopify Flow We have explained in detail how to set up an automatic gift function based on the number of times a subscription is renewed by linking the above two services.

Improving customer retention is essential to the success of subscription businesses. Automated customer engagement measures like those introduced here will improve customer experience and contribute greatly to maximizing LTV.

still GO SUB If you haven't installed it yet, please consider installing it now. GO SUB and Shopify Flow Make the most of it to build strong relationships with your customers and further grow your subscription business!



About GoSub

  For more information about GoSub, click here  

  GoSub help page is here  

  Install GoSub here  


We are updating articles daily about GoSub's new features and how to use it!

Click here for a list of GoSub related articles 

Kanayo

Kanayo Uehara

GO RIDE Engineer

Fukuoka -> Yokohama -> Vancouver, Canada


GO SUB Tips お役立ち情報