How can I get logged in users email id in dialogflow and send it to webhook.
I am integrating it with google assistant.
You can get user's email by asking them to link their google account with your agent.
https://developers.google.com/actions/identity/google-sign-in
Related
I am new to build chat-bots. Here I have made a chat-bot using dialog flow and integrated with google assistant. Is their any way that we can get the mail id of the user interacting with the chat-bot so that we can send mail to their respective id.
Only with the user's permission to give it to you. You can request that they sign in using Google Sign In for Assistant. When they do so, their profile information is available. If their email address is part of their profile, it will be included.
I have AWS Cognito account linking setup with Actions on Google. I have requested the scope of email. I am using API.AI, how can I get the user's email? From what I've read, you get a userId that is basically an anonymous id. How can I get user details?
For getting user details like mail id etc, you would have to enable Account linking on your google home dialog flow console.
You would also have to provide an Oauth2 server to get the authorization done.
Refer to this : https://developers.google.com/actions/identity/account-linking
Once this is done, you will receive an auth_token every time your api.ai app is invoked. You will then have to use this token and retrieve the user details like mail id from Google API services.
Let me know if I need to add more details, in case its not clear.
We are using OAuth2 to authenticate the users to DocuSign, after the authentication we use the AccountsApi call to get account information to get the account id of the logged in user. This is in the form of "ecsddfbfa5-13d2-4e8e-c49e-a214r166b987", so we save this login information. Now, when we receive the webhook notification on completion of an envelope, we get the account id as part of the custom fields and this is in the form of "7657898" (numeric). The issue is that we can't map the notifications with the user that initiated the signing.
One way of ensuring the account ID that you get from DS event notification is the same as the one that was used to login is to do a GET /v2/accounts/{numericAccountId} and compare its response.accountIdGuid with the one you got at login-time (most-likely from GET /oauth/userinfo).
See https://docs.docusign.com/esign/restapi/Accounts/Accounts/get/
When send the notification email to customer, how to get the password of customer info?
I wanna send the notification email with Password info.
Thanks for your helpness.
When you give access to your customer and check the field "SEND NOTIFICATION EMAIL" under Access tab, due to security reasons NetSuite does not include password information in notification email.
If you wants to include password info in notification email, you will need a custom script - after submit user event script deployed on customer record with criteria of your interest to send notification email. You should also consider not to check SEND NOTIFICATION EMAIL" field.
I am using instagram login in my website. I get the username only from instagram. I can't get the email id to check with the already existing one in my database. Is there any way to get the email id?
The bottom of this page:
https://instagram.com/developer/authentication/ mentions the scopes that are supported and email is not one of them, so you will not get email.