#Slack DMs not reaching default agent — only secondary account receives DMs

1 messages · Page 1 of 1 (latest)

copper urchin
#

v2026.2.15 | Linux WSL2 | Slack Socket Mode | Two agents: main (default) + maya (secondary account)

Problem: DMs to default bot are silently dropped. DMs to accounts.maya work fine.

Evidence:

  • Only [maya] starting provider in logs — no default account provider startup
  • Only one slack socket mode connected per restart (Maya's)
  • Outbound REST to the DM channel works; inbound events never arrive
  • On v2026.2.9, DMs were received but routed as chatType: "channel"

Tried: Various bindings, session.dmScope: "main", openclaw doctor --fix, deleting stale sessions, full restarts

Config: Default account has botToken, appToken, dmPolicy: "allowlist", allowFrom: ["U..."]. Maya under accounts.maya with same structure.

Question: Is the default Slack account's Socket Mode provider supposed to start separately? Seems like only accounts.* providers initialize.

ashen compassBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

wild agateBOT
#

Yeah — Socket Mode runs one provider per Slack accountId, and if channels.slack.accounts exists, OpenClaw only starts the accounts listed there.

So if your config has:

  • root channels.slack.botToken/appToken (the “default account” tokens), and
  • channels.slack.accounts.maya

…but no channels.slack.accounts.default, then only maya will start. That matches your logs: only [maya] starting provider and only one “socket mode connected”.

Fix

Add an explicit default account entry (key must be literally "default"), then restart:

{
  channels: {
    slack: {
#
      enabled: true,
      mode: "socket",

      // base config (can be shared / inherited)
      botToken: "xoxb-DEFAULT...",
      appToken: "xapp-DEFAULT...",
      dmPolicy: "allowlist",
      allowFrom: ["U..."],

      accounts: {
        default: {}, // <-- this makes the default account provider actually start
        maya: {
          botToken: "xoxb-MAYA...",
          appToken: "xapp-MAYA...",
          // (optional) dmPolicy/allowFrom overrides per account
#
        },
      },
    },
  },
}

After restart you should see:

  • [default] starting provider and [maya] starting provider
  • two “slack socket mode connected” lines

Useful verification commands:

openclaw channels status --probe
openclaw logs --follow