Skip to main content

Creating a Bot

Bots are first-class users on mssgs - build one with webhooks and slash-command triggers.

On mssgs, bots aren't hacks or workarounds - they're first-class users with a BOT label, their own profile and custom status. Your community members can mention them, DM them and use their commands.

The building blocks

  • Incoming webhooks - a URL your service posts to, and the message lands in a channel. Perfect for alerts (CI results, monitoring, tickets).
  • Slash-command triggers - members type /yourcommand, mssgs calls your webhook, your response posts back. Interactive bots without any framework.
  • Action buttons - buttons on bot messages that fire triggers or webhook actions when pressed (see Bot Cards & Buttons).

Your first bot in five minutes

1
Open your community's Server Settings → Integrations.
2
Create an incoming webhook for a channel and copy its URL.
3
POST a message to that URL - it appears in the channel instantly.
4
Add a trigger so members can ask your bot things with a slash command.

Full request/response formats, examples and error codes live in the API documentation, with rendered card previews in the bot guide. And if you want AI-driven behavior without building anything, the MCP route might be all you need.

Was this article helpful?

Didn’t find what you were looking for? We’re happy to help.

Ask your question

Still need help?

Our support team usually replies within 24 hours.

Contact support