NovaChat User’s Guide
255
Term
Meaning
Payload examples:
Add content to your
document (see “webhook event” above);
format the content
The webhook service/provider defines the
payload. Here's what a small portion of a
payload looks like when it's delivered to a
webhook service:
{
"event_id": "LtWXD3crgy",
"event_type": "form_response",
"form_response": {
"form_id": "lT4Z3j",
"token": "a3a12ec67a1365927098a606107fac15",
"submitted_at": "2018-01-18T18:17:02Z",
JSON
Webhooks must deliver responses
(payloads) in JSON format, a language used
by programmers. The Chat software
provides an interface for these responses.
The example under “payload” above is in
JSON format.
placeholder
To simplify creating payloads, the Chat
software provides two placeholders: (1) The
content of the Speech Display Bar and (2)
The button message (shown in the Message
box, not the Label box).
Placeholders must appear in these formats:
${SDB} and ${MESSAGE}
The placeholders are not required. You can
use either, both, or neither.