A chatbot for learning experience, made using DialogFlow (Api.ai), facebook developers tool and Node.js for backend.
- Make a facebook page, with desired features.
- Integrate your facebook page with the Facebook Developers tool.
- Link the developers tool with Api.ai
- Make simple chatbots (without databases and Api's), using the intents, entities and integrations in DialogFlow.
- This segment involves no backend.
- Every communication with DialogFlow occurs with Node.js App in between.
- People makes request in facebook page which is sent to Api.ai through Node App.
- Api.ai analyses and produces results, which is sent to FB page through Node app.
- As information flows through an online hosted web app, the information from Api.ai could be stored and manipulated as per wish.
- We can use various Api's in the Web App. I have used the Open Weather Api
- I have used MLabs (mongo database) to store the information from DialogFlow.
- SendGrid Api for mailing has been used to send mails to the job-applicants.
- Gives various available vacancies through Quick replies.
- Asks for Name, Previous Job, Years of Experence, Contact.
- Stores the information in Mlabs.
- Sends email to Manager through Sendgrid, sending all info of the applicant.
Automatically identifies the location, place through Natural Language Processing and shows weather.It automatically identifies any global city, and marks as geo-location. Sends the info back to Node App, where we use Open Weather to get the weather info of that particular location.
Can remember your favourite color, each time! Favourite color is updated every time, and stored in MLabs.
1. Download the code.
2. Fill in various Tokens, webhooks, api keys etc.
3. Integrate Mlabs.
4. Host in heroku.
5. Start chatting from FB page.