Update a WhatsApp campaign
Request body which must comply to the following JSON Schema:
{
"type" : "object",
"properties" : {
"campaignName" : {
"type" : "string",
"description" : "Name of the campaign",
"example" : "Test WhatsApp"
},
"campaignStatus" : {
"type" : "string",
"description" : "Status of the campaign",
"example" : "scheduled",
"default" : "scheduled",
"enum" : [ "scheduled", "suspended" ]
},
"rescheduleFor" : {
"type" : "string",
"description" : "Reschedule the sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of campaign. **Prefer to pass your timezone in date-time format for accurate result.For example: **2017-06-01T12:30:00+02:00**\nUse this field to update the scheduledAt of any existing draft or scheduled WhatsApp campaign.\n",
"example" : "2017-06-01T12:30:00+02:00"
},
"recipients" : {
"type" : "object",
"properties" : {
"excludedListIds" : {
"type" : "array",
"description" : "List ids to exclude from the campaign",
"items" : {
"type" : "integer",
"format" : "int64",
"example" : 8
}
},
"listIds" : {
"type" : "array",
"description" : "**Mandatory if scheduledAt is not empty**. List Ids to send the campaign to\n",
"items" : {
"type" : "integer",
"format" : "int64",
"example" : 32
}
},
"segments" : {
"type" : "array",
"description" : "**Mandatory if listIds are not used**. Segment ids to send the campaign to.\n",
"items" : {
"type" : "integer",
"format" : "int64",
"example" : 23
}
}
},
"description" : "Segment ids and List ids to include/exclude from campaign"
}
}
}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!