Klaviyo is connected under Settings → Integrations → Klaviyo. The integration applies to the whole shop.
With Klaviyo, we send an event to Klaviyo at every step of a return or a claim. You build your own email flows on those events in Klaviyo instead of using the emails we send. Learn more in Customer Notifications.
Connect Klaviyo
You need a private and a public API key from your Klaviyo account.
Select Install on Klaviyo.
Paste the keys into Private API Key and Public API Key.
Select Install.
Under Settings → Notifications, turn off every email that you now send from a Klaviyo flow, and only those.
An email that is on in Returnflows and has a flow in Klaviyo reaches your customer twice.
How a return runs
We send these events as a return moves.
Event | When it is sent |
Return Created | Your customer starts a return in the return portal |
Return Completed | Your customer has finished the return and has the label |
Return In Transit | A tracking event shows that the return package is handed in to the carrier |
Return Delivered | The return package has arrived at your warehouse |
Return Closed | The return is closed and the refund, gift card or exchange is carried out |
Return Canceled | The return is cancelled |
Return Created is sent as soon as your customer starts, also when they never finish. Use Return Completed for a confirmation email. Return In Transit and Return Delivered depend on the tracking events from the carrier. Learn more in Tracking.
We also send Return Edited, Return Paused, Return Resumed, Return Reset, Return Gift Card Code Sent and Exchange Fulfilled. For claims we send Claim Created, Claim Processed, Claim Reviewed, Claim Closed, Claim Label Generated, Claim Label Generation Failed and Claim Gift Card Code Sent.
Branch a flow on the action
Return Closed carries the return actions. A flow can branch on Refund, Exchange and Giftcard, and send one email on a refund and another on an exchange.
Return Completed and Return Closed carry isFullReturn. It is true when every item on the order is in the return.
What to do in Klaviyo
Create a flow on the event and write the email in Klaviyo. The first name is {{ first_name|default:"" }} and the order number is {{ event.returnOrderName|default:'' }}. The order number is only shown when the preview uses a real return.
Good to know
Shopify usually sends its own refund email when the refund is made. To turn that off, contact Shopify.
Drip receives the same events. Learn more in Drip.

