Let customers pick a delivery time slot over WhatsApp for large items or scheduled deliveries. Utility template with quick replies.
Share of submissions of this template that Meta approved.
✳Approval tip
Offer up to three slots; the interaction is transactional so it stays utility.
Hi {{first_name}}, your order {{order}} will be delivered on {{date}}. Please choose the time slot that suits you best.
Acme Logistics{{first_name}}Tara{{order}}88123{{date}}Nov 9</>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.
logistics_delivery_slot_selection.json
{
"name": "logistics_delivery_slot_selection",
"language": "en_US",
"category": "UTILITY",
"body": {
"text": "Hi {{first_name}}, your order {{order}} will be delivered on {{date}}. Please choose the time slot that suits you best."
},
"footer": {
"text": "Acme Logistics"
},
"buttons": [
{
"type": "QUICK_REPLY",
"text": "8 AM to 12 PM"
},
{
"type": "QUICK_REPLY",
"text": "12 PM to 4 PM"
},
{
"type": "QUICK_REPLY",
"text": "4 PM to 8 PM"
}
],
"variables": {
"first_name": {
"example": "Tara"
},
"order": {
"example": "88123"
},
"date": {
"example": "Nov 9"
}
}
}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": "logistics_delivery_slot_selection",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "BODY",
"text": "Hi {{first_name}}, your order {{order}} will be delivered on {{date}}. Please choose the time slot that suits you best.",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Tara"
},
{
"param_name": "order",
"example": "88123"
},
{
"param_name": "date",
"example": "Nov 9"
}
]
}
},
{
"type": "FOOTER",
"text": "Acme Logistics"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "QUICK_REPLY",
"text": "8 AM to 12 PM"
},
{
"type": "QUICK_REPLY",
"text": "12 PM to 4 PM"
},
{
"type": "QUICK_REPLY",
"text": "4 PM to 8 PM"
}
]
}
]
}'+Related