Skip to content

A chatbot for filling job vacancies, made with DialogFlow and node.js.

Notifications You must be signed in to change notification settings

amartyabiswas/FacebookMessenger-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FacebookMessenger-Chatbot

A chatbot for learning experience, made using DialogFlow (Api.ai), facebook developers tool and Node.js for backend.

Steps for making an Awesome chatbot:

  1. Make a facebook page, with desired features.
  2. Integrate your facebook page with the Facebook Developers tool.
  3. Link the developers tool with Api.ai
  4. Make simple chatbots (without databases and Api's), using the intents, entities and integrations in DialogFlow.
  5. This segment involves no backend.

Chatbot with Node.js in backend:

  1. Every communication with DialogFlow occurs with Node.js App in between.
  2. People makes request in facebook page which is sent to Api.ai through Node App.
  3. Api.ai analyses and produces results, which is sent to FB page through Node app.
  4. As information flows through an online hosted web app, the information from Api.ai could be stored and manipulated as per wish.
  5. We can use various Api's in the Web App. I have used the Open Weather Api
  6. I have used MLabs (mongo database) to store the information from DialogFlow.
  7. SendGrid Api for mailing has been used to send mails to the job-applicants.

Conversation starts with pressing 'Get Started', and it's a chatbot to take job-applications:

screenshot 146

A typical job application is handled as:

 - 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.

screenshot 140

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.

screenshot 139

Can remember your favourite color, each time! Favourite color is updated every time, and stored in MLabs.

screenshot 138

Simple talk made using the various integrations avaiilable in DialogFlow.

screenshot 141

Glimpse of how chatbot replies without coding...

screenshot 142 screenshot 143 screenshot 144 screenshot 145

Installation

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.

Made by Amartya Biswas. All rights reserved 2018 @ Amartya.

About

A chatbot for filling job vacancies, made with DialogFlow and node.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published