question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when setup push notification using dialogflow-fulfillment-nodejs

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
philipskokohcommented, Jul 20, 2020

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.

0reactions
imesimonecommented, Jul 21, 2020

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). 😂😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dialogflow Push Notification setup not working for ...
One of my Intent "Setup Push Notifications" is having the keywords like "enable notifications" in order to trigger it, which is used to...
Read more >
Dialogflow Integration - Developer Docs | Kommunicate
When a conversation is routed through the bot, it will trigger a WELCOME event to the Dialogflow bot. You can enable default welcome...
Read more >
Manage intents with the API | Dialogflow ES - Google Cloud
Download the room-booking-agent.zip file. · Go to the Dialogflow ES Console. · Select your agent. · Click the settings settings button next to...
Read more >
Actions on Google — Starting a conversation via Push ...
In order to send the user push notifications we first need to make sure ... this needs a new Intent in Dialogflow with...
Read more >
Daily updates (Dialogflow) | User engagement
On this page · Use cases · Set up daily updates. Explore in Dialogflow; 1. Prepare an update intent; 2. Enable updates ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found