I am just trying a simple get command with Firestore, using this code from Google it doesn't work because it's not waiting for the promise?  Earlier I had put only a snippet of code, this is the entirety of index.js -- I'm using Firestore...
What I'm trying to do is to be able to use request-promise-native and cheerio in my dialogflow webhook to scrape some articles from a website, I've tried several ways but never been able to work it out.   My last attempt was doing as suggeste...
I want to get the original input of a parameter in my fulfillment code.  I tried:  var time = agent.parameters.time.original   but the result was undefined.  I have tried:  var query = agent.query   but could not accurately parse the parameter I need...
i try to build a ActionsOnGoogle App with the ActionsSDK, Firebase Functions and Firebase Firestore.  I build a fulfillment that haves to intents. The mainIntent when starting the Actions App and the answerIntent when the users answers the question f...
I am building an Assistant app for Google Home, using Dialogflow, Cloud Functions and the new NodeJS Client Library V2 for Actions on Google. In fact I am in the process of migrating my old code built with V1 to V2.    The Context     I am trying to...
I build an action which plays some audio file. I want to add ability for user to listen from the place he stopped. In Alexa there is an offset parameter which I could specify. Is there anything similar for Google Assistant?  For now I start playback...
Following code is working. But agent.add() function is not working, i.e not getting output value to user.  var ref = admin.database().ref().child("Table/");  var query = ref.orderByChild("RegId").equalTo(RegId.toString());  query.once...
I was trying to make NodeJs work with Kotlin for a HelloWorld example here.  As per the Kotlin JS documentation, @JsName annotation is required for overloaded methods. But in my experience, it is required even for a single method. Without this annota...
I'm going through a NodeJS tutorial for Google Assistant / Actions on Google https://codelabs.developers.google.com/codelabs/actions-1/#5 and have code that looks like :  app.intent('Location', (conv, {geo-city}) => {   const luckyNumb...
I'm having an issue when I perform an array map prior to conv.ask. I'm getting an error related to a malformed JSON object, but as far as I can tell it should be valid.   const timetableCells = timetable.Trains.map((item) => {   return {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.