Send a WhatsApp message
This endpoint is used to send a WhatsApp message.Request body which must comply to the following JSON Schema:
{
"oneOf" : [ {
"required" : [ "contactNumbers", "senderNumber", "templateId" ],
"type" : "object",
"properties" : {
"templateId" : {
"type" : "integer",
"description" : "ID of the template to send",
"example" : 123
},
"senderNumber" : {
"type" : "string",
"description" : "WhatsApp Number with country code. Example, 85264318721",
"format" : "mobile",
"example" : "919876543210"
},
"params" : {
"type" : "object",
"description" : "Pass the set of attributes to customize the template. For example, {\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}.",
"example" : {
"FNAME" : "Joe",
"LNAME" : "Doe"
}
},
"contactNumbers" : {
"type" : "array",
"description" : "List of phone numbers of the contacts",
"items" : {
"type" : "string",
"description" : "WhatsApp Number with country code. Example, 85264318721",
"format" : "mobile",
"example" : "919876543210"
}
}
}
}, {
"required" : [ "authType", "contactNumbers", "senderNumber", "text" ],
"type" : "object",
"properties" : {
"senderNumber" : {
"type" : "string",
"description" : "WhatsApp Number with country code. Example, 85264318721",
"format" : "mobile",
"example" : "919876543210"
},
"text" : {
"type" : "string",
"description" : "Text to be sent as message body (will be overridden if templateId is passed in the same request)",
"example" : "Hi! There i am a message"
},
"contactNumbers" : {
"type" : "array",
"description" : "List of phone numbers of the contacts",
"items" : {
"type" : "string",
"description" : "WhatsApp Number with country code. Example, 85264318721",
"format" : "mobile",
"example" : "919876543210"
}
}
}
} ]
}Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Brevo from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!