# Loyalty free meal reward WhatsApp template

> Tell diners they earned a free meal or dessert in your loyalty program. Loyalty reward WhatsApp template for restaurants.

- Category: Marketing
- Industry: Restaurants
- Use case: Loyalty reward
- Language: en_US
- Approval rate: 86%
- Page: https://template-builder.dev/whatsapp-template/restaurants-loyalty-free-meal
- JSON: https://template-builder.dev/whatsapp-template/restaurants-loyalty-free-meal.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoicmVzdGF1cmFudHNfbG95YWx0eV9mcmVlX21lYWwiLCJsYW5ndWFnZSI6ImVuX1VTIiwiY2F0ZWdvcnkiOiJNQVJLRVRJTkciLCJib2R5Ijp7InRleHQiOiJZb3UgZGlkIGl0LCB7e2ZpcnN0X25hbWV9fSEgQWZ0ZXIge3twb2ludHN9fSBwb2ludHMgYXQge3tyZXN0YXVyYW50fX0geW91J3ZlIGVhcm5lZCBhIGZyZWUge3tpdGVtfX0uIFNob3cgdGhpcyBtZXNzYWdlIHRvIHlvdXIgc2VydmVyIGJ5IHt7ZGF0ZX19LiBUaGFuayB5b3UsIGFuZCByZXBseSBoZXJlIGlmIHlvdSBuZWVkIGFueXRoaW5nLiJ9LCJmb290ZXIiOnsidGV4dCI6IlJlcGx5IFNUT1AgdG8gb3B0IG91dCJ9LCJidXR0b25zIjpbeyJ0eXBlIjoiUVVJQ0tfUkVQTFkiLCJ0ZXh0IjoiQm9vayBhIHRhYmxlIn1dLCJ2YXJpYWJsZXMiOnsiZmlyc3RfbmFtZSI6eyJleGFtcGxlIjoiTWFyaWEifSwicG9pbnRzIjp7ImV4YW1wbGUiOiIyNTAifSwicmVzdGF1cmFudCI6eyJleGFtcGxlIjoiTm9ydGh3aW5kIEJpc3RybyJ9LCJpdGVtIjp7ImV4YW1wbGUiOiJNYXJnaGVyaXRhIFBpenphIn0sImRhdGUiOnsiZXhhbXBsZSI6Ik1hcmNoIDE0In19fQ

## How to get it approved

State how to redeem and when it expires. Rewards messages do best right after a visit.

## Message text

You did it, {{first_name}}! After {{points}} points at {{restaurant}} you've earned a free {{item}}. Show this message to your server by {{date}}. Thank you, and reply here if you need anything.
Reply STOP to opt out

## Variables

- `{{first_name}}`: Maria
- `{{points}}`: 250
- `{{restaurant}}`: Northwind Bistro
- `{{item}}`: Margherita Pizza
- `{{date}}`: March 14

## Template JSON

```json
{
  "name": "restaurants_loyalty_free_meal",
  "language": "en_US",
  "category": "MARKETING",
  "body": {
    "text": "You did it, {{first_name}}! After {{points}} points at {{restaurant}} you've earned a free {{item}}. Show this message to your server by {{date}}. Thank you, and reply here if you need anything."
  },
  "footer": {
    "text": "Reply STOP to opt out"
  },
  "buttons": [
    {
      "type": "QUICK_REPLY",
      "text": "Book a table"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "points": {
      "example": "250"
    },
    "restaurant": {
      "example": "Northwind Bistro"
    },
    "item": {
      "example": "Margherita Pizza"
    },
    "date": {
      "example": "March 14"
    }
  }
}
```

## 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": "restaurants_loyalty_free_meal",
  "language": "en_US",
  "category": "MARKETING",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "You did it, {{first_name}}! After {{points}} points at {{restaurant}} you'\''ve earned a free {{item}}. Show this message to your server by {{date}}. Thank you, and reply here if you need anything.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "points",
            "example": "250"
          },
          {
            "param_name": "restaurant",
            "example": "Northwind Bistro"
          },
          {
            "param_name": "item",
            "example": "Margherita Pizza"
          },
          {
            "param_name": "date",
            "example": "March 14"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Reply STOP to opt out"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "QUICK_REPLY",
          "text": "Book a table"
        }
      ]
    }
  ]
}'
```
