2

I want to do registrations using dialogflow. For example: I want bot to ask following questions:

What's your name? What's your email?

and so on.

I tried to implement this but not able to manage intents properly. What should I do to achieve that? Thanks

ukasha sohail
  • 162
  • 1
  • 11
  • Was there anything specific that you weren't able to accomplish with the intents? The question is quite broad at the moment. – Jordi Feb 12 '21 at 12:56
  • Could you specify which Dialogflow service you are using, [CX](https://cloud.google.com/dialogflow/cx/docs) or [ES](https://cloud.google.com/dialogflow/es/docs)? What challenges were you facing? You may also try to start with one of the prebuilt agents ([ES](https://cloud.google.com/dialogflow/es/docs/agents-prebuilt)/[CX](https://cloud.google.com/dialogflow/cx/docs/concept/agents-prebuilt)) to help you to get started. For CX, you may try “Order and account management” prebuilt agent and check the “Address Collection” flow. For ES, you may try “User Name” prebuilt agent. – Riel Feb 23 '21 at 23:06

1 Answers1

8

First, you need to add the training phrases and then extract the entities for the names & email ids. Once it's done, you need to add the prompts and the follow-up chatbot messages in the Bot reply order.

In Dialogflow ES, go to the intent > add training phrases > extract the name, email ids by clicking on the particular words and it will be reflected in the 'Action and parameter' section then add the prompts.

enter image description here

In Dialogflow CX, go to the Build > flow section > select the route of your intent > select the intent > add training phrases and extract the names, email ids then add prompts to be displayed by the chatbot.

enter image description here

Here's an example - how it will be displayed

enter image description here

If you need any more info, please refer to the following doc for more details.

Samir1810
  • 389
  • 1
  • 10