Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Conversational Agent Chat - Suggestion Prompts To User for ease of conversation

Hi

I created a customer support chatbot using a conversational agent.

But I am unable to figure out from the documentation how can I setup suggestion prompts to user.
For example -
When user say hi, I want to show a few bubble suggestion that he/she can click to interact to bot - the most popular queries - can be hard coded.


1 2 131
2 REPLIES 2

Hi @parvezhassan,

Welcome to Google Cloud Community!

It looks like you are trying to implement suggestion prompts, or quick replies, within your customer support chatbot that utilizes your conversational agent.

Here are the potential ways that might help with your use case:

  • Intent Recognition: To configure your conversational agent, you'll need to define your intent for greetings that are triggered by phrases such as "Hi," "Hello," or "Good morning," Ensure that you've included various similar phrases in your training data for your greeting intent to improve recognition accuracy. Once your intent is configured, your chatbot's logic must be able to detect when the "Greeting" intent is triggered, enabling your bot to respond appropriately to user inputs.

  • Actionable Payloads: Make sure that when you click a suggestion chip, your bot knows what to do. Map the chip's text or payload to a specific intent or action in your bot's logic.
  • Chips Not Appearing: Double-check that your bot is correctly sending the required JSON or YAML structure for suggestion chips.

For more detailed information, you can refer to the following documentation on Google Cloud's Conversational Agents (Dialogflow CX):

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

 

Hi, I was also confused at first using dialogflow.

But you are not lost when you see the documentation from Google Cloud for your project. My suggestion to start a conversation, such as greeting users "Hi", "Hello", "Hello there", and others. Label the event with WELCOME. And when closing the conversation such as: "bye", "bye bye", "see later", and others. Enable the button as an end conversation.

If the conversation is marked other than not an event. You can approach the user's response. For example, "How are you?", "How are you today?", and "How about you?". Avoid two questions in one conversation.