Hacker
Syed Muhammad Shees Ali
@shees_ali
Elsewhere
Projects
Flagbot: Slack and Microsoft Teams for self-hosted Flagsmith
Flagsmith Experimentation HackathonNov 2026
Flagbot is a chat bot that lets teams check, approve and switch off Flagsmith feature flags from Slack or Microsoft Teams. It's for teams running self-hosted Flagsmith, especially engineers handling an incident. When a flag breaks production, the team is already in chat, but the flag is in the Flagsmith dashboard. Flagsmith's own Slack integration posts "Flag state updated for feature: new_checkout" without saying whether it's now on or off, and you can't act on it. It has no Teams integration. With Flagbot, typing /flag status new_checkout shows the flag in every environment. If a new checkout starts failing payments, /flag off new_checkout production checkout errors switches it off at once and tells the channel who did it and why. Turning it back on in production posts a request that a second person must approve. Every change is logged, and /flag subscribe new_checkout production posts later changes to the channel, including who made them. Our demo shop, Northbean Coffee, shows this live: payments fail while new_checkout is on and recover seconds after it's switched off from chat. Slack uses Socket Mode, so no public URL is needed, and 238 tests pass without Slack, Teams or Flagsmith running.
WarDuo@zainab123