Basic operations and settings

Basic operations and settings

How to Integrate easyPoints x StoreCRM

  • Last updated:

This page provides an overview of the integration functionality between the Shopify application easyPoints and StoreCRM and how to set it up.

How to cooperate

  • Using easyPoints' CSV export data, StoreCRM's import function imports each customer's point data.
  • Based on the "Point Balance Update" trigger of Shopify Flow provided by easyPoints, each data at the time of point fluctuation is imported into StoreCRM by the "Add easyPoints data" action of StoreCRM.
  • Based on the "Tier Update" trigger in Shopify Flow provided by easyPoints, data from each rank change is imported into StoreCRM using the "Add customer metrics data" action in 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 policies based on events such as when ranks increase or decrease
  • Reminder e-mail and line delivery ● days before point expiration date
  • Segmentation based on user possession points and expiration date
  • Mail magazine and LINE distribution policies for the created segments

Initial setup for collaboration

Import easyPoints point information into StoreCRM

①easyPointsの[CSV]を開き、[エクスポート]を選択します。[インストールから]にチェックを入れ、最終日を指定して、全期間のCSVデータをエクスポートします。

easyPointsのCSVエクスポートでインストールからの全期間を指定

②StoreCRMアプリ画面の[データ]>[データインポート]を開き、[インポート元アプリ]でeasyPointsを選択します。[CSVを選択]から、ダウンロードしたCSVをアップロードします。取込の完了と結果は[現在の進行状況]・インポート履歴で確認してください。

StoreCRMのデータインポートでeasyPointsとCSVを選択

The initial import is complete when the point information is registered in the metafield data of the customer information.

顧客詳細に取り込まれたポイント残高・有効期限・ランク

Set up a linkage process in Shopify Flow when points change.

Create a new Flow in Shopify Flow. Select the "Point Balance Update" trigger.

Shopify FlowでeasyPointsのPoint Balance Updateトリガーを選択

(2) As an action, the StoreCRM action "Add easyPoints dataSelect the "Action" and set variables for each item as shown in the image.
*Refer to the string after Specify at the bottom of the item for each data variable in easyPoints.
Note: Entering {{expiresAt}} as-is also displays the time and time zone, so format it as
 {{expiresAt | date: "%Y-%m-%d"}}for example.

Add easyPoints dataに各変数を入力した設定画面
検証環境のアプリ名は「[STAGING] Obake」です。ご利用ストアではStoreCRMの同名アクションを選択してください。

Vary content by reward type

For the “easyPoints type data” field above, set{{type}} を設定すると、ポイント変動の種類(fulfillment・reward・manualなど)が入ります。ポイント変動の種類の「reward」(特典)を「birthday」「login」「referral」などto vary content by reward type,{{type}} use the following expression instead.

{% if type == "reward" %}{{ rewardType }}{% else %}{{ type }}{% endif %}

When the point fluctuation type is "reward", each reward type is entered into easyPoints type data and can be used in the execution conditions of scenarios and segments.

For a list of reward types, see the easyPoints help article “Point types and reward types that can be set in Shopify Flow”.

(iii) Turn on the workflow. This allows the latest data to be imported into StoreCRM when points fluctuate.

ポイント連携Flowとワークフローをオンにするボタン

Set up linkage processing in Shopify Flow when rank changes.

Create a new Flow in Shopify Flow. Select the "Tier Update" trigger.

Shopify FlowでeasyPointsのTier Updateトリガーを選択

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

StoreCRMのAdd customer metrics dataアクションを選択

(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: any value (in this case, enter easypoints_currenttiername to proceed)
Meta value: {{currentTierName}}
Application slug: arbitrary value (in this case, enter easypoints to proceed)

現在のランクをcurrentTierNameで保存する設定

(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: any value (in this case, enter easypoints_previoustiername to proceed)
Meta value: {{previousTierName}}
Application slug: arbitrary value (in this case, enter easypoints to proceed)

変更前のランクをpreviousTierNameで保存する設定

Turn on the workflow when you have completed the entry.

⑤StoreCRMが受け取った現在のランク名を保持するために、StoreCRMの画面へ移動し、[データ]>[メタフィールド一覧]から新しくメタフィールドを追加します。メタフィールドの追加画面では、下記の通りに入力を行い保存をしてください。

Name: any string
Target data: Customer
Type: Custom metadata
Meta field Key: Value of Meta key specified in (3)
Meta field value Type: string

現在ランクのカスタムメタデータ登録画面

⑥StoreCRMが受け取った変更前のランク名を保持するために、StoreCRMの画面へ移動し、[データ]>[メタフィールド一覧]から新しくメタフィールドを追加します。メタフィールドの追加画面では、下記の通りに入力を行い保存をしてください。

Name: any string
Target data: Customer
Type: Custom metadata
Meta field Key: Value of Meta key specified in (4)
Meta field value Type: string

変更前ランクのカスタムメタデータ登録画面。値の種類は文字列

(vii) After the configured Flow is activated, check the customer detail screen in StoreCRM. If the rank information of easyPoints is correctly described for the specified meta-field, the linkage has succeeded.

顧客詳細で現在ランクと変更前ランクを確認する表示例(サンプルデータ)
表示例(サンプルデータ):現在のランクがGold、変更前のランクがSilverの場合。連携後は、ご自身のストアの実際の値を確認してください。

easyPoints

StoreCRM

Related pages
TOP
en_USEnglish