Follow up intent for NO INPUT not firing with dialogflow











up vote
1
down vote

favorite












I have a "book reading" action and I tried to add a follow up intent for my read intent to reprompt a user if there was no response. Following the doc https://developers.google.com/actions/assistant/reprompts - my webhook never gets called.



However, if I add the no input handler as a main intent, I do get this event!



Is this a bug or did I miss something.










share|improve this question


























    up vote
    1
    down vote

    favorite












    I have a "book reading" action and I tried to add a follow up intent for my read intent to reprompt a user if there was no response. Following the doc https://developers.google.com/actions/assistant/reprompts - my webhook never gets called.



    However, if I add the no input handler as a main intent, I do get this event!



    Is this a bug or did I miss something.










    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have a "book reading" action and I tried to add a follow up intent for my read intent to reprompt a user if there was no response. Following the doc https://developers.google.com/actions/assistant/reprompts - my webhook never gets called.



      However, if I add the no input handler as a main intent, I do get this event!



      Is this a bug or did I miss something.










      share|improve this question













      I have a "book reading" action and I tried to add a follow up intent for my read intent to reprompt a user if there was no response. Following the doc https://developers.google.com/actions/assistant/reprompts - my webhook never gets called.



      However, if I add the no input handler as a main intent, I do get this event!



      Is this a bug or did I miss something.







      dialogflow actions-on-google






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 17 hours ago









      Micromuncher

      433113




      433113
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          The no-input event is a little unusual, since it is handled differently internally compared to many other events. It would not surprise me if this difference requires it to be handled as a top-level Intent. You may also wish to just try setting the context in your book reading portion and having this as an input context for your no-input event.



          However... this will also likely not do what you want it to do.



          The no-input event will automatically terminate the conversation after three sequential events, even if you don't explicitly close the conversation.



          The current way to handle this would be to use a Media Response after each portion you read. This would include a very short audio file. After the audio plays, your Action will be actions_intent_MEDIA_STATUS event, which you can use to trigger the next portion to be read.






          share|improve this answer





















          • The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
            – Micromuncher
            8 hours ago










          • A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
            – Prisoner
            8 hours ago




















          up vote
          2
          down vote













          No Input will be main intent as it can be reused by other intents. You may need to save bots response in a parameter in the context to check what the bot replied when handling the re-prompts from this generic No Input intent.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53369796%2ffollow-up-intent-for-no-input-not-firing-with-dialogflow%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            The no-input event is a little unusual, since it is handled differently internally compared to many other events. It would not surprise me if this difference requires it to be handled as a top-level Intent. You may also wish to just try setting the context in your book reading portion and having this as an input context for your no-input event.



            However... this will also likely not do what you want it to do.



            The no-input event will automatically terminate the conversation after three sequential events, even if you don't explicitly close the conversation.



            The current way to handle this would be to use a Media Response after each portion you read. This would include a very short audio file. After the audio plays, your Action will be actions_intent_MEDIA_STATUS event, which you can use to trigger the next portion to be read.






            share|improve this answer





















            • The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
              – Micromuncher
              8 hours ago










            • A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
              – Prisoner
              8 hours ago

















            up vote
            3
            down vote



            accepted










            The no-input event is a little unusual, since it is handled differently internally compared to many other events. It would not surprise me if this difference requires it to be handled as a top-level Intent. You may also wish to just try setting the context in your book reading portion and having this as an input context for your no-input event.



            However... this will also likely not do what you want it to do.



            The no-input event will automatically terminate the conversation after three sequential events, even if you don't explicitly close the conversation.



            The current way to handle this would be to use a Media Response after each portion you read. This would include a very short audio file. After the audio plays, your Action will be actions_intent_MEDIA_STATUS event, which you can use to trigger the next portion to be read.






            share|improve this answer





















            • The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
              – Micromuncher
              8 hours ago










            • A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
              – Prisoner
              8 hours ago















            up vote
            3
            down vote



            accepted







            up vote
            3
            down vote



            accepted






            The no-input event is a little unusual, since it is handled differently internally compared to many other events. It would not surprise me if this difference requires it to be handled as a top-level Intent. You may also wish to just try setting the context in your book reading portion and having this as an input context for your no-input event.



            However... this will also likely not do what you want it to do.



            The no-input event will automatically terminate the conversation after three sequential events, even if you don't explicitly close the conversation.



            The current way to handle this would be to use a Media Response after each portion you read. This would include a very short audio file. After the audio plays, your Action will be actions_intent_MEDIA_STATUS event, which you can use to trigger the next portion to be read.






            share|improve this answer












            The no-input event is a little unusual, since it is handled differently internally compared to many other events. It would not surprise me if this difference requires it to be handled as a top-level Intent. You may also wish to just try setting the context in your book reading portion and having this as an input context for your no-input event.



            However... this will also likely not do what you want it to do.



            The no-input event will automatically terminate the conversation after three sequential events, even if you don't explicitly close the conversation.



            The current way to handle this would be to use a Media Response after each portion you read. This would include a very short audio file. After the audio plays, your Action will be actions_intent_MEDIA_STATUS event, which you can use to trigger the next portion to be read.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 12 hours ago









            Prisoner

            29.5k12551




            29.5k12551












            • The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
              – Micromuncher
              8 hours ago










            • A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
              – Prisoner
              8 hours ago




















            • The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
              – Micromuncher
              8 hours ago










            • A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
              – Prisoner
              8 hours ago


















            The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
            – Micromuncher
            8 hours ago




            The exciting part is that my narrator uses SSML magic to narrate. So, if I understand what you are saying, I should play a soft "bing" (like some audio books) to denote that I'm moving on to the next page. (Thanks - that was actually really useful.)
            – Micromuncher
            8 hours ago












            A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
            – Prisoner
            8 hours ago






            A soft "bing" or just a very short, empty, audio. Whatever works in your environment. Glad it helps!
            – Prisoner
            8 hours ago














            up vote
            2
            down vote













            No Input will be main intent as it can be reused by other intents. You may need to save bots response in a parameter in the context to check what the bot replied when handling the re-prompts from this generic No Input intent.






            share|improve this answer

























              up vote
              2
              down vote













              No Input will be main intent as it can be reused by other intents. You may need to save bots response in a parameter in the context to check what the bot replied when handling the re-prompts from this generic No Input intent.






              share|improve this answer























                up vote
                2
                down vote










                up vote
                2
                down vote









                No Input will be main intent as it can be reused by other intents. You may need to save bots response in a parameter in the context to check what the bot replied when handling the re-prompts from this generic No Input intent.






                share|improve this answer












                No Input will be main intent as it can be reused by other intents. You may need to save bots response in a parameter in the context to check what the bot replied when handling the re-prompts from this generic No Input intent.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 14 hours ago









                Abhinav Tyagi

                3,01212035




                3,01212035






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53369796%2ffollow-up-intent-for-no-input-not-firing-with-dialogflow%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    SQL update select statement

                    'app-layout' is not a known element: how to share Component with different Modules