Skip to content

feat: init inbound webhook for Rocket.Chat channel plugin#3

Draft
dodaa08 wants to merge 1 commit into
RocketChat:mainfrom
dodaa08:feat-Inbounds
Draft

feat: init inbound webhook for Rocket.Chat channel plugin#3
dodaa08 wants to merge 1 commit into
RocketChat:mainfrom
dodaa08:feat-Inbounds

Conversation

@dodaa08
Copy link
Copy Markdown
Collaborator

@dodaa08 dodaa08 commented May 26, 2026

What this does

Adds a unified Rocket.Chat plugin to OpenClaw that handles both sending and receiving messages without needing an external bridge server.

How the webhook works

RC client → POST /rocketchat/webhook
↓ validates x-rocketchat-livechat-token
↓ filters out bot/self messages
↓ api.gateway.dispatchInbound(...)
↓ OpenClaw routes message inbound

Related to #2

Still figuring out

Trying to get registerChannel to correctly wire up with the custom webhook so RC client can call it end to end. The outbound via REST API works, inbound webhook is set up just need to confirm api.gateway.dispatchInbound is being picked up correctly by OpenClaw once the channel is registered.

Env vars needed

Var Purpose
RC_URL RC server URL
RC_AUTH_TOKEN Bot auth token
RC_USER_ID Bot user ID
DEFAULT_ROOM Fallback room ID
RC_WEBHOOK_SECRET Webhook validation token

@dodaa08 dodaa08 marked this pull request as draft May 26, 2026 14:51
@dodaa08 dodaa08 added the core label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant