Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dialogflow retrieving data from Firebase Real time database

Currently I'm working on a mobile app using Ionic and Angular2 with Realtime database service from firebase. I want to make a chatbot using Dialogflow to analyze the user request (i.e. I need a wheelchair) and then analyze the firebase db for any similar items stored, and if it exists, I need to show the item's name and the uid of the user who has added it into the database.

Have seen some tutorials on Dialogflow with Cloud Firestore but I'm not sure whether this works with the Realtime DB and how it would work.

Thanks in advance. 😊

like image 248
Veivesh Krishnakumar Avatar asked Apr 21 '26 15:04

Veivesh Krishnakumar


1 Answers

To do this, you'll need to use a fulfillment webhook that will be sent the information about what the user has said, does the database search, and sends the reply using Dialogflow's response JSON format.

like image 116
Prisoner Avatar answered Apr 26 '26 16:04

Prisoner