Notify customers who asked to be alerted when a sold-out product returns. Back in stock WhatsApp template with a buy link.
Share of submissions of this template that Meta approved.
✳Approval tip
Only send to people who explicitly subscribed to that product alert and say so in the text. Stock sells out fast, so send immediately.
Good news, {{first_name}}! *{{product_name}}* in size {{size}} is back in stock. Quantities are limited, so grab yours while it lasts.
Reply STOP to opt out{{first_name}}Maria{{product_name}}Linen Shirt{{size}}M{{order_id}}4512</>For developers
The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.
ecommerce_back_in_stock_alert.json
{
"name": "ecommerce_back_in_stock_alert",
"language": "en_US",
"category": "MARKETING",
"body": {
"text": "Good news, {{first_name}}! *{{product_name}}* in size {{size}} is back in stock. Quantities are limited, so grab yours while it lasts."
},
"footer": {
"text": "Reply STOP to opt out"
},
"buttons": [
{
"type": "URL",
"text": "Shop now",
"url": "https://acme.com/products/{{order_id}}"
}
],
"variables": {
"first_name": {
"example": "Maria"
},
"product_name": {
"example": "Linen Shirt"
},
"size": {
"example": "M"
},
"order_id": {
"example": "4512"
}
}
}Create with the Meta Cloud API
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": "ecommerce_back_in_stock_alert",
"language": "en_US",
"category": "MARKETING",
"parameter_format": "NAMED",
"components": [
{
"type": "BODY",
"text": "Good news, {{first_name}}! *{{product_name}}* in size {{size}} is back in stock. Quantities are limited, so grab yours while it lasts.",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Maria"
},
{
"param_name": "product_name",
"example": "Linen Shirt"
},
{
"param_name": "size",
"example": "M"
}
]
}
},
{
"type": "FOOTER",
"text": "Reply STOP to opt out"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Shop now",
"url": "https://acme.com/products/{{1}}",
"example": [
"https://acme.com/products/4512"
]
}
]
}
]
}'+Related