ワークフローの自動化

定期購入のイベントが起きたときに、アクションを自動で実行します。メールや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にします。

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

さらにサポートが必要ですか? サポートに問い合わせる