---
title: "ワークフローの自動化｜Subscriptionsドキュメント | Chargezen"
description: "定期購入のイベントが起きたときに、アクションを自動で実行します。メールやSMSの送信、商品の変更、割引の追加、注文へのタグ付けなどができます。"
url: "https://chargezen.com/ja/docs/subscriptions/workflows"
lang: "ja"
updated: "2026-10-18"
---

Canonical URL: https://chargezen.com/ja/docs/subscriptions/workflows

# ワークフローの自動化

定期購入のイベントが起きたときに、アクションを自動で実行します。メールやSMSの送信、商品の変更、割引の追加、注文へのタグ付けなどができます。

最終更新日：2026-10-18

ワークフローはルールです。定期購入に何かが起き、その定期購入が条件に一致すると、Chargezenが指定した処理をすぐに、または一定時間後に実行します。スターターキットを詰め替え品に切り替える、3回目の注文にギフトを付ける、倉庫向けに注文にタグを付ける、ちょうどよいタイミングでメッセージを送る、といった使い方ができます。**Subscriptions → Billing & automation → Workflow automations**を開きます。

## ワークフローを作成

1

#### 始める

**Create workflow**を選び、**Workflow details**で**Workflow name**を入力します。名前はチームだけに表示されます。

2

#### イベントを1つ以上選ぶ

**Events**で**\+ Add event**を選びます。選んだイベントのいずれかが起きると、ワークフローが実行されます。**When should this run?**で、**Right away**または**After a delay**（分、時間、日単位で最大30日）を選びます。

3

#### 必要に応じて条件を追加する

**Conditions (optional)**で**\+ Add condition**を選びます。条件が2つ以上ある場合は、**Run when**で**All of these conditions are true**または**At least one of these conditions is true**を選びます。条件がない場合、ワークフローは毎回実行されます。

4

#### アクションを追加する

**Actions**で**\+ Add action**を選びます。アクションは順番に実行されます。それぞれ**Right away**または**After a delay**（ワークフローの実行時から数える）を選べます。

5

#### オンにする

**Summary**でわかりやすい文章の説明を確認し、**Status**を**Active**にして**Save**を選びます。

## イベント

| グループ | 選択肢 |
| --- | --- |
| 定期購入のステータス | Subscription is created, Subscription is paused, Subscription is resumed, Subscription is reactivated, Subscription is cancelled, Subscription expires |
| 請求 | Upcoming renewal reminder, Subscription payment succeeds (first try), Subscription payment recovered (after a failed payment), Subscription payment failed (first attempt), Subscription payment failed (in dunning), Subscription payment failed (last attempt), Bank asks the customer to confirm a payment, Payment method needs attention, Product price change scheduled |
| 注文と商品 | Renewal held for out-of-stock products, Upcoming order is skipped, Product is swapped |

## 条件

| グループ | 選択肢 |
| --- | --- |
| イベント | Subscription came from checkout；Payment retries ended by（解約、一時停止、注文のスキップ、定期購入の継続）；Churn risk is（High、Medium、Low）；Customer was told about the change；Change wasn't made in Shopify's admin；It's the first failed payment；Payment method problem is（Can't be charged、Card expiring、Card expired）。それぞれ、説明しているイベントでだけ使えます。 |
| 請求の履歴 | Paid billing cycles; Consecutive paid billing cycles |
| プラン | Subscription has any of the selected plans; Subscription has any of the selected plan groups |
| 商品とバリエーション | タイトルが一致する商品（またはバリエーション）。比較にはis equal to、is not equal to、contains、does not contain、starts with、ends withを使います。または、選んだ商品（またはバリエーション）のすべて、いずれか、どれも含まない |
| 顧客 | Customer has a tag; Customer doesn't have a tag; Orders placed by the customer; Amount spent by the customer; Customer has no active subscriptions |

条件はワークフローの実行時に確認されます。待機後の実行では、その時点のワークフローが使われます。

## Actions

