Nexmo Messages API - Connect Facebook & Google Dialogflow
This sample application demonstrates how to connect a Facebook page to Google's Dialogflow (a powerful NLP engine that allows you to write and train responses to incoming questions).
You will need a few things to get going with this app:
- A Nexmo Account
- A Nexmo Messages & Dispatch App [set one up here]
- A Facebook page for a business or brand
- A Google Dialogflow account
To get this up and running:
- Clone the repo and run
.envand fill out all the environment vars required
npm run devto start things up!
Google Dialogflow Settings
For testing, you can set your app up as a Small Talk Bot that will generate chirpy responses to anything you ask it. Once you've confirmed everything is working you'll want to move to using your own Intents and Entities to make it useful.
For more information on getting Dialogflow up and running, check out the [Dialogflow documentation(https://dialogflow.com/docs/getting-started).