Use Automatic Feedback Service with Shopify

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 could use AFS an 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 > Automatic Feedback Service.
  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": "{{ customer.name  }}",
"recipientEmail": "{{ customer.email }}",
"referenceId": "{{ id }}",
    }
</script>-->

Click Save.

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

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.