本ページではShopifyアプリ らんキィとStoreCRMの連携機能の概要と設定方法を紹介します。
How to cooperate
- らんキィ提供のShopify Flow 「Rank Rank update」トリガーを基点に StoreCRMのアクション「Add customer metrics data」アクションにてポイント変動時の 各データをStoreCRMに取り込み。
What can be done through collaboration
- ランクのアップデートを基点としたメルマガ、LINE施策
- 特定のランクの顧客に対してのメルマガ、LINE配信施策
Set up a linkage process in Shopify Flow when points are awarded.

①Shopify FlowでFlowの新規作成をおこないます。トリガーとして、 「Rank update」トリガーを選択します。

(2) As an action, the StoreCRM action "Add customer metrics dataSelect the "Action.

(iii) "Add customer metrics dataThe various values will be entered in the "Action" section of the "Action". The values to be specified are as follows
Customer ID: {{customer.id}}
Meta key:任意の値(ここでは、ranky_rank_updateと入力して進めていきます)
Meta value:{{newRankTitle}}
Application slug:任意の値(ここでは、rankyと入力して進めていきます)
Turn on the workflow when you have completed the entry.

5) To retain the point values received by StoreCRM, go to the StoreCRM screen and add a new meta field from [Customer] > [Meta Field List]. In the Add Meta Field screen, enter and save the information as shown below.
Name: any string
Type: Custom metadata
Meta field Key: Value of Meta key specified in (3)
Meta field value Type: numeric
operation check

ポイントの変動や、ランクの変動があったタイミングでStoreCRMへらんキィの値が連携されます。正しく連携が行われると、StoreCRMの顧客詳細画面内のメタフィールドの項目に追加したメタフィールドの値が表示されます。