How to send WhatsApp order confirmations and delivery updates
When a customer places an order, your backend sends an event to Pushwoosh, and a journey replies on WhatsApp with an approved Meta template filled with the order number, the item, and the delivery date. When the order ships, a second event and a second journey send the tracking link the same way.
Prerequisites
Anchor link to- WhatsApp is connected to your Pushwoosh project. See WhatsApp platform configuration.
- Customers’ WhatsApp numbers are registered under their User IDs. See Register phone numbers for WhatsApp.
- Two templates are approved in WhatsApp Manager. Only approved templates appear in Pushwoosh. See Meta’s guide to message templates.
This guide uses the following templates. To follow it as written, create them in WhatsApp Manager with this text. If your templates differ, map your own variables the same way.
| Template | Body | Button |
|---|---|---|
order_confirmation | Hi! We've received your order {{1}}: {{2}}. Estimated delivery: {{3}}. | None |
order_shipped | Your order {{1}} is on its way. | Track order with the URL https://yourshop.com/track/{{1}} |
In order_shipped, the {{1}} in the button URL is a separate variable from the {{1}} in the body.
Create the order events
Anchor link toCreate two custom events that carry the order data. See Custom events.
| Event | Attributes |
|---|---|
OrderPlaced | order_id, item_name, delivery_date |
OrderShipped | order_id, tracking_id |
- Go to Audience > Events.
- Click Create event and select Custom Event.
- Create the first event with the attributes from the table, all of type string.

- Repeat steps 2 and 3 for
OrderShipped.
Your developers send each event from your backend with postEvent when the order status changes. Pass the customer’s User ID in userId and the order data in attributes.
Build the order confirmation journey
Anchor link toSet up the entry so that every order starts its own session:
- Go to Campaigns > Customer Journey Builder and click Create campaign.
- Add a Trigger-based entry to the canvas.
- Select the
OrderPlacedevent. - Under How many sessions can user have at once in campaign?, select Multiple active sessions per user.
- In Session identifier attribute, select
order_id. See Multiple active sessions per user.

Then add the message:
- Add a WhatsApp element after the entry.
- In Content, select the
order_confirmationtemplate. Each template language is a separate item, for exampleorder_confirmation:en. The message preview shows a placeholder for each variable. - Click the first placeholder.
- Set Variable type to Event property.
- Select the
OrderPlacedevent and theorder_idattribute, then click Insert.

- Repeat for the other variables:
{{2}}isitem_name,{{3}}isdelivery_date. - To keep frequency capping from holding back an order confirmation, select Transactional as the message type. See Marketing vs transactional messages.
- Optionally, turn on Branch when the provider rejects the message and connect the Rejected by provider branch to an SMS or email element with the same order details. See Branch when the provider rejects the message.
- Check Split flow based on message read status. It turns on when you select a template, with a one-day wait. Leave it on to follow up with customers who haven’t read the message, or turn it off if the confirmation is the only step.
- Click Apply.
- Click Launch.
You don’t need an Exit element, because a customer who reaches the end of a branch leaves the journey.
If a customer has no registered WhatsApp number, the WhatsApp element skips them and they continue along the journey. With Split flow based on message read status on, they follow the Unread path when the wait ends.
Build the delivery update journey
Anchor link toCreate a second journey for delivery updates. Build it the same way as the confirmation journey, with these values:
- In the Trigger-based entry, select the
OrderShippedevent, Multiple active sessions per user, andorder_idas the session identifier. - In the WhatsApp element, select the
order_shippedtemplate. Its Track order button shows a placeholder in the URL.

- Map the body variable
{{1}}to theorder_idattribute ofOrderShipped, as an Event property. - Click the placeholder in the Track order URL and map it to the
tracking_idattribute the same way. - Select Transactional as the message type and click Apply.
- Click Launch.
Check the results
Anchor link toTo check the confirmation journey:
- Send a test
OrderPlacedevent for your own User ID. - Open the journey statistics. See Overall journey statistics.
- In the WhatsApp panel, check the Sent, Delivered, Read, and Delivery issues numbers.
To check the delivery update journey, repeat the same steps with an OrderShipped event.
If Sent stays at zero, check that the event comes with the User ID the customer’s WhatsApp number is registered under.