Turn every sale into a relationship. This Shopify AI post-purchase email agent reads each new order the moment it lands, writes a warm thank-you that names the customer and references what they bought, and sends it from your own Gmail. Import it into n8n, paste your review link, and every buyer hears from you within seconds.
What it does
The moment after checkout is when a customer is most engaged, and most stores waste it on a generic receipt. This agent sends a real thank-you instead: personal, on brand, and specific to what the customer ordered. It also invites a review with a link you control, so you build trust and gather social proof on autopilot. No discount codes unless you add them, and no invented claims.
What is included
- The ready to import n8n workflow (JSON), built and tested on n8n 2.6 so it imports cleanly.
- A step by step setup guide: connect Shopify, add your keys, connect Gmail, set your voice, and test.
What you need
- Your own n8n instance, cloud or self hosted.
- A free Google Gemini API key.
- A Shopify app with read order access.
- A Gmail account to send from.
How it works
- A new order is created in your Shopify store.
- The agent reads the customer first name, order number, and the products bought.
- It writes a short, personal thank-you and sends it from your Gmail, with your review invite included.
This is one of our Shopify AI agents. See also the Shopify AI Customer Support Agent and the Shopify AI Order Tagging Agent. For the bigger picture, read our guide to n8n Shopify automation, or browse all Shopify AI agents. Prefer it set up for you? See our done for you services.
Cost
Free on Google Gemini’s free tier for most stores. Beyond the free tier, Gemini Flash costs about a fraction of a cent per email, so a store with a few hundred orders a month spends well under a dollar. Gmail sending is free, and n8n itself is free if you self host. This is a self serve template for store owners who run their own n8n and Google Gemini key.
Frequently asked questions
What is a post-purchase email?
It is the message a customer gets right after they order. This agent turns that moment into a warm, personal thank-you instead of a plain receipt, and uses it to invite a review.
Do I need to know how to code?
No coding. You import the workflow, add your Shopify, Google Gemini, and Gmail credentials, then paste your review link. The setup guide walks through each step.
Does it send discount codes?
Not unless you want it to. By default it only thanks the customer and invites a review. If you add a discount line to the system message, the agent will include it.
Will the email feel generic?
No. The agent names the customer and references the actual products they bought, so each email reads like you wrote it. You set the voice and sign-off in plain English.
How much does it cost to run?
Free for most stores on Google Gemini’s free tier. There is no per email fee and no monthly platform charge beyond your own n8n and Google Gemini usage.