All Projects → dialogflow → fulfillment-firestore-nodejs

dialogflow / fulfillment-firestore-nodejs

Licence: Apache-2.0 License
Integrating Firebase's Firestore database with Dialogflow

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fulfillment-firestore-nodejs

fulfillment-slot-filling-nodejs
Slot Filling with Dialogflow Fulfillment
Stars: ✭ 16 (-79.75%)
Mutual labels:  actions-on-google, dialogflow-fulfillment-nodejs, add-to-dialogflow
fulfillment-actions-library-nodejs
Integrating Actions on Google Client Library with Dialogflow's Fulfillment Library
Stars: ✭ 28 (-64.56%)
Mutual labels:  actions-on-google, dialogflow-fulfillment-nodejs, add-to-dialogflow
fulfillment-temperature-converter-nodejs
Sample demonstrating how to make a Dialogflow agent compatible with 9 platforms
Stars: ✭ 16 (-79.75%)
Mutual labels:  actions-on-google, dialogflow-fulfillment-nodejs, add-to-dialogflow
fulfillment-webhook-nodejs
Default Fulfillment code in Dialogflow's Inline Editor
Stars: ✭ 188 (+137.97%)
Mutual labels:  actions-on-google, dialogflow-fulfillment-nodejs
crud todo app
Create a To-do List Flutter app managing CRUD with Firebase, using RiverPod as state management and dependency injection
Stars: ✭ 35 (-55.7%)
Mutual labels:  firestore-database
fireman
Tame your Firebase databases
Stars: ✭ 36 (-54.43%)
Mutual labels:  firestore-database
gatsby-firebase-starter
🔥 Starter Project / Boilerplate for Authentication and creating Dynamic pages from collections with Firebase and Gatsby.js.
Stars: ✭ 61 (-22.78%)
Mutual labels:  firestore-database
Facebook-Messenger
This is a Facebook Messenger clone.You can comminicate to other at realtime.Used ReactJS, Material UI, Firebase, Firestore Database
Stars: ✭ 18 (-77.22%)
Mutual labels:  firestore-database
SwiftUIRealtimeShoppingCart
SwiftUI Collaborative Shopping Cart with Firestore Database
Stars: ✭ 34 (-56.96%)
Mutual labels:  firestore-database
assistant-conversation-nodejs
A developer friendly way to fulfill Actions SDK handlers for the Google Assistant
Stars: ✭ 82 (+3.8%)
Mutual labels:  actions-on-google
FireShort
A URL Shortener made using React.JS and Google Firestore
Stars: ✭ 29 (-63.29%)
Mutual labels:  firestore-database
local-home-sdk
Local Home SDK
Stars: ✭ 65 (-17.72%)
Mutual labels:  actions-on-google
youtemy
A great way to learn from YouTube courses without any distractions and the ability to enroll in courses and track them with a daily streak to become more consistent.
Stars: ✭ 28 (-64.56%)
Mutual labels:  firestore-database
actions-tools
This provides you some useful tools to build your actions for Google Assistant.
Stars: ✭ 13 (-83.54%)
Mutual labels:  actions-on-google
Blazor-CRUD-With-CloudFirestore
Single Page Application (SPA) using Blazor with the help of Google Cloud Firestore as Database provider
Stars: ✭ 34 (-56.96%)
Mutual labels:  firestore-database
flutter-app
Full Feature Todos Flutter Mobile app with fireStore integration.
Stars: ✭ 138 (+74.68%)
Mutual labels:  firestore-database
unishox js
JS Library for Guaranteed compression of Unicode short strings
Stars: ✭ 27 (-65.82%)
Mutual labels:  firestore-database
BookRentApp-Chapter3
An app where you can rent some books!
Stars: ✭ 11 (-86.08%)
Mutual labels:  firestore-database
Far-From-Home
A cross-platform mobile developed using Flutter and Firestore for House Rental Application with integrated payment module
Stars: ✭ 27 (-65.82%)
Mutual labels:  firestore-database
blogging-app-with-Angular-CloudFirestore
A blogging application created with the help of Angular on front-end and Google Cloud Firestore on backend.
Stars: ✭ 45 (-43.04%)
Mutual labels:  firestore-database

Dialogflow Firestore Sample

  • This sample demonstrates how to connect Dialogflow to the Firestore database.
  • Dialogflow parses users' requests and sends requests to Firebase function indicating whether it should add or retrieve an entry from the Firestore database. The Firebase function queries the database to add or retrieve the entry and then compiles the proper response to the user. You can speak to your Dialogflow agent and tell it to write something to the database or retrieve it.
  • The sample will save what you tell it to save into the database as well as retrieve the value you store previously.
  • When you speak to your Dialogflow agent a webhook call is sent to Firebase functions which talks to the Firestore database to retrieve or add a entry as see below:

This sample is meant to be a starting point for anyone looking to connect a database to their Dialogflow agent and can be expanded to store users preferences, retrieve relevant data from your systems or enable your users to collaborate via chat/voice.

Dialogflow → Webhook Request → Firebase Function → Firestore Database

Setup

Dialogflow and Fulfillment Setup

To create this agent from our template:

Firestore Setup

  1. In Dialogflow's console, in the left menu > go to Fulfillment > Enable Inline Editor > Deploy.
  2. At the bottom, go to View execution logs in the Firebase console.
  3. In the Firebase console, go to Database > Create database.
  4. Select Start in locked mode > Enable.

Running the sample

  1. In Dialogflow's console, in the Dialogflow simulator on the right, query your Dialogflow agent with Write Buzz Aldrin to the database and then query What's in the database? to get the response "Buzz Aldrin".

Related Samples

Name Language
Fulfillment & Regex Validation Node.js
Weather: Fulfillment & WWO API Node.js
Bike Shop: Fulfillment & Google Calendar API Node.js
Temperature Trivia: Fulfillment & Actions on Google Node.js
Fulfillment & Actions on Google Node.js
Fulfillment & Firestore Database Node.js
Multi-language/locale Node.js
Basic Slot Filling Node.js

For Fulfillment Webhook JSON Requests & Responses.

References & Issues

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].