Shopify Flowで特定商品購入時に顧客タグや注文タグを自動付与する方法

[Free] How to Automatically Add Customer or Order Tags When a Specific Product Is Purchased with Shopify Flow

Tsunライターチーム

This article explains in detail how to use Shopify Flow to automatically add customer or order tags when a specific product is purchased. No app installation is required, so this simple setup can help streamline your store operations.

What Is Shopify Flow

Shopify Flow|Shopify App Store

Source: Shopify Flow|Shopify App Store

Shopify Flow is Shopify's own app that automates a wide range of tasks and processes that arise in store operations. Previously, it was only available on premium plans, but since July 2023 it has also become available starting from the Basic plan. Shopify Flow can be installed for free from the Shopify App Store.

The blog article below covers Shopify Flow in more detail. Please refer to it as well.

How to Add a Customer Tag When a Specific Product Is Purchased

In this section, we'll show you how to set up a workflow that automatically adds a customer tag of your choice whenever a specific product is purchased.

Step 1: Create a Workflow

Click 'Create Workflow' on the workflow list page

(1) Open the Shopify Flow app

(2) Click "Create Workflow" on the workflow list page

Select 'Order created' as the trigger

(3) Select "Order created" as the trigger

Using "Order created" allows the workflow to run whenever a new order is placed.

(4) For the condition, select "Order > LineItems_item > name"

Select 'Order > LineItems_item > name' for the condition

(5) For Name, choose "contains" and enter the product name

With this setting, the following action will run whenever the order's line items include the product name specified in (5).

For the action, select 'Add customer tags'

(6) For the action, select "Add customer tags"

(7) In Tags, enter the customer tag you want to add automatically

With this setting, the customer tag specified in (7) will be added to the buyer.

(8) Give the workflow any name you like

(9) Click "Turn on workflow"

Step 2: Check That It Works

Place an actual order for the target product and check whether the customer tag has been added to the buyer.

Place an actual order for the target product and check whether the customer tag has been added to the buyer.

How to Add an Order Tag When a Specific Product Is Purchased

In this section, we'll show you how to set up a workflow that automatically adds an order tag of your choice whenever a specific product is purchased.

The workflow and setup are almost the same as the [How to Add a Customer Tag When a Specific Product Is Purchased] section above.

In [Step 1, (6) and (7)], select 'Add order tags' for the action and enter the order tag you want to add automatically in Tags

The only difference is that in [Step 1, (6) and (7)], you select "Add order tags" for the action and enter the order tag you want to add automatically in Tags.

How to Add a Tag When a Product in a Specific Collection Is Purchased

You may also want to automatically add a tag when a product belonging to a specific collection, rather than a single specific product, is purchased.

Using a collection is helpful when there are many products for which you want to automatically add customer or order tags.

This setup is also almost the same as the workflow and settings described in [How to Add a Customer Tag When a Specific Product Is Purchased] above.

In [Step 1, (4) and (5)], select 'order > lineitems > product > collections > handle' for the condition and enter the collection's handle ID in Handle

The only difference is that in [Step 1, (4) and (5)], you select "order > lineitems > product > collections > handle" for the condition and enter the collection's handle ID in Handle.

Where to Find a Collection's Handle ID

You can find a collection's handle ID by opening the collection page and looking at the end of the URL in the "Search results section > URL handle" field.

Where to find a collection's handle ID

Conclusion

Above, we explained how to set up automatic tag addition using Shopify Flow. Taking advantage of this feature offers the following benefits:

  1. It eliminates the need for manual tagging, improving operational efficiency
  2. It prevents human error and enables consistent customer management
  3. It allows flexible condition settings at the product or collection level

Especially for stores handling multiple products or collections, taking advantage of this automation feature can help achieve more efficient customer and order management.

👆️目次はShopifyアプリ「RuffRuff 目次作成」を利用

👆️Table of contents by the Shopify app RuffRuff Table of Contents

