# Flight schedule change notice WhatsApp template

> Notify travelers about a flight time change on WhatsApp with old and new times. Utility template for airlines and travel agents.

- Category: Utility
- Industry: Travel and hospitality
- Use case: Account alert
- Language: en_US
- Approval rate: 72%
- Page: https://template-builder.dev/whatsapp-template/travel-flight-schedule-change
- JSON: https://template-builder.dev/whatsapp-template/travel-flight-schedule-change.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoidHJhdmVsX2ZsaWdodF9zY2hlZHVsZV9jaGFuZ2UiLCJsYW5ndWFnZSI6ImVuX1VTIiwiY2F0ZWdvcnkiOiJVVElMSVRZIiwiaGVhZGVyIjp7InR5cGUiOiJURVhUIiwidGV4dCI6IkZsaWdodCBzY2hlZHVsZSB1cGRhdGUifSwiYm9keSI6eyJ0ZXh0IjoiSGkge3tmaXJzdF9uYW1lfX0sIHRoZSBzY2hlZHVsZSBmb3IgZmxpZ2h0ICp7e2ZsaWdodH19KiB0byB7e2Rlc3RpbmF0aW9ufX0gaGFzIGNoYW5nZWQuIE5ldyBkZXBhcnR1cmU6IHt7bmV3X3RpbWV9fSAod2FzIHt7b2xkX3RpbWV9fSkuIFBsZWFzZSBjaGVjayB0aGUgZGV0YWlscyBhbmQgY29udGFjdCB1cyBpZiB0aGUgbmV3IHRpbWUgZG9lcyBub3Qgd29yay4ifSwiZm9vdGVyIjp7InRleHQiOiJOb3J0aHdpbmQgQWlyIn0sImJ1dHRvbnMiOlt7InR5cGUiOiJVUkwiLCJ0ZXh0IjoiVmlldyB0cmlwIiwidXJsIjoiaHR0cHM6Ly9ub3J0aHdpbmRhaXIuY29tL3RyaXAve3tyZWZ9fSJ9LHsidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6IkkgbmVlZCB0byByZWJvb2sifV0sInZhcmlhYmxlcyI6eyJmaXJzdF9uYW1lIjp7ImV4YW1wbGUiOiJMdWlzIn0sImZsaWdodCI6eyJleGFtcGxlIjoiTlcyMTQifSwiZGVzdGluYXRpb24iOnsiZXhhbXBsZSI6Ik1hZHJpZCJ9LCJuZXdfdGltZSI6eyJleGFtcGxlIjoiOTo0MCBQTSJ9LCJvbGRfdGltZSI6eyJleGFtcGxlIjoiNzoxNSBQTSJ9LCJyZWYiOnsiZXhhbXBsZSI6Ik5XMjE0In19fQ

## How to get it approved

Be exact about the new time and offer a way to rebook. Never mix promotions into disruption notices.

## Message text

Flight schedule update
Hi {{first_name}}, the schedule for flight *{{flight}}* to {{destination}} has changed. New departure: {{new_time}} (was {{old_time}}). Please check the details and contact us if the new time does not work.
Northwind Air

## Variables

- `{{first_name}}`: Luis
- `{{flight}}`: NW214
- `{{destination}}`: Madrid
- `{{new_time}}`: 9:40 PM
- `{{old_time}}`: 7:15 PM
- `{{ref}}`: NW214

## Template JSON

```json
{
  "name": "travel_flight_schedule_change",
  "language": "en_US",
  "category": "UTILITY",
  "header": {
    "type": "TEXT",
    "text": "Flight schedule update"
  },
  "body": {
    "text": "Hi {{first_name}}, the schedule for flight *{{flight}}* to {{destination}} has changed. New departure: {{new_time}} (was {{old_time}}). Please check the details and contact us if the new time does not work."
  },
  "footer": {
    "text": "Northwind Air"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "View trip",
      "url": "https://northwindair.com/trip/{{ref}}"
    },
    {
      "type": "QUICK_REPLY",
      "text": "I need to rebook"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Luis"
    },
    "flight": {
      "example": "NW214"
    },
    "destination": {
      "example": "Madrid"
    },
    "new_time": {
      "example": "9:40 PM"
    },
    "old_time": {
      "example": "7:15 PM"
    },
    "ref": {
      "example": "NW214"
    }
  }
}
```

## 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": "travel_flight_schedule_change",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Flight schedule update"
    },
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, the schedule for flight *{{flight}}* to {{destination}} has changed. New departure: {{new_time}} (was {{old_time}}). Please check the details and contact us if the new time does not work.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Luis"
          },
          {
            "param_name": "flight",
            "example": "NW214"
          },
          {
            "param_name": "destination",
            "example": "Madrid"
          },
          {
            "param_name": "new_time",
            "example": "9:40 PM"
          },
          {
            "param_name": "old_time",
            "example": "7:15 PM"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Northwind Air"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "View trip",
          "url": "https://northwindair.com/trip/{{1}}",
          "example": [
            "https://northwindair.com/trip/NW214"
          ]
        },
        {
          "type": "QUICK_REPLY",
          "text": "I need to rebook"
        }
      ]
    }
  ]
}'
```
