> 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-trustshop-reviews-using-dollarback.md).

# Reward TrustShop reviews Using Dollarback

If you're using **Dollarback: Cashback & Loyalty** alongside **TrustShop: Product Reviews**, you can seamlessly reward customers with store credit when they leave a review—automatically. This guide will walk you through integrating both apps using **Shopify Flow**.

{% embed url="<https://www.youtube.com/watch?v=Yd_-9JJJ8mI>" %}

***

**🛠️ Prerequisites**

Before setting up the flow:

* Ensure **both apps are installed**:
  * [Dollarback](https://apps.shopify.com/dollarback)
  * [TrustShop](https://apps.shopify.com/trustshop)
* Enable Shopify Flow Integration in both apps.

***

**🔌 Step 1: Enable Integrations**

**In Dollarback**

1. Go to the **Dollarback app** in your Shopify admin.
2. Navigate to `Settings > Integrations`.
3. Enable **Shopify Flow Integration**.

**In TrustShop**

1. Go to the **TrustShop** app.
2. Navigate to `Settings > Integrations`.
3. Under “Shopify Flow,” click **Integrate Now**.
   * Most stores will find this pre-enabled.

***

**🔁 Step 2: Create a Shopify Flow Automation**

1. Open **Shopify Flow** and create a new flow.
2. Set **trigger**:
   * **TrustShop: New Review Received**
3. Add **Action**:
   * Choose **Get Customer Data**
   * Sort by ID: Ascending
   * Limit results: 1
   * In “Query,” choose **Advanced** and type:

     ```
     id: {{ email }}
     ```
   * (This uses the email sent by TrustShop to identify the customer.)
4. Add a **For Loop**:
   * Input: Output of “Get Customer Data”
   * For each item:
     * Add **Action**: **Deposit Store Credit**
     * Configure:
       * Amount to credit (e.g., ₹50)
       * Expiry (e.g., 30 days from credit)

***

{% hint style="warning" %}
**⚠️ Note:**

TrustShop doesn’t send full customer objects, the workaround using email-based filtering (as shown above) ensures compatibility.
{% endhint %}

***

**✅ That's It!**

Your store is now set up to **automatically issue store credit** whenever a customer leaves a review through TrustShop.

If you face any issues or have questions, reach out to our support team through the Dollarback app dashboard.
