You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to send Postback Payload in Webhooks?

Accepted answer
edited Jan 29, 2019 6:29AM in Digital Assistant & Mobile 3 comments


Is it possible to update the variables using a postback payload from a webhook channel?


Hi developers,
I am developing a custom SDK for Hangouts Chat and I want to update the variables using Postback actions.
I referred to the official documentatiton and I am a little unclear of what needs to be done. 
Could anyone give an example of a message payload for Postback action that updates the conversation variables?
A full example is really appreciated. 
This is my code snippet:


let message = {
"userId": userEmail,
"profile": {
"firstName": "Bob",
"lastName": "Franklin",
"age": 45
"messagePayload": {
"type": "postback",
"postback": {
"variables": {

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!