Route a channel or account to a specific agent

agents & sessions

// what it does

Bindings route inbound messages by most-specific-match: an exact peer beats a guild plus role, which beats an account, which beats a bare channel, falling back to the default agent. openclaw agents bind <id> <channel> attaches an agent; add channel:accountId to pin one account.

// shell

$ openclaw agents bind work telegram
$ openclaw agents bind work whatsapp:biz
$ openclaw agents unbind work telegram

// gotcha

accountId: "*" matches every account on a channel, but omitting accountId matches only the default account — a common reason a second WhatsApp number silently hits the wrong agent.

// resources