Inform recipients that a shipment is held at customs and which document or fee is needed. Utility template for international carriers.
Share of submissions of this template that Meta approved.
✳Approval tip
Name the exact action required and deadline. It is a high-value utility message because delays cost money.
Customs action needed
Hi {{first_name}}, shipment *{{tracking}}* is currently held at customs. To release it we need {{requirement}} by {{deadline}}. Please upload it as soon as you can.
Northwind Freight{{first_name}}Hana{{tracking}}NW90112{{requirement}}the commercial invoice{{deadline}}Nov 10{{ref}}NW90112</>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.
logistics_customs_clearance_notice.json
{
"name": "logistics_customs_clearance_notice",
"language": "en_US",
"category": "UTILITY",
"header": {
"type": "TEXT",
"text": "Customs action needed"
},
"body": {
"text": "Hi {{first_name}}, shipment *{{tracking}}* is currently held at customs. To release it we need {{requirement}} by {{deadline}}. Please upload it as soon as you can."
},
"footer": {
"text": "Northwind Freight"
},
"buttons": [
{
"type": "URL",
"text": "Upload documents",
"url": "https://northwindfreight.com/customs/{{ref}}"
}
],
"variables": {
"first_name": {
"example": "Hana"
},
"tracking": {
"example": "NW90112"
},
"requirement": {
"example": "the commercial invoice"
},
"deadline": {
"example": "Nov 10"
},
"ref": {
"example": "NW90112"
}
}
}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": "logistics_customs_clearance_notice",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Customs action needed"
},
{
"type": "BODY",
"text": "Hi {{first_name}}, shipment *{{tracking}}* is currently held at customs. To release it we need {{requirement}} by {{deadline}}. Please upload it as soon as you can.",
"example": {
"body_text_named_params": [
{
"param_name": "first_name",
"example": "Hana"
},
{
"param_name": "tracking",
"example": "NW90112"
},
{
"param_name": "requirement",
"example": "the commercial invoice"
},
{
"param_name": "deadline",
"example": "Nov 10"
}
]
}
},
{
"type": "FOOTER",
"text": "Northwind Freight"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Upload documents",
"url": "https://northwindfreight.com/customs/{{1}}",
"example": [
"https://northwindfreight.com/customs/NW90112"
]
}
]
}
]
}'+Related