Shopify and Klaviyo: Abandoned Cart Recovery Template
When a Shopify checkout is abandoned, this Spojit template creates a Klaviyo event for the customer so a recovery email flow can win the sale back.
What It Builds
A Webhook Trigger listens for Shopify's checkout-abandoned event. A Shopify Connector node in Direct mode pulls the abandoned checkout details (customer email, cart items, and value), then a Klaviyo Connector node creates a "Checkout Started" event tied to that customer. Klaviyo's own abandoned-cart flow handles the timed recovery emails from there.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow that triggers from a Shopify webhook when a checkout is abandoned, looks up the checkout's customer email, cart items, and total value, then creates an abandoned-cart event for that customer in Klaviyo so their recovery email flow can run.
Connectors Used
- Webhook Trigger - starts the run when Shopify reports an abandoned checkout (use the Shopify HMAC preset).
- Shopify - reads the abandoned checkout's customer and line items.
- Klaviyo - creates the event that fires the recovery flow.
Customize It
Edit the prompt to change the Klaviyo event name to match your flow's trigger, add a cart total threshold so only carts above a set value qualify, or include the product titles and an image URL in the event properties for richer email content.
Tips
- Give the Klaviyo connection write scope for events and profiles.
- Keep the Shopify node in Direct mode for predictable, no-AI-cost reads.
- Verify the Shopify webhook signature in the trigger so only genuine Shopify calls run the workflow.