Hello. I have a question about setting up push notifications for Google Assistant. I followed the steps in the tutorial and everything worked until using the method
This method tries to reach the Google API endpoint
POST https://actions.googleapis.com/v2/conversations:send, correct? I tried using that endpoint directly too and it complained that there was an invalid argument. It seems that the result of the method
this.$user.getId() (it looks like a UUID) as seen in the example code is not accepted. However, using a session ID manually retrieved from Dialogflow logs (these ID’s start with
"ABwppH") works consistently.
There is a comment that says
// Save user and the intent to db but how do we get an ID that will be accepted by the Google API?
Is there a method in Jovo to get this ID? Would have liked to stick with
this.$user.getId() but its result does not seem to be accepted by Google API (v2) as a valid ID.