# Reward EasyReviews with Store credit Using Dollarback

Reward your customers for leaving product reviews with store credit using the integration between **Dollarback: Cashback & Loyalty** and **EasyReviews ‑ Product Reviews**. This guide will walk you through creating an automated Shopify Flow that deposits store credit when a customer submits a review.

{% embed url="<https://youtu.be/gF89FitiZGA>" %}

***

#### 🔧 **Pre-requisites:**

Before starting:

* Install and configure both apps:
  * [Dollarback: Cashback & Loyalty](https://apps.shopify.com/dollarback)
  * [EasyReviews ‑ Product Reviews](https://apps.shopify.com/easyreviews)
* Shopify Flow must be installed and active on your store.

***

#### 🛠️ **Step-by-Step Integration Guide:**

**Step 1: Enable Shopify Flow Integration in Dollarback**

1. Open the **Dollarback** app.
2. Go to **Integrations**.
3. Under **Shopify Flow**, click **Enable**.

***

**Step 2: Setup Flow in Shopify Flow Using EasyReviews**

1. Open **Shopify Flow**.
2. Create a new flow and choose the **trigger**:
   * **“Product review received”** (this is from EasyReviews).
3. Add the **“Get customer data”** action:
   * Since the trigger doesn’t provide full customer/order data, use the email address to fetch it.
   * Use the advanced query:

     ```
     id: {{customerEmail}}
     ```
   * Sort by `id` in ascending order.
4. Add a **"For Each"** loop:
   * Loop over the returned customer data (e.g., `item in customerData`).
5. Add the **"Deposit store credit"** action from **Dollarback** inside the loop:
   * Set the **amount** (e.g., 100 store credits).
   * Choose the **expiration** duration (e.g., 30 days).

***

#### ✅ **Optional Enhancements:**

* Add filters such as:
  * Only reward reviews with a rating above 4 stars.
  * Only reward VIP customers.
  * Cap the number of credits per month.

***

#### 🧠 **Need Help?**

For custom workflows or advanced logic, reach out to the Dollarback team through the in-app support chat.

***

#### 🔗 **Related Links**

* [Dollarback App on Shopify](https://apps.shopify.com/dollarback)
* [EasyReviews App on Shopify](https://apps.shopify.com/easyreviews)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.dollarlabs.io/dollarback-store-credit/integrations/store-credit-for-submitting-review/reward-easyreviews-with-store-credit-using-dollarback.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
