# Choose your delivery slot WhatsApp template

> Let customers pick a delivery time slot over WhatsApp for large items or scheduled deliveries. Utility template with quick replies.

- Category: Utility
- Industry: Logistics and delivery
- Use case: Appointment reminder
- Language: en_US
- Approval rate: 88%
- Page: https://template-builder.dev/whatsapp-template/logistics-delivery-slot-selection
- JSON: https://template-builder.dev/whatsapp-template/logistics-delivery-slot-selection.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoibG9naXN0aWNzX2RlbGl2ZXJ5X3Nsb3Rfc2VsZWN0aW9uIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImJvZHkiOnsidGV4dCI6IkhpIHt7Zmlyc3RfbmFtZX19LCB5b3VyIG9yZGVyIHt7b3JkZXJ9fSB3aWxsIGJlIGRlbGl2ZXJlZCBvbiB7e2RhdGV9fS4gUGxlYXNlIGNob29zZSB0aGUgdGltZSBzbG90IHRoYXQgc3VpdHMgeW91IGJlc3QuIn0sImZvb3RlciI6eyJ0ZXh0IjoiQWNtZSBMb2dpc3RpY3MifSwiYnV0dG9ucyI6W3sidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6IjggQU0gdG8gMTIgUE0ifSx7InR5cGUiOiJRVUlDS19SRVBMWSIsInRleHQiOiIxMiBQTSB0byA0IFBNIn0seyJ0eXBlIjoiUVVJQ0tfUkVQTFkiLCJ0ZXh0IjoiNCBQTSB0byA4IFBNIn1dLCJ2YXJpYWJsZXMiOnsiZmlyc3RfbmFtZSI6eyJleGFtcGxlIjoiVGFyYSJ9LCJvcmRlciI6eyJleGFtcGxlIjoiODgxMjMifSwiZGF0ZSI6eyJleGFtcGxlIjoiTm92IDkifX19

## How to get it approved

Offer up to three slots; the interaction is transactional so it stays utility.

## Message text

Hi {{first_name}}, your order {{order}} will be delivered on {{date}}. Please choose the time slot that suits you best.
Acme Logistics

## Variables

- `{{first_name}}`: Tara
- `{{order}}`: 88123
- `{{date}}`: Nov 9

## Template JSON

```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 it with the Meta Cloud API

```sh
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"
        }
      ]
    }
  ]
}'
```
