Dialogflow with google app engine

158 views
Skip to first unread message

tony gair

unread,
Dec 27, 2019, 8:38:38 PM12/27/19
to Google Cloud Developers
Hi,
    I am a new developer on google assistant and I am wondering how to use web hooks on a python/flask  app I deploy on app engine. I got lots of other questions too like how to tell if the user is a logged in user, and how to subsequently store data for that user. Is there useful documentation for that?
Thanks

Julie (cloud platform support)

unread,
Dec 30, 2019, 10:51:52 AM12/30/19
to Google Cloud Developers
Its unclear exactly how you plan on using it but this is the main way to use webhooks is with fulfillment which you can find a doc on here and this is the code example. The application to run the request can use App Engine as detailed in the third party document and it this is provides links for created and using an app and this is for building the web service using flask.  Finally you have various options for authenticating users when using your application and it seems you can store Objects for users of detailed here






tony gair

unread,
Dec 31, 2019, 1:43:53 PM12/31/19
to Google Cloud Developers
I want the google id of the user and to ask for it if it has not been given. The reason for that is so I can store some parameters on the user to help them with the app.  Does that make sense?

Julie (cloud platform support)

unread,
Jan 1, 2020, 12:41:45 PM1/1/20
to Google Cloud Developers
Google ID sounds like the gmail email address which you can ask them for with the Google Sign-In authentication option which prompts users to sign in with their Gmail and/or G Suite account and this is the Google Assistant specific page on this method. 
Reply all
Reply to author
Forward
0 new messages