add existing values (params) on detect intent

117 views
Skip to first unread message

Miguel Michelsongs

unread,
Jun 21, 2021, 3:38:08 AM6/21/21
to Dialogflow Essentials Edition users
Hello everyone, I hope someone can give me some light on this,
my use case is a chatbot that requests certain contact information and then give some information, I request (@ sys.email, @ sys.phone), but I have some users who already have that contact information, so it is not need to request it.
What approach should I take here?
I tried adding a queryParams.sessionEntityTypes to add the values ​​for those fields, ok? Or should I implement another approach here?

Thanks in advance

Miguel Michelsongs

unread,
Jun 22, 2021, 3:23:19 PM6/22/21
to Dialogflow Essentials Edition users
should I use context maybe ? which one is better suited for this use case ?

Antoni Sarrion

unread,
Jun 29, 2021, 9:25:09 AM6/29/21
to Dialogflow Essentials Edition users
Hi,

I'm not sure if I understand the issue. Can you please rephrase it and add some examples of what you want to achieve?.

Thanks!

Miguel Michelsongs

unread,
Jun 29, 2021, 10:21:50 AM6/29/21
to Antoni Sarrion, Dialogflow Essentials Edition users
Hello Antoni, thanks for ask

Let's say that I have an intent that requires some parameters for param filling (@sys,email , and @sys.phone). As a user when I start a conversation I could have that information already (signed in users for example) so the question is how can I let the bot know that I've that information in order to skip the parameter filling steps ?

Atte.
Miguel Michelson Martinez
www.vadb.org


--
© 2020 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Dialogflow Essentials (f.k.a. Enterprise) Edition Discussion Google Group (dialogflow-essent...@googlegroups.com; former email: dialogflow-enterp...@googlegroups.com) to participate in discussions with other members of the Dialogflow community and the Dialogflow Team.
---
You received this message because you are subscribed to the Google Groups "Dialogflow Essentials Edition users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dialogflow-essentials-e...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dialogflow-essentials-edition-users/1995d4e6-92c2-4ce0-977e-85e69cc4a40an%40googlegroups.com.

Jaume Lopez Topping

unread,
Jul 28, 2021, 3:29:24 AM7/28/21
to Dialogflow Essentials Edition users
One idea could be:
1. Set the `awaiting_phone` (to take phone as an example) as an output context in the Default Welcome Intent
2. Setup a fullfillment for this intent.
3. In the fullfillment code get the value from the user session (or a database, etc. for the user that is logged in) and provide the value in the `outputContexts` field, as a parameter of the context.
4. To get the value of the `parameterName` from the `MyContext` context in the Dialogflow console, one can use: `#MyContext.parameterName`

Ad 1-3 ---> There is a walkthrough on how to do it in this video [1]

[1] -

Mizar Contasti

unread,
Aug 7, 2021, 3:02:33 PM8/7/21
to Dialogflow Essentials Edition users
Good Morning Everyone, I recommend you to set all the params in the context you prefer. In the backend you can check of some param exists, and depending of the response you do some response or another
Reply all
Reply to author
Forward
0 new messages