> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarback-store-credit/integrations/store-credit-for-submitting-review/reward-easyreviews-with-store-credit-using-dollarback.md).

# Reward EasyReviews with Store credit Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and EasyReviews Integration

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**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

***

**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)
