Use nickname in Dialogflow

6 views
Skip to first unread message

C. B.

unread,
Jul 20, 2020, 6:08:03 PM7/20/20
to dialogflow-enterprise-edition-users
Hi,
I am aiming at building a Google agent. Google assistant allows you to specify your nickname. I was wondering if there was a way to call that nickname (or else the username) in an intent's response (e.g. "Hey [nickname], I am [Test App]. Would you like to play the news?"). I googled it many times without finding any useful result. Of course I could create an intent asking for the name and save it under the entity @sys.person but getting the pre-defined nickname could both save time and possibly errors.  Any idea on how to do this on Dialogflow? Maybe on Google Actions?

Thanks for you patience :)

Алекс Крейн

unread,
Jul 21, 2020, 5:26:25 AM7/21/20
to dialogflow-enterprise-edition-users
Hey. I use the dating option to determine the username and store the username in @ sys.person. However, I don't know how to reuse this parameter.

вторник, 21 июля 2020 г. в 01:08:03 UTC+3, berube....@gmail.com:

Allen Firstenberg

unread,
Jul 21, 2020, 8:30:38 AM7/21/20
to C. B., dialogflow-enterprise-edition-users
This information will be available once the user does Account Linking with Google Sign-In for Assistant. Dialogflow doesn't provide any specific tools for this.
See https://developers.google.com/assistant/conversational/df-asdk/helpers#account_sign-in for some basics how to do this with Dialogflow and https://developers.google.com/assistant/identity#google_sign-in for more about it (although the latter page is more oriented to the new Actions Builder).

--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Dialogflow Enterprise Edition Discussion Google Group (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-enterprise-edition-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dialogflow-enterprise-e...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dialogflow-enterprise-edition-users/53387d09-b648-4f0f-a229-a7ac7c845a4co%40googlegroups.com.

Ludvig Linse

unread,
Jul 21, 2020, 9:17:34 AM7/21/20
to Allen Firstenberg, C. B., dialogflow-enterprise-edition-users
To add to Allen's answer - if you use https://narratory.io to build your DF agent you get Google Sign-in on Assistant out of the box, used like this: https://narratory.io/docs/user-management#signing-in

It is not yet available in our graphical builder, but will be shortly!

Best regards,

Ludvig

Reply all
Reply to author
Forward
0 new messages