# Feedback after dining WhatsApp template

> Ask guests how their meal went right after dining. Feedback request WhatsApp template for restaurants with quick replies.

- Category: Marketing
- Industry: Restaurants
- Use case: Feedback request
- Language: en_US
- Approval rate: 92%
- Page: https://template-builder.dev/whatsapp-template/restaurants-feedback-after-dining
- JSON: https://template-builder.dev/whatsapp-template/restaurants-feedback-after-dining.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoicmVzdGF1cmFudHNfZmVlZGJhY2tfYWZ0ZXJfZGluaW5nIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiTUFSS0VUSU5HIiwiYm9keSI6eyJ0ZXh0IjoiSGkge3tmaXJzdF9uYW1lfX0sIHRoYW5rcyBmb3IgZGluaW5nIGF0IHt7cmVzdGF1cmFudH19IHRvZGF5ISBIb3cgd2FzIHlvdXIgbWVhbD8ifSwiZm9vdGVyIjp7InRleHQiOiJSZXBseSBTVE9QIHRvIG9wdCBvdXQifSwiYnV0dG9ucyI6W3sidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6IkRlbGljaW91cyJ9LHsidHlwZSI6IlFVSUNLX1JFUExZIiwidGV4dCI6Ikl0IHdhcyBmaW5lIn0seyJ0eXBlIjoiUVVJQ0tfUkVQTFkiLCJ0ZXh0IjoiTm90IGdyZWF0In1dLCJ2YXJpYWJsZXMiOnsiZmlyc3RfbmFtZSI6eyJleGFtcGxlIjoiTWFyaWEifSwicmVzdGF1cmFudCI6eyJleGFtcGxlIjoiTm9ydGh3aW5kIEJpc3RybyJ9fX0

## How to get it approved

Send within a few hours. Route happy guests to a review link in the next message to stay compliant with in-template rules.

## Message text

Hi {{first_name}}, thanks for dining at {{restaurant}} today! How was your meal?
Reply STOP to opt out

## Variables

- `{{first_name}}`: Maria
- `{{restaurant}}`: Northwind Bistro

## Template JSON

```json
{
  "name": "restaurants_feedback_after_dining",
  "language": "en_US",
  "category": "MARKETING",
  "body": {
    "text": "Hi {{first_name}}, thanks for dining at {{restaurant}} today! How was your meal?"
  },
  "footer": {
    "text": "Reply STOP to opt out"
  },
  "buttons": [
    {
      "type": "QUICK_REPLY",
      "text": "Delicious"
    },
    {
      "type": "QUICK_REPLY",
      "text": "It was fine"
    },
    {
      "type": "QUICK_REPLY",
      "text": "Not great"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "restaurant": {
      "example": "Northwind Bistro"
    }
  }
}
```

## 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_feedback_after_dining",
  "language": "en_US",
  "category": "MARKETING",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, thanks for dining at {{restaurant}} today! How was your meal?",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "restaurant",
            "example": "Northwind Bistro"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Reply STOP to opt out"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "QUICK_REPLY",
          "text": "Delicious"
        },
        {
          "type": "QUICK_REPLY",
          "text": "It was fine"
        },
        {
          "type": "QUICK_REPLY",
          "text": "Not great"
        }
      ]
    }
  ]
}'
```
