Basic Operation and Settings

Basic Operation and Settings

らんキィ ランク変動時の施策

StoreCRMでは、Shopify Flowを活用することでShopifyアプリ らんキィのランク変動をトリガーとしてLINEを送ることができます。

Examples of measures that can be implemented

  • ランクアップ時にクロスセルを促すLINE配信
  • ランクに応じた特典のお知らせLINE配信

ランク変動時にStoreCRMからLINEを送る

Shopify Flowのらんキィのランク変動時のトリガー「Rank updated」を起点とするFlowを作成します。

Next, select the StoreCRM action. 3 actions are available for sending StoreCRM LINE: LINE Send StoreCRM Message (send a message defined in StoreCRM via LINE), LINE: Send Flex Message ( LINE: Send Flex Message ( Send Flex Message in LINE)" and "LINE: Send Text message ( Send Text message in LINE)".

今回は、LINEのメッセージ内でらんキィの「Rank updated」トリガーから与えられる、変数を活用したいため、「LINE: Send Flex Message (LINEでFlexメッセージを送る)」を利用して説明を進めます。

Of the three setting items in the "LINE: Send Flex Message" action, the alternative text and the Flex Message content are required fields.

Flex Messageのコンテンツはjson形式となった状態での入力が必要です。Flex Message Simulatorなどで生成したjson形式のコードの中に、「Rank updated」トリガーから与えられる変数を記載することで、テキストの代わりに現在のランクなどを表示させることが可能となります。

{
  "type": "bubble",
  "body": {
    "type": "box",
    "layout": "horizontal",
    "contents": [
      {
        "type": "text",
        "text": "現在のランク"
      },
      {
        "type": "text",
        "text": "{{newRankTitle}}"
      }
    ]
  }
}

The contents of the Flex Message described here are as above.

It is recommended to save the configured Flow and check the actual operation.
If the line is sent as shown in the image above, it is working fine.

TOP
en_USEnglish