Send Klaviyo Messages When Shopify Orders Get Delivered | Wonderment
Send a Klaviyo Message When a Shopify Order is Delivered
4 min setup
No coding required
Runs automatically
Boost post-purchase engagement by automatically sending a Klaviyo message when a Shopify order is confirmed as delivered. This workflow uses Wonderment to detect delivery status and trigger a personalized email or SMS via Klaviyo. It's a great way to thank customers, ask for reviews, or recommend complementary products—helping you build stronger relationships through timely communication.
Shipment's Status is Delivered
How it works
3 steps to start sending Klaviyo messages when Shopify orders are delivered through Wonderment tracking
Shipment's Status is Delivered
App connector: [Wonderment](/content/apps/wonderment/integrate "View Wonderment integration page"/index.html) • Time to complete: 2 minutes
Why this matters: This trigger monitors Wonderment for delivery confirmations and starts the workflow whenever any order reaches "delivered" status.
You'll need to configure the webhook URL and token to connect Wonderment to MESA. Install the webhook URL provided in the template setup, then add your webhook token from your Wonderment dashboard. This step listens continuously for delivery status updates and captures essential order data like order ID and delivery status to pass to the next steps.
Retrieve Order
App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html) • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step fetches complete order details from Shopify using the order ID captured from Wonderment, ensuring you have customer email and order information for messaging.
The step automatically retrieves the full Shopify order record including customer email, order name, and additional order details. No configuration is needed - it uses the order ID from the Wonderment trigger to pull the corresponding Shopify order data. This retrieved data becomes available for the Klaviyo messaging step that follows.
Send Delivery Event to Klaviyo
App connector: [Klaviyo](/content/apps/klaviyo/integrate "View Klaviyo integration page"/index.html) • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step sends the delivery confirmation data to Klaviyo as a trackable event, enabling you to trigger automated email flows or track delivery performance.
The step automatically creates a "Order Delivered" event in Klaviyo with the customer's email address and key order properties like order name, order ID, and delivery status. All event properties are pre-configured to use data from the previous steps - the customer email from Shopify and order details from Wonderment. Once this event reaches Klaviyo, you can build email flows that trigger when customers receive their orders.
Frequently asked questions
How long does it take for the delivery event to appear in Klaviyo after an order is delivered?
The event typically appears in Klaviyo within 1-2 minutes of Wonderment detecting the delivery status change. However, delivery detection timing depends on when carriers update their tracking information, which can vary by carrier and location.
Can I customize what order information gets sent to Klaviyo beyond the default fields?
Yes, you can modify the Create Event step to include additional order properties like product names, order value, shipping address, or custom order tags from Shopify. Any data available in the retrieved order can be added as event properties.
What happens if Wonderment sends a delivery notification but the Shopify order can't be found?
If the Retrieve Order step fails to find a matching Shopify order, the workflow will stop and log an error. This typically happens if there's a mismatch between Wonderment's order ID and Shopify's order system, or if the order was deleted from Shopify.
Make this template your own!
Customize this workflow even further:
- Add delivery confirmation emails
- Connect this workflow to Klaviyo's email capabilities to automatically send "Your order has arrived!" messages with review requests or related product recommendations.
- Track delivery performance metrics
- Store delivery data in MESA tables to build custom reports showing average delivery times, carrier performance, and seasonal shipping patterns.
- Create customer segments based on delivery behavior
- Use the delivery events to segment customers in Klaviyo by delivery preferences, locations, or timing patterns for more targeted marketing.
- Chain post-delivery actions
- Extend the workflow to automatically create customer service tickets for late deliveries, update inventory forecasts, or trigger reorder campaigns after successful deliveries.