Promise Date Change Notification
Learn how to ensure accurate promise date change communication from OMS to Marketing Automation Platform.
Overview
This document outlines the steps to ensure accurate promise date change communication from the Order Management System (OMS) to the Marketing Automation Platform. This integration enhances the customer experience and reduces manual efforts.
Step 1: Identify Promise Date Changes
The bulkSendPromiseDateChange service in OMS identifies all the sales order items whose promise dates have changed throughout the day. The frequency of this service can be configured according to specific requirements, but it is recommended to set it to once a day.
Service Details:
fromDate
The starting date and time range to find order item changes
No
toDate
The ending date and time range to find order item changes
No
Step 2: Prepare for Email Notification
The bulkSendPromiseDateChange service identifies all the updated sales order items whose promise dates have changed between the fromDate
and toDate
and gathers order context needed to hand off to the Marketing Automation Platform.
Step 3: Call sendDeliveryDateChangedNotification
service
sendDeliveryDateChangedNotification
serviceAfter bringing all the updated items in response, the bulkSendPromiseDateChange service calls the sendDeliveryDateChangedNotification
service for each item.
Service Details:
orderId
The ID of the order in Shopify
Yes
orderItemSeqId
The numerical sequence ID of the item in the order
Yes
Step 4: Customize Email Notification
The sendDeliveryDateChangedNotification
service identifies the configured email integration platform and picks the appropriate API template. The service then uses the input parameters orderId
and orderItemSequenceID
to add all the sales order items with changed promise dates in the email template being pushed to the Marketing Automation Platform.
HotWax Commerce has ready integration with Klaviyo, a marketing automation platform. Here's a sample JSON file that is shared with Klaviyo's API for each order:
Step 5: Deliver Email Notification
The service calls the email platform's API and sends the details to the email integration platform which will then further deliver it to the customer.
By following these steps, you can ensure accurate promise date change communication from the OMS to marketing automation platform.
Last updated