Prevent gaction from closing the conversation when no intent match - dialogflow-es

I am using GAction and dialogflow for building a converstion bot.
Issue - For 3 consecutive times if there is no intent match in dialogflow GAction is leaving the conversation.
I want to override this and continue the conersation. How to achieve this?

You can manage this using webhook. Enable fulfillment for the Default Fallback Intent and handle its response from the webhook. We are using the same thing in our action, you can also give it a try.

Related

How can I manage suicidal intents using actions-on-google npm package

My setup:
I'm using actions-on-google to create a custom action for google assistant, every intent is a fallback in dialogflow that is then redirected to my server where I check the intent with a custom nlp engine and then respond to it, using the actions-on-google package.
The issue:
But when an intent is suicidal, for example: "I want to kill myself", google stop the action and give a response instead of letting my custom action handle it. Is there a way to avoid this?, it also happens with certain words like "Save" in that case google stop the action and ask me if I want to save an event or whatnot.
Can I override this behavior?
You're running into a "feature" that Google calls "no-match yielding". In some cases, if you're using a Fallback Intent in Dialogflow, and the Google Assistant itself can handle the question - it will do so.
To avoid this you can use regular Intents that match the #sys.any System Entity.
However, if all you're doing for everything is sending it to your NLU, then you don't need to be using Dialogflow at all. You can just use the Actions on Google v2 to send all TEXT Intents to your NLU for processing.

Is there any way to answer unsaved question in intent in dialogflow

During Chatbot Creation with Dialogflow, suppose user asked some question which wasn't save in intent then how the System will respond that question, in case I'm getting such question, then how we'll deal with it?
When creating a Dialogflow bot you train your bot to respond to phrases by adding them to intents. Any phrases that Dialogflow cannot match to your intents will be handled by a fallback intent. Each Dialogflow bot will have atleast 1 fallback intent called the Default Fallback intent.
In this intent you can set the standard response which you want to use when a user answers with a phrase that your bot doesn't understand.
Besides the default fallback intent you can also add extra fallback intents. You could do this if you want to give a more helpful response to guide your user back on track. This also allows you to set a certain context so that the user doesn't go back to the start of the conversation when they enter something the bot doesn't understand. You can do this by clicking the Add follow-up intent option and selecting fallback from the dropdown.

Triggering next intent without user input in Dialogflow

I'm building my first chatbot using Dialogflow. During my chat sessions, I would like to move on from one intent to another, without having user input in between. This can be seen in this image on Imgur.
The layout of the chat so far can be seen here.
I'm supposed to move from showing the video or article directly to "allright has your car..." without any user input, but I don't seem to be able to. How do I solve this?
I've tried using in and output contexts, but that didn't seem to work.
Thanks in advance!
Events can be triggered through Dialogflow fulfillment or the
detect intent API. These events can be handled in your Dialogflow agent or in fulfillment.
Check documentation here: Dialogflow Events
This means you will need to programmatically do this

Is there any possibility in triggering the intent without the help of Training phrases?

I have created 5 intents in a Dialog flow. After completion of first intent, it should automatically go to the second intent without the use of the training phase. Is there any possibility to do that?
This probably isn't what you want to do. Remember that Intents capture what the user says or does and not how Dialogflow should respond.
If you want to do a series of things when the user says one thing, then you can do all those things in your fulfillment webhook. Your webhook is where you actually do something based on what the user has said, and this can be handled in one function call or several calls that you make from your Intent Handler.
There are two possibilities either you can use contexts or if you want to handle sequence from webhook service you can use events.
For webhook solution,
Give each Intent a specific event and action.
In your webhook request you will get action of your intent and you can trigger next event based on current action. => Dialogflow
For context solution
You can add Follow up intents for your each intents, Follow-up-intents

Welcome intent creating error in dialogflow

when I created a welcome intent in dialogflow in which "welcome" event is made.
I get error saying:"Intent with empty contexts and events '[WELCOME]' already exists".
I checked through all my intents for the error.
Previously I deleted a welcome intent is this the reason behind that error?
what can be done now?
The WELCOME event is a way to trigger an intent at the beginning of the interaction with the Dialogflow Agent. Although you can have multiple Welcome Intents (one for each of the supported one-click integrations), you can only have one Default Welcome Intent, which is triggered if no messaging-platform-specific Welcome Intent is set.
Therefore, as per the answer in your comments, you already have an intent with the WELCOME event (the Default Welcome Intent), so the error message you are getting is correct, given that you can only have one WELCOME intent per input context.
If you are interested in having different responses for the Welcome Intent, try adding other Training Phrases and Responses, but you will not be able to create another Intent with the same WELCOME event. Alternatively, you may use a different Input Context, and in that case you can have multiple Welcome Intents, although you should take into account that the new ones will only be triggered if the given context is met.

Resources