简体   繁体   中英

Retrieve user first name, last name and email without account linking

I've implemented my action using Google Sign-in and Account Linking but I've realised that this may not be necessary as I just need to retrieve the user email address, name and last name during the conversation for the sole purpose of sending an email and forget about it after.

With account linking the user interacting with my agent is asked to "register" an account with which could discourage users to proceed.

I've found this agent which simply asks "in order to get your email address can we access your google account"... https://assistant.google.com/services/a/uid/000000f63f47d43d

How can that be achieved?

Thanks, Salvo

The first thing to consider is that it can be difficult to speak an email address using voice, making it possible for a transcription error. Some names may also be transcribed incorrectly, which may result in a bad user experience.

The second is that using account linking is the recommended way generally. As noted in the platform policy :

All Actions must: ... Request sensitive user data via the Permissions API; All requests for a user's location and name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM