# Policy issued and welcome WhatsApp template

> Welcome new policyholders on WhatsApp once a policy is issued, with policy number and start date. Transactional utility template.

- Category: Utility
- Industry: Insurance
- Use case: Welcome message
- Language: en_US
- Approval rate: 88%
- Page: https://template-builder.dev/whatsapp-template/insurance-policy-documents-issued
- JSON: https://template-builder.dev/whatsapp-template/insurance-policy-documents-issued.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoiaW5zdXJhbmNlX3BvbGljeV9kb2N1bWVudHNfaXNzdWVkIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImJvZHkiOnsidGV4dCI6IldlbGNvbWUsIHt7Zmlyc3RfbmFtZX19ISBZb3VyIHt7cG9saWN5X3R5cGV9fSBwb2xpY3kgKnt7cG9saWN5X25vfX0qIGlzIGFjdGl2ZSBmcm9tIHt7c3RhcnRfZGF0ZX19LiBZb3VyIGRvY3VtZW50cyBhcmUgcmVhZHkgdG8gZG93bmxvYWQgYW55IHRpbWUuIn0sImZvb3RlciI6eyJ0ZXh0IjoiTm9ydGh3aW5kIEluc3VyYW5jZSJ9LCJidXR0b25zIjpbeyJ0eXBlIjoiVVJMIiwidGV4dCI6IkRvd25sb2FkIGRvY3VtZW50cyIsInVybCI6Imh0dHBzOi8vbm9ydGh3aW5kaW5zdXJhbmNlLmNvbS9kb2NzL3t7cmVmfX0ifSx7InR5cGUiOiJQSE9ORV9OVU1CRVIiLCJ0ZXh0IjoiQ29udGFjdCBzdXBwb3J0IiwicGhvbmVOdW1iZXIiOiIrMTU1NTAxNzcifV0sInZhcmlhYmxlcyI6eyJmaXJzdF9uYW1lIjp7ImV4YW1wbGUiOiJPbWFyIn0sInBvbGljeV90eXBlIjp7ImV4YW1wbGUiOiJsaWZlIn0sInBvbGljeV9ubyI6eyJleGFtcGxlIjoiTEYtMjA0NTUifSwic3RhcnRfZGF0ZSI6eyJleGFtcGxlIjoiTm92IDEifSwicmVmIjp7ImV4YW1wbGUiOiJMRjIwNDU1In19fQ

## How to get it approved

Link to the document portal instead of attaching files; media headers need an approved sample and slow review.

## Message text

Welcome, {{first_name}}! Your {{policy_type}} policy *{{policy_no}}* is active from {{start_date}}. Your documents are ready to download any time.
Northwind Insurance

## Variables

- `{{first_name}}`: Omar
- `{{policy_type}}`: life
- `{{policy_no}}`: LF-20455
- `{{start_date}}`: Nov 1
- `{{ref}}`: LF20455

## Template JSON

```json
{
  "name": "insurance_policy_documents_issued",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Welcome, {{first_name}}! Your {{policy_type}} policy *{{policy_no}}* is active from {{start_date}}. Your documents are ready to download any time."
  },
  "footer": {
    "text": "Northwind Insurance"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "Download documents",
      "url": "https://northwindinsurance.com/docs/{{ref}}"
    },
    {
      "type": "PHONE_NUMBER",
      "text": "Contact support",
      "phoneNumber": "+15550177"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Omar"
    },
    "policy_type": {
      "example": "life"
    },
    "policy_no": {
      "example": "LF-20455"
    },
    "start_date": {
      "example": "Nov 1"
    },
    "ref": {
      "example": "LF20455"
    }
  }
}
```

## 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": "insurance_policy_documents_issued",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Welcome, {{first_name}}! Your {{policy_type}} policy *{{policy_no}}* is active from {{start_date}}. Your documents are ready to download any time.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Omar"
          },
          {
            "param_name": "policy_type",
            "example": "life"
          },
          {
            "param_name": "policy_no",
            "example": "LF-20455"
          },
          {
            "param_name": "start_date",
            "example": "Nov 1"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Northwind Insurance"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Download documents",
          "url": "https://northwindinsurance.com/docs/{{1}}",
          "example": [
            "https://northwindinsurance.com/docs/LF20455"
          ]
        },
        {
          "type": "PHONE_NUMBER",
          "text": "Contact support",
          "phone_number": "+15550177"
        }
      ]
    }
  ]
}'
```
