Skip to content

Conversational chatbot for reminders using dialogflow and fb messenger

Notifications You must be signed in to change notification settings

dutterbutter/siren

Repository files navigation

siren

CircleCI

Conversational chatbot for reminders using Facebook messenger and Dialogflow.

Prerequisites

  • Facebook account
  • Facebook page
  • DialogFlow account

Install

git clone <repo>
npm install

Usage

First set up an .env file that looks similiar to this:

FB_PAGE_ACCESS=<YOUR_PAGE_ACCESS_TOKEN>
FB_VERIFY_TOKEN=<YOUR_VERIFY_TOKEN>
FB_APP_SECRET=<YOUR_FB_SECRET_TOKEN>
DIALOG_FLOW_TOKEN=<YOUR_DIALOGFLOW_TOKEN>

To run locally:

node index.js

To run with docker:

Add the following to your .env file:

MONGO_CONNECTION_STRING=mongodb://mongo:27017/data

Then run:

docker-compose up --build

Use ngrok for development, as Facebook requires https.

About

Conversational chatbot for reminders using dialogflow and fb messenger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published