I have a collection named ‘flight-details’ in firestore which has documents with the id corresponding to each flight number. I want to retrieve a certain field from each document by matching the flight number, which is given by a user on dialogflow cx, and I want to store the retrieved data as another parameter in dialogflow cx.
I tried following the sample read code from the documentation, but it is showing a lot of errors.
New contributor