Connect to Trustpilot via webhook and generate review invitation links.
Invite your customers to review your products and/or services on Trustpilot:
Webhooks
Webhooks are required for this integration.
Please contact your Customer Success Representative if you aren't already using Ometria's webhook feature.
Custom events
You should also contact your Customer Success Representative to raise a request for a custom event.
Ometria API key
You'll need an Ometria API key to complete the integration.
Only users with administrator account permissions can access the API keys tab.
Trustpilot domain
Finally, you should have your Trustpilot domain readily available, e.g. ometria.tp-testing.com
Set up a Trustpilot review invitations connection
In Ometria, go to Settings and select the Connections tab:
Click Add new connection, then select Trustpilot review invitations.
Authenticate using your Ometria account credentials and then click through to the next screen to enter your API key.
In the Webhook URLs screen there are two URLs:
- Get Product Invitation Public Url - for product reviews.
- Get Service Invitation Public Url - for service reviews.
You can copy one, or both.
Store them somewhere safe, as you'll need them to set up your webhook later.
Click Next and select your Language from the dropdown:
Click Next.
In the Trustpilot Authentication screen, enter your Trustpilot Domain.
Copy the URL in the second field and save it in a safe place.
Click Finish.
Wait at least two minutes, and then paste the URL in your browser and follow the steps there to complete your integration with Trustpilot.
Once you've done that you can set up your webhook in Ometria.
Configure your webhook
After you've set up your Trustpilot review invitations connection you can set up your webhook.
Please contact your Customer Success Representative if you aren't already using Ometria's webhook feature.
Follow these steps on setting up a webhook in Ometria and use the following details:
Field | Description |
Connection title | Name your webhook something easy to identify, e.g. Trustpilot Service Review Webhook", "Trustpilot Product Review Webhook". |
Webhook endpoint URL |
Paste in the Webhook URL you saved while setting up your connection. If you want both service and product review data, create two webhooks, one for each URL. |
HTTP headers |
Enter: {"X-Csrf-Token": "OMETRIA_API_KEY"} |
Template |
Enter: { "orderid": "{{ order.id }}", "products": {{ products | default({}, true) | tojson}}, "customer_email": "{{ profile.email }}", "customer_name": "{{ profile.firstname }}" } |
Save your webhook and click Test to make sure it's working as expected.
Select Update to finalise the configuration.
Create a Trustpilot review invitation campaign
You'll need to set up two separate automation campaigns:
- One to generate a review invitation link, triggered by an order. This uses your webhook to pull through an event from Trustpilot.
- One to send the review invitation links to your contacts, triggered by the Trustpilot event collected by the webhook.
Generate review invitation links
Create an automation campaign using Contact placed an order as your entry trigger:
Add the action Call webhook to your campaign flow and select the webhook you set up:
Save and publish your campaign.
Now when a contact places an order, the campaign will automatically enter them and generate a review request link via webhook.
Next, set up a separate campaign to send review invitations.
Send review invitations
Your second campaign is for sending the review invitation links you generated in the first campaign.
Create a campaign using the relevant Trustpilot review request event as a trigger (either for products or services):
Set up the rest of your campaign as usual.
You can define any wait nodes or segmentation as usual.
Use an email template with the right merge tag for your review invitation link.
Using your link as a merge tag
You can use the following merge tags in your automation campaign email templates:
- Service review link: {{ event.trustpilot_service_review_link }}
- Product review link: {{ event.trustpilot_product_review_link }}
You can use this as a CTA in your email templates.
See also: Calls to Action (CTAs) best practices
Comments
0 comments
Article is closed for comments.