EloBot can make small talk thanks to Google's Api.ai, and add flash cards to the database.
Each users's Messenger sessionID is stored in MongoDB so that they can access their cards later to practice. In the screenshot, you can see that there are 2 documents in the collection representing 2 different users and their cards array.
small talk + adding cards | database |
- set up ngrok
- verify Facebook webhook using ngrok
- create an API.AI agent
- add quick reply option to the bot: https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies
- host mongoDB on mLab
- configure mongoose and get rid of the deprecation warning for open()
- customize API.AI small talk
- create a Card Intent for the API.AI agent
- create a Practice Intent for the API.AI agent
- create process.env file for Node
- deploy on AWS