Error when setup push notification using dialogflow-fulfillment-nodejs
See original GitHub issueI am developing chatbot using dialogflow-fulfillment-nodejs
which allows me to integrate to multiple platform. I am about to add push notification feature on google actions. I am following the guideline to opt-in user for push notification:
https://developers.google.com/actions/assistant/updates/notifications
I have done the console setup to enable the push notification on the intent (in this example it is ‘send recommendation’ intent). Then I create the setup push notification intent to opt-in user. This
function setup_push(agent) {
let conv = agent.conv();
conv.ask(new UpdatePermission({intent: 'send recommendation'}));
agent.add(conv);
}
However the agent encounter an error when fulfilling this setup_push fulfillment. Here is the error message:
MalformedResponse
expected_inputs[0].possible_intents[0].input_value_data: The intent the app is asking for permission to send updates for is not found..
Any explanation regarding this error?
Do you have any example on performing push notification on dialogflow-fulfillment-nodejs
?
Thank you very much.
Related issue on dialogflow-fulfillment-nodejs
repo:
https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/214
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Hi @imesimone, if the user clicks turn-off in the Google action notification (user can see the button if the user expand the notification). It indicates that the user ‘opt-out’ of your notification service.
Thank you! I always thought that the button would stop notifications of the application (Google Assistant). 😂😅