This page provides an overview of the integration functionality between the Shopify app WherePoi and StoreCRM and how to set it up.
How to cooperate
- どこポイ提供のShopify Flow 「ポイントが付与された」トリガーを基点に StoreCRMのアクション「Add customer metrics data」アクションにてポイント変動時の 各データをStoreCRMに取り込み。
- どこポイ提供のShopify Flow 「ポイントが利用された」トリガーを基点に StoreCRMのアクション「Add customer metrics data」アクションにてポイント変動時の 各データをStoreCRMに取り込み。
What can be done through collaboration
- Mail magazine and LINE policies based on events such as when points are earned or spent
- Mail magazine and LINE distribution policies for the created segments
ポイントが付与された時の連携処理をShopify Flowにて設定

①Shopify FlowでFlowの新規作成をおこないます。トリガーとして、 「ポイントが付与された」トリガーを選択します。

(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:任意の値(ここでは、dokopoi_pointaddedと入力して進めていきます)
Meta value:{{dokopoiPoinTotalAdded}}
Application slug:任意の値(ここでは、dokopoiと入力して進めていきます)

(4) "Add customer metrics dataWe will add another action for the "+" action and enter the various values. The values to be specified are as follows
Customer ID:{{customer.id}}
Meta key:任意の値(ここでは、dokopoi_pointと入力して進めていきます)
Meta value:{{dokopoiPoint}}
Application slug:任意の値(ここでは、dokopoiと入力して進めていきます)
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

(6) In order for StoreCRM to retain the value of the current point, 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 (4)
Meta field value Type: numeric
ポイントが利用された時の連携処理をShopify Flowにて設定

①Shopify FlowでFlowの新規作成をおこないます。トリガーとして、 「ポイントが利用された」トリガーを選択します。

(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:任意の値(ここでは、dokopoi_consumedと入力して進めていきます)
Meta value:{{dokopoiPointConsumed}}
Application slug:任意の値(ここでは、dokopoiと入力して進めていきます)

(4) "Add customer metrics dataWe will add another action for the "+" action and enter the various values. The values to be specified are as follows
Customer ID:{{customer.id}}
Meta key:任意の値(ここでは、dokopoi_pointと入力して進めていきます)
Meta value:{{dokopoiPoint}}
Application slug:任意の値(ここでは、dokopoiと入力して進めていきます)

⑤StoreCRMが利用したポイントの情報を保持するために、StoreCRMの画面へ移動し、[顧客]>[メタフィールド一覧]から新しくメタフィールドを追加します。メタフィールドの追加画面では、下記の通りに入力を行い保存をしてください。
Name: any string
Type: Custom metadata
Meta field Key: Value of Meta key specified in (3)
Meta field value Type: numeric
動作確認

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