Tell customers their food order left the kitchen with a live ETA. Shipping update WhatsApp template for restaurant delivery.
Share of submissions of this template that Meta approved.
✳Approval tip
Keep the ETA in minutes and the order number visible. Do not add upsells, which would reclassify it.
Hi {{first_name}}, your order *#{{order_id}}* from {{restaurant}} is on its way and should arrive in about {{eta}} minutes.{{first_name}}Maria{{order_id}}4512{{restaurant}}Northwind Bistro{{eta}}25</>For developers
The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.
restaurants_delivery_order_on_the_way.json
{
"name": "restaurants_delivery_order_on_the_way",
"language": "en_US",
"category": "UTILITY",
"body": {
"text": "Hi {{first_name}}, your order *#{{order_id}}* from {{restaurant}} is on its way and should arrive in about {{eta}} minutes."
},
"buttons": [
{
"type": "URL",
"text": "Track my order",
"url": "https://northwind.example.com/track/{{order_id}}"
}
],
"variables": {
"first_name": {
"example": "Maria"
},
"order_id": {
"example": "4512"
},
"restaurant": {
"example": "Northwind Bistro"
},
"eta": {
"example": "25"
}
}
}Create with the Meta Cloud API
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
-H "Authorization: Bearer $META_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "restaurants_delivery_order_on_the_way",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "BODY",
"text": "Hi {{first_name}}, your order *#{{order_id}}* from {{restaurant}} is on its way and should arrive in about {{eta}} minutes.",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Maria"
},
{
"param_name": "order_id",
"example": "4512"
},
{
"param_name": "restaurant",
"example": "Northwind Bistro"
},
{
"param_name": "eta",
"example": "25"
}
]
}
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Track my order",
"url": "https://northwind.example.com/track/{{1}}",
"example": [
"https://northwind.example.com/track/4512"
]
}
]
}
]
}'+Related