node-red-contrib-chatbot 0.6.25

REDBot a Chat bot for a full featured chat bot for Telegram**, Facebook Messenger and Slack. Almost no coding skills required

npm install node-red-contrib-chatbot

RedBot

With RedBot you can visually build a full featured chat bot for Telegram, Facebook Messenger and Slack with Node-RED. Almost no coding skills required.

Release npm Build

Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.

Documentation

  1. RedBot nodes
  2. Examples
  3. Advanced examples
  4. Chat context
  5. Changelog

Getting started

First of all install Node-RED

$ sudo npm install -g node-red

Then open the user data directory ~/.node-red and install the package

$ cd ~/.node-red
$ npm install node-red-contrib-chatbot
$ node-red

Then run

node-red

The next step is to create a chat bot, I reccomend to use Telegram since the setup it's easier ( Telegram allows polling to receive messages, so it's not necessary to create a https certificate). Use @BotFather to create a chat bot, follow instructions here then copy you access token.

Then open your Node-RED and add a Telegram Receiver, in the configuration panel, add a new bot and paste the token

Telegram Receiver

Now add a Message node and connect to the Telegram Receiver

Simple Message

Finally add a Telegram Sender node, don't forget to select in the configuration panel the same bot of the Telegram Receiver, this should be the final layout

Example Simple

Now you have a useful bot that answers "Hi there!" to any received message. We can do a lot better.

Credits

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Coded with :heart: in :it:

Node Info

Version: 0.6.25
Updated 1 day ago
License: ISC

Downloads

1154 in the last day
3688 in the last week
5093 in the last month

Nodes

  • chatbot-message
  • chatbot-context
  • chatbot-topic
  • chatbot-apiai
  • chatbot-apiai-token
  • chatbot-voice
  • chatbot-language
  • chatbot-listen
  • chatbot-parse
  • chatbot-command
  • chatbot-document
  • chatbot-image
  • chatbot-audio
  • chatbot-location
  • chatbot-ask
  • chatbot-inline-buttons
  • chatbot-account-link
  • chatbot-request
  • chatbot-log
  • chatbot-qrcode
  • chatbot-conversation
  • chatbot-debug
  • chatbot-waiting
  • chatbot-authorized
  • chatbot-transport
  • chatbot-rivescript
  • chatbot-telegram-node
  • chatbot-telegram-receive
  • chatbot-telegram-send
  • chatbot-slack-node
  • chatbot-slack-receive
  • chatbot-slack-send
  • chatbot-messenger-menu
  • chatbot-facebook-node
  • chatbot-facebook-receive
  • chatbot-facebook-send
  • chatbot-smooch-node
  • chatbot-smooch-receive
  • chatbot-smooch-send

Keywords

  • node-red

Maintainers

  • guidone