Values that should be added to the payload.
"from": Company phone number
"to": Receiver phone number
"templateName": Exact template name
"language": Template language
"parameters": "text": Template Variable content.
Values that should be added to the payload.
"name": Template Name
"language": Template language
"type": "BODY", "text": Template content
"type": "QUICK_REPLY", "text": Quick Reply Button Content
Media Tamplate (Image):
{
"name": "sample_purchase_feedback",
"status": "approved",
"language": "template language",
"category": "ISSUE_RESOLUTION",
"components": [
{
"type": "HEADER",
"format": "IMAGE"
},
{
"type": "BODY",
"text": "Thank you for purchasing {{1}}! We value your feedback and would like to learn more about your experience."
},
{
"type": "FOOTER",
"text": "This message is from an unverified business."
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"url": "https://www.example.com/",
"text": "Take Survey"
}
]
}
],
"rejected_reason": "NONE"
}
// extendedMessage JSON payload:
{
"whatsappCloudApiTemplateMessageObject": {
"templateName": "sample_purchase_feedback",
"language": "en_US",
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "{url of the image}"
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "iPhone"
}
]
}
]
}
}
Values that should be added to the payload.
"name": Template Name
"language": Template language
"components": "type": "BODY", "text": Template content with the variable as {{1}},{{2}},...
"type": "FOOTER", "text": Template footer content
Values that should be added to the payload.
"name": Template Name
"language": Template language
"components": "type": "BODY", "text": Template content with the variable as {{1}},{{2}},...
"type": "FOOTER", "text": Template footer content
Finally, Run Once to test out the scenario, if both the icons turn green, that is an indication that the scenario is successful.
Next, you will have to enter the Query String which consists of Key and Value. You can copy and paste apikeyinto the Key field.
For the Value field, you have to copy and paste the API key which you can obtain from your under Connect Automation Platform where you can find Make and click on Add. The API key will be presented to you there.