A team chat app
An app that reads and posts in Rabt’s team chat rooms.
Read https://rabt.systems/en/developers/docs/build/chat-app.md Rabt MCP server: https://api.rabt.systems/mcp API reference (OpenAPI): https://rabt.systems/openapi.json Connect to it: reading the docs needs no sign-in; when a step acts on my account, give me the sign-in link and I approve it. If you cannot add a connector yourself, ask me to add it by this address. Task: Build me an app that shows my team’s chat rooms and their messages and lets me post in them.
# A team chat app An app that reads and posts in Rabt’s team chat rooms. ## Goal An app that reads and posts in Rabt’s team chat rooms. ## The prompt ```text Build me an app that shows my team’s chat rooms and each room’s messages, and lets me post in them. Read messages from the last cursor you saved, and try it with a test key. ``` ## What your agent does - `list_chat_rooms`, `read_chat_messages` (`cursor` then `next_cursor`) and `post_chat_message` (with an `idempotency_key`). - A bot posting from outside: `create_chat_incoming_webhook` (the address comes as `secret_view.url`, opened once by the person). - Events to your server: the `chat.message.created` webhook (create the endpoint with `create_webhook_endpoint`). ## Recommendations 1. Load the room list, then each room’s messages from the last `next_cursor` you kept. 2. A server of yours takes `chat.message.created`: verify the signature (see the Webhooks page). 3. An artifact or a page has no endpoint: poll `read_chat_messages` with the saved cursor. ## Pitfalls - To move history in from Slack and similar apps, use Rabt’s chat migration guide. > **Recommendation:** Build and check everything with a test key (`rbk_test_…`): sends are simulated, nothing is charged and nothing reaches a customer. > **Limits:** the chat is internal: customers never see it, and the app does not read anyone else’s direct messages or private groups.

- One chat group for each space
- A ticket card inside the chat
- Write to the space’s team
- The group’s members
Goal
An app that reads and posts in Rabt’s team chat rooms.
The prompt
Build me an app that shows my team’s chat rooms and each room’s messages, and lets me post in them. Read messages from the last cursor you saved, and try it with a test key.What your agent does
list_chat_rooms,read_chat_messages(cursorthennext_cursor) andpost_chat_message(with anidempotency_key).- A bot posting from outside:
create_chat_incoming_webhook(the address comes assecret_view.url, opened once by the person). - Events to your server: the
chat.message.createdwebhook (create the endpoint withcreate_webhook_endpoint).
Recommendations
- Load the room list, then each room’s messages from the last
next_cursoryou kept. - A server of yours takes
chat.message.created: verify the signature (see the Webhooks page). - An artifact or a page has no endpoint: poll
read_chat_messageswith the saved cursor.
Pitfalls
- To move history in from Slack and similar apps, use Rabt’s chat migration guide.
Recommendation: Build and check everything with a test key (
rbk_test_…): sends are simulated, nothing is charged and nothing reaches a customer.
Limits: the chat is internal: customers never see it, and the app does not read anyone else’s direct messages or private groups.