Queue Trustpilot review invitations for every Shopify order

Every new order queues a Trustpilot review invitation timed to land about a week after checkout, and logs it to your tracking sheet.

Deterministic Code
TrustpilotShopifyGoogle SheetsMarketingOperationsEmail AutomationData Sync
PromptCreate

Poll my Shopify store for order events. Each time a new order comes in, I want a Trustpilot review invitation queued automatically, so nobody on my team has to remember to ask for reviews.

Before anything else, filter the order out if it is cancelled, if it is fully refunded, or if it has no customer email address on it. Skip those orders silently and do not log them as invitations. From every remaining order, take the buyer's email address, their first name, and the order number.

Resolve my Trustpilot business unit once using Find Business Unit with my store's domain, then call List Invitation Templates to get the invitation email templates available to that business unit. Pick the template I have configured by name, falling back to the first available template if that name is not found. Do not create a new template.

Then call Send Email Invitations for that business unit. Pass the buyer's email address and first name as the recipient, pass the chosen template, and pass the order number as the reference id so every review that comes back ties to a real purchase. Set the preferred send time to roughly seven days after the order was placed, so the invitation lands after the parcel has arrived rather than at checkout.

After each invitation is queued, use Google Sheets Append Values to add a row to my tracking tab recording the order number, the customer email, the scheduled send date, and the template that was used.

Two implementation notes. The Trustpilot invitation endpoints live on a different host from the main API, https://invitations-api.trustpilot.com/v1, and they are private endpoints, so they need a bearer token minted through the client credentials exchange rather than the plain api key header. Also keep track of which order numbers have already been invited, so a re-polled order never produces a duplicate invitation. If Trustpilot rejects an individual invitation, log the failure and keep processing the remaining orders.

What does this prompt do?

  • Watches your Shopify store for new orders and picks up the buyer's first name, email address, and order number.
  • Schedules a Trustpilot review invitation to go out about a week later, so it lands after the parcel has arrived rather than at checkout.
  • Ties each invitation to the real order number, so the reviews you collect count as verified purchases.
  • Logs every invitation to a Google Sheets tab and quietly skips cancelled orders, fully refunded orders, and anyone without an email address.

What do I need to use this?

  • A Shopify store you can connect
  • A Trustpilot Business account on a plan that includes review invitations
  • At least one invitation email template already set up in Trustpilot
  • A Google Sheets spreadsheet with a tab for tracking invitations

How can I customize it?

  • Change the delay. Seven days suits most parcels, but you can shorten it for digital goods or stretch it for made-to-order items.
  • Pick a different invitation template, or choose between templates based on what the customer bought or which store they ordered from.
  • Add your own skip rules, for example ignoring wholesale orders, test orders, or repeat buyers you have already asked this month.

FAQs

When does the review invitation actually reach the customer?
About seven days after the order is placed, which is usually just after the parcel has landed and the customer has had a chance to try what they bought. If your delivery times are faster or slower, you can move that window.
Will the reviews count as verified?
Yes. Each invitation carries the real order number with it, so Trustpilot can tie the review back to a genuine purchase. Verified reviews are the ones that can feed into Google Seller Ratings, which is why the order number matters.
What happens with cancelled or refunded orders?
They are skipped. When an order is processed, anything that is already cancelled, fully refunded, or missing a customer email address is passed over silently, so you never ask someone to review a purchase that fell through.
Do I need to write the invitation email?
No. It uses the invitation templates you have already set up in your Trustpilot account, so the wording and branding stay exactly as you designed them.
Can I see which invitations went out?
Yes. Every invitation is written to your Google Sheets tracking tab with the order number, customer email, scheduled send date, and the template that was used, so you have a running record you can filter and audit.

Related templates

Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Turn procurement portal tenders into CRM deals each morning

Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.

Anchor Browser
Google Sheets
HubSpot
+1
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task
Auto-correct address typos and hold the orders you can't fix

Every weekday morning, harmless address typos get fixed on unshipped orders, and anything undeliverable is held while the customer confirms it.

Shippo
Shopify
Gmail
+1
Agentic Task
Catch bad shipping addresses before you buy the label

Every weekday morning, unfulfilled orders get an address check: harmless typos fixed automatically, risky addresses held with a note to the customer.

Shippo
Shopify
Gmail
+1
Agentic Task
Flag VIP client emails in Zoho Mail and alert your team

Keep a spreadsheet of your most important senders, and every email from one gets labeled, posted to your team channel, and logged automatically.

Zoho Mail
Google Sheets
Slack Bot
Deterministic Code

Stop remembering to ask for reviews.

Let every Shopify order queue its own Trustpilot invitation, timed for the moment the parcel lands.