Bots (or Chatbots) are pieces of software or software systems that provide automated messaging to a chat platform. They typically add value by integrating large external services such as CRM and big data sources. Bots provide a friendly conversational interface that users on chat platforms are already familiar with, which also brings simplicity to complex systems. Besides, bots add automation, natural language understanding, and machine learning possibilities.
In Rocket.Chat, a bot is a special user account with the bot
role and a specific set of permissions.
Bots in Rocket.Chat cannot send messages to users on their own. Instead, they subscribe to so-called collections of messages that every user has. The subscription creates a stream that is updated every time messages are sent either directly to bots or any room they are joined in.
For more details, see the Bots Architecture section.
Like most chatbot platforms, Rocket.Chat supports bots that are hosted outside of your Rocket.Chat instance, running on an external server.
For more details, see the Bots Architecture section.
These are the basic steps for using bots with Rocket.Chat:
- A bot user is created by an admin on the server;
- The bot is running as a separate process using your chosen framework or platform;
- The bot environment is pre-configured with environment variables;
- The bot's behavior is defined via scripts according to the requirements of your framework. For example, check the details on how to run a bBot bot.
Get yourself familiar with Bots Architecture.
- Configure the Bot Environment
- Create a Bot
- Running a Botkit Bot
- Running a Hubot Bot
- Running a Botpress Bot
- Running a Rasa Bot
- Running a bBot Bot
Configuration and implementation details for components of the Bots Architecture can be found in their project READMEs:
- Rocket.Chat JS SDK
- bBot Rocket.Chat boilerplate
- Hubot Rocket.Chat boilerplate
- Hubot Rocket.Chat adapter
To contribute to features under development see our Bots Project issues.