Skip to main content

Validating Reviews via Shopify Flow

Written by Nawel
Updated over a week ago

Introduction

Shopify Flow allows you to automate the validation of "Review" type missions by connecting your third-party review apps (such as Loox, Judge.me, Okendo, etc.) directly to your loyalty program. By using this method, you automatically reward your customers as soon as they leave a review, without any manual intervention.


Setting up the Flow

To configure this workflow, follow these three simple steps:

1. Creating the mission

Before configuring Shopify Flow, you need to create a Webhook-type mission in your admin interface.

  1. Create a new mission and select the "Webhook" type.

  2. Name your mission.

  3. Once created, the system will generate a Webhook URL and a Loyalty Challenge Hash. Keep these handy.

2. Configuring the trigger

Go to the Shopify Flow app in your store.

  1. Click on "Create workflow" and then "Select a trigger".

  2. Search for your review app (e.g., Judge.me).

  3. Select the event that should trigger the reward (e.g., New Review).

3. Configuring the action

Once the trigger is set up, add the action that will send the information to the loyalty program.

  1. Click the "+" button to add an action.

  2. Select the "Send HTTP request" action.

  3. Configure the fields as follows:

  • HTTP Method: POST

  • URL: Paste the Webhook URL you obtained in step 1.

  • Headers:

    • Key: Content-Type | Value: application/json

    • Key: loyalty-challenge-hash | Value: Paste your Hash here.

  • Body: Insert the JSON code below. Make sure to replace the "X"s with your numerical values and use the dynamic email variable provided by Shopify Flow:

{   "challenge": X,   
"customer_email": "{{customer.email}}",
"points_value": X
}
Did this answer your question?