Restaurant Order Cancelled Template
This section covers the use case of automated WhatsApp messages sent when a customer cancels their order, and the steps to notify them with a confirmation and refund/update info.
Use case: Customer Cancels the Order

When a customer cancels their order via app/website, they should receive a WhatsApp message confirming the cancellation along with:
Order number
Refund initiation or next steps (if applicable)
Contact details for help (optional)
Steps involved in setting up an Automated Workflow
If you have already set up the WhatsApp template for the Restaurant Order Canceled event, then jump to this section.
A .1. Setting up the WhatsApp Template
Navigate to WhatsApp Templates

1. Go to Templates > WhatsApp in the Mercuri CX dashboard.
Click Create Template.
Select the WhatsApp Account that will be used to send out WhatsApp messages.
Configure Template Details

Fill in the basic template info:
Template Name:
Restaurant_order_canceled(Use an easy name to identify later)Language:
English(or as per your customer base)Category:
UTILITY(since it’s an informational message)
[ Understand the different categories of WhatsApp templates]
Fill Template Components

Header (Optional):
Note: Headers can contain only one variable if needed, but in this case, a fixed title is considered.
Type: Text
Example Text:
Order Canceled
[Click here to explore different media that can be added to the header ]
Body:
Add the message content in the Body section of the template.
To include dynamic information like order ID or customer name, use the "Add Variable" button located at the right end of the Body field.
Sample message :
Hello {{1}}, your order {{2}} has been successfully cancelled as per your request.
If payment was made online, your refund will be initiated shortly and will reflect in your account within 5–7 business days.
Variables :
Add a variable value to the corresponding placeholders with a sample value
Note : Each {{ }} is a placeholder that gets replaced dynamically during automation:
{{1}}→ Customer name{{2}}→ Order number
Note: Assign sample values for each variable before submitting for approval.
4. Adding a Contact Support button

Click the Add Button > select Call Phone Number
Configure details for the Call to Action section as follows:
Type of Action: Call Phone Number
Button Text:
Need Help ?Select Country Code and enter the Phone number of Customer support.
[Know more about the different buttons available in templates]
A.2 . Setting up the SMS Template

Go to the Templates section in the left-hand menu of the Mercuri dashboard, and select SMS.
In the top-right corner, click Create Template to begin.
3. Fill in Template Details
You’ll be directed to the SMS template creation form. Fill in the following:
Template Name: Enter a short, descriptive title so it’s easy to identify the purpose of the message.
Example
Template Text: Craft a clear and concise message (within 160 characters). You can personalize it using dynamic variables.
Click the Add Variable button in the bottom-right corner of the body section to insert placeholders.
Example:
4. Variable Mapping
Map each {#var#} to the actual data fields, like customer name and restaurant order ID.
5. Preview
View the SMS Preview to see how the final message will appear to customers.
6. Save the Template
Click Create to save your SMS template. It will now be available to use in campaigns, automations, or workflows.
B. Adding the WhatsApp / SMStemplate to the Automated workflow
Go to the Automation section in the dashboard.
Click on Create Automation.
Choose the automation type as
Order Canceledfrom the list.Select the preferred communication channel as WhatsApp / SMS, for delivering the automated message.
Choose the approved
restaurant_order_canceledtemplate that we created in earlier steps.
Last updated