Back to blog
  • Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・おすすめアプリを解説

    Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・お...

    Tsun ライターチーム

    Shopifyで日本式の領収書を発行する3つの方法を紹介します。無料のShopify Order Printerで使えるサンプルコード、適格簡易請求書の前提条件、日本向け領収書アプリ5選と運用の注意点を解説します。

    Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・お...

    Tsun ライターチーム

    Shopifyで日本式の領収書を発行する3つの方法を紹介します。無料のShopify Order Printerで使えるサンプルコード、適格簡易請求書の前提条件、日本向け領収書アプリ5選と運用の注意点を解説します。

  • Shopifyアプリ「日本インボイス領収書」とは|税率別の端数処理と軽減税率の注記に対応

    What is the Shopify app "JP Invoice Receipt"? |...

    Scanoria

    JP Invoice Receipt (日本インボイス領収書) is an app that issues receipts from Shopify orders. It supports rounding per tax rate, notes for the reduced tax rate, and issuance by buyers themselves.

    What is the Shopify app "JP Invoice Receipt"? |...

    Scanoria

    JP Invoice Receipt (日本インボイス領収書) is an app that issues receipts from Shopify orders. It supports rounding per tax rate, notes for the reduced tax rate, and issuance by buyers themselves.

  • 【決定版】Shopifyアプリ おすすめ一覧:売上アップ・効率化・無料アプリまで徹底解説!

    [2026 Latest] Recommended Shopify Apps: A Compl...

    Tsunライターチーム

    A detailed, purpose-by-purpose guide to recommended apps that streamline Shopify operations. Covers customer acquisition, CVR improvement, blog extensions, CRM, workload reduction, and AI-powered apps. Curated information useful for beginners and...

    [2026 Latest] Recommended Shopify Apps: A Compl...

    Tsunライターチーム

    A detailed, purpose-by-purpose guide to recommended apps that streamline Shopify operations. Covers customer acquisition, CVR improvement, blog extensions, CRM, workload reduction, and AI-powered apps. Curated information useful for beginners and...

  • Shopify Canvasとは?できること・使い方・注意点を解説

    What is Shopify Canvas? Capabilities, how to us...

    Tsun ライターチーム

    Shopify Canvas, announced on October 1, 2026, is a design screen where you can edit your theme together with Sidekick while viewing every page of your store side by side....

    What is Shopify Canvas? Capabilities, how to us...

    Tsun ライターチーム

    Shopify Canvas, announced on October 1, 2026, is a design screen where you can edit your theme together with Sidekick while viewing every page of your store side by side....

  • STORESからShopifyへのデータ移行手順|注意点も紹介

    [2026 Edition] How to Migrate Data from STORES ...

    Tsunライターチーム

    For merchants considering a move from STORES to Shopify, this guide explains the differences in pricing and features between the two services, which data can and cannot be migrated, the...

    [2026 Edition] How to Migrate Data from STORES ...

    Tsunライターチーム

    For merchants considering a move from STORES to Shopify, this guide explains the differences in pricing and features between the two services, which data can and cannot be migrated, the...

  • 【2026年最新】Shopifyの手数料一覧!プラン別の料率と費用を抑えるポイント

    [Latest for 2026] List of Shopify fees! Rates b...

    Tsun ライターチーム

    Explains the types of fees charged on Shopify and lists the rates for the Basic, Grow, Advanced, and Plus plans. Also introduces cost simulations by monthly sales and four points...

    [Latest for 2026] List of Shopify fees! Rates b...

    Tsun ライターチーム

    Explains the types of fees charged on Shopify and lists the rates for the Basic, Grow, Advanced, and Plus plans. Also introduces cost simulations by monthly sales and four points...

1 of 6
  • 【ストアインタビュー後編】やりながら育てるShopify。「野菜をMOTTO」の試行錯誤:モンマルシェ株式会社 河野雄士さん

    [Store Interview, Part 2] Building and Growing ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." An in-depth look at our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its...

    [Store Interview, Part 2] Building and Growing ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." An in-depth look at our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its...

  • 【ストアインタビュー前編】 ECが主戦場でも、ECが目的ではない。「野菜をMOTTO」が貫くEC戦略:モンマルシェ株式会社 河野雄士さん

    [Store Interview, Part 1] Even When E-Commerce ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." Part 1 of our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its e-commerce...

    [Store Interview, Part 1] Even When E-Commerce ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." Part 1 of our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its e-commerce...

  • 【ストアインタビュー後編】取り返しのつかない失敗さえしなければ、全部学びになる。EC戦略と経営哲学:Beverich株式会社 代表取締役 木下慶さん

    [Store Interview, Part 2] As Long as You Don't ...

    テキサス・アユミ

    Kei Kinoshita, President of Beverich, discusses his strategy for splitting roles between Shopify and Amazon, how he uses the RuffRuff apps, and a management philosophy that turns failure into learning....

    [Store Interview, Part 2] As Long as You Don't ...

    テキサス・アユミ

    Kei Kinoshita, President of Beverich, discusses his strategy for splitting roles between Shopify and Amazon, how he uses the RuffRuff apps, and a management philosophy that turns failure into learning....

1 of 3
  • Our Editorial Process

    For readers new to e-commerce and Shopify, we write our articles with care to explain difficult commerce and marketing terms, along with how everything works from building a store through to selling, as “gently,” “clearly,” and “accurately” as we can.

    Learn more 
  • About the information on this site

    The information published here is based on Tsun Inc.’s own experience and research. While we make every effort to publish information that is as “current” and “accurate” as possible, we cannot fully guarantee its contents. Tsun Inc. accepts no liability whatsoever for any damages arising from this site. If you find an error in the information published here, we would be grateful if you would contact Tsun Inc.