Use Automatic Feedback Service with Shopify

This feature is included in the Free, Plus, Premium, Advanced, and Enterprise plans.

Automatic Feedback Service (AFS) can be used with Shopify to automatically send review invitations to your customers after they make a purchase or have a service experience with your business.

We already have a dedicated integration - however, you can use AFS as an alternative.

It’s important to note that if you’re already using our Shopify integration, you shouldn’t use AFS as well. Doing so would result in invitations being duplicated and sent out to customers twice.

To get started, you’ll need to add your Trustpilot AFS address in your emails notification settings. Here’s how to do it:

  1. In Trustpilot Business, go to Get reviews > Invitation methods > Trustpilot Automatic Invitations (AFS).
  2. Find your Unique Trustpilot email address and copy it.
  3. Log in to your Shopify account.
  4. From the menu, go to Settings > Notifications.
  5. Scroll down to Staff order notifications and click Add recipient.
  6. Select Email address in the Notification method drop-down menu, then enter the Unique Trustpilot email address that you copied in step 2.
  7. Next, you’ll need to add a structured data snippet to the notification email that you just set up. Go to Templates and click New order
  8. Insert the structured data snippet into the template.
    • For service reviews, insert this code:
      <script type="application/json+trustpilot">
      "recipientName": "{{  }}",
      "recipientEmail": "{{ }}",
      "referenceId": "{{ id }}",

      Click Save.

    • For Service and product reviews, insert this code:
      <script type="application/json+trustpilot">
      "recipientEmail": "{{ }}",
      "recipientName": "{{ }}",
      "referenceId": "{{ order_name }}",
      "products": [
      {% for line in line_items %}
      "productUrl": "https://{{shop.domain}}/products/{{ }}",
      "imageUrl": "{{ line | img_url: 'thumb' }}",
      "name": "{{ line.title }}",
      "sku": "{{ line.sku }}"
      {% endfor %}

      Click Save.

The notification is now set up - you’ll be able to get an overview of your invitation activity in your Trustpilot Business dashboard.

Related articles