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.
Create a new mission and select the "Webhook" type.
Name your mission.
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.
Click on "Create workflow" and then "Select a trigger".
Search for your review app (e.g., Judge.me).
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.
Click the "+" button to add an action.
Select the "Send HTTP request" action.
Configure the fields as follows:
HTTP Method:
POSTURL: Paste the Webhook URL you obtained in step 1.
Headers:
Key:
Content-Type| Value:application/jsonKey:
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
}