| グループ | 選択肢 |
| --- | --- |
| 通知 | Send emailとSend text：Templateを選びます。送信先（お客様またはストアのチーム）と、テンプレートを編集するリンクが表示されます。 |
| 定期購入 | Add discountとRemove discount（WELCOME10などのShopifyの割引コード）；Add trial period（無料の注文。作成された、または再有効化された定期購入のみ）；Change subscription plan（New plan） |
| 商品 | Add one-time product；Add subscription product；Remove one-time product；Remove product from subscription；Swap product（Replacement product、Quantity、Price：定期購入の割引なしの基本価格、またはプランの割引を適用した価格） |
| 顧客 | Add tag to customer; Remove tag from customer |
| 注文 | Add tag to order。注文のないイベントではスキップされます。 |

## 例

### スターターキットから詰め替え品へ

イベントは**Subscription payment succeeds (first try)**、条件は**Paid billing cycles**が1以上、かつ**Subscription has any of the selected products**にスターターキットを設定、アクションは詰め替え品への**Swap product**（または詰め替え品のプランへの**Change subscription plan**）です。

### 3回目の注文にギフト

イベントは**Subscription payment succeeds (first try)**、条件は**Paid billing cycles**が3以上、アクションはギフトを指定した**Add one-time product**です。

## 既定のワークフロー

Chargezenは、定期購入のメールとSMSを既定のワークフローで送ります。一覧では**Default**と表示されます。条件の変更、ステップの追加、**Draft**にして止めることはできますが、削除はできません。既定のワークフローには次のものがあります。

*   Welcome emailとWelcome follow-up email
*   Tag checkout ordersとTag renewal orders
*   Renewal confirmationのメールとSMS
*   Upcoming charge emailとUpcoming charge text
*   Card declined、Payment retry、Payment failed（cancelled、paused、final notice）、Payment recoveredのメッセージ
*   Bank confirmation、Update payment method、Card expiring、Card expiredのメールとSMS
*   Order delayedとPrice changeのメールとSMS
*   Paused、Resumed、Restarted、Cancelled、Skipped order、Product swappedのメールとSMS
*   注文の遅れ、一時停止、再開、再有効化、解約についてのストア向けアラート

## ワークフローの一覧

名前やイベントで検索し、種類（**Notifications**、**Order tags**、**Other**）とステータスで絞り込みます。列には**Runs when**、**Status**、**Last run**、**Errors**が表示されます。

権限

Subscriptionsへのアクセス権があれば、誰でもワークフローを表示できます。作成や変更には**Manage subscription flows**の権限が必要です。

## トラブルシューティング

### ワークフローが一度も実行されない

ステータスが**Active**であることを確認し、**Summary**の文章を読んでください。選んだイベントでは、ある条件が決して満たされないのかもしれません。イベントの条件には特定のイベントでしか使えないものがあり、どれが該当するかは作成画面に表示されます。

### 注文のタグが追加されなかった

一時停止やスキップなど、注文のないイベントでは**Add tag to order**はスキップされます。注文を作成するイベントを使ってください。

### 通知を止めるには？

その通知を送る既定のワークフローを開き、**Draft**にします。

## 関連情報

*   [定期購入のワークフロー](https://chargezen.com/ja/subscriptions/workflows)：Chargezenで自動化できること。
*   用語集：[商品の変更](https://chargezen.com/glossary/product-swap)、[1回限りの追加商品](https://chargezen.com/glossary/one-time-add-on)、[解約予測](https://chargezen.com/glossary/churn-prediction)。

### 関連記事

[

#### 定期購入の通知

ワークフローが送るメールとSMSを編集



](https://chargezen.com/ja/docs/subscriptions/notifications)[

#### 解約した定期購入者の呼び戻し

離れた定期購入者向けのワークフローの例



](https://chargezen.com/ja/docs/subscriptions/win-backs)[

#### フィルターとセグメント

ルールの対象にする定期購入を探す



](https://chargezen.com/ja/docs/subscriptions/segments)

このページは役に立ちましたか？

さらにサポートが必要ですか？ [サポートに問い合わせる](https://chargezen.com/docs/checkoutos/troubleshooting/support)
