> This page is part of the [Customer.io documentation](https://docs.customer.io). For the complete index, see [llms.txt](https://docs.customer.io/llms.txt).
> Last updated: July 10, 2026

# Code editor: send Trustpilot reviews

Send Trustpilot reviews as emails using our code editor.

If you want to send [Trustpilot](https://support.trustpilot.com/hc/en-us/articles/213703667#afs-work-0) reviews through Customer.io, you can either [integrate with Zapier](/messaging/send/workflows/webhooks/action/#send-data-to-zapier) or follow the steps below. In this guide, you BCC Trustpilot in an email and include certain metadata, no formal integration required.

 Use the code editor

You must create the email with our [code editor](/messaging/channels/email/editors/code-editor/) to ensure the metadata is not stripped from the email.

1.  Obtain your unique BCC address from Trustpilot.
2.  In Customer.io, drag an email block onto your campaign or API-triggered broadcast. Or select *Email* for a newsletter or transactional message.
3.  Click **Add Content**.
4.  Under *Start from scratch*, choose **Code**, or under *Start from existing email*, click **Code** and choose an email made with the code editor.
5.  Add the BCC address to your email’s envelope.
    *   If you send the email content in a [Transactional API call](/integrations/api/app/#operation/sendEmail), your developer needs to add the email address to the`bcc` (or `fake_bcc`) field.
6.  Add this tag `<script type="application/json+trustpilot">` to pass along [the metadata Trustpilot needs](https://support.trustpilot.com/hc/en-us/articles/213703667-How-to-use-Automatic-Feedback-Service-AFS#add-your-dynamic-structured-data-snippet-to-your-trigger-email-6). Add the data you want to send, formatted as JSON. For instance, you could send customer data using liquid like `{{customer.latest_booking}}`, where `latest_booking` is a property you store in Customer.io.
    *   If you pass the email content in a [Transactional API call](/integrations/api/app/#operation/sendEmail), you need static values; liquid will not get evaluated.
7.  After Trustpilot receives the message (on BCC), they send the review request to your customer.

Copy page

Copy page [Download .md](/messaging/channels/email/recipes/bcc-trustpilot.md)

Is this page helpful?

![](https://docs.customer.io/images/export-success.png) ![](https://docs.customer.io/images/export-failure.png)

# How can we make it better?

Close

Do you need help from Customer.io support?  No  
 Yes

What part of Customer.io do you need help with? 

How can we improve this page?

Email (optional):  Please provide a valid email address

 I am not a bot

 

We appreciate your feedback!

Our support team will contact you as soon as possible
