CHATBOTS
Slack /flag Toggle with Owner Approval and GitHub Audit PR
A teammate types /flag <name> on|off in Slack; the bot routes the request to the flag's owner for approval, flips the flag in Postgres.
How it runs
The automated pipeline, trigger to output.
- TriggerTeammate runs /flag <name> on|off in SlackSlack
- ActionRead current flag state + owner from PostgresPostgres
- LogicRoute to flag owner for approval if not owner
- ActionWrite new flag value to Postgres storePostgres
- ActionOpen GitHub PR recording the flag changeGitHub
- OutputConfirm new state + audit PR link in SlackSlack
What it does
Lets engineers toggle feature flags from Slack without touching the config repo directly. `/flag checkout_v2 on` pings the registered owner of that flag for sign-off, then updates the flag's state in the Postgres flag store. To keep an immutable history, it opens a GitHub PR that edits the flags manifest with the new value and a description of who requested it.
When to use it
Use it when flag changes need to be fast but accountable — you want self-serve toggling in chat, but every flip should have an owner approval and a reviewable record in version control instead of an untracked live edit.
How it works
- 1Teammate runs `/flag <name> on|off` in Slack (trigger).
- 2The bot reads the flag's current state and owner from Postgres.
- 3If the requester is not the owner, it posts an approval prompt to the owner and waits.
- 4On approval, it writes the new flag value to the Postgres flag store.
- 5It opens a GitHub PR updating the flags manifest, citing requester, approver, and reason.
- 6It confirms in Slack with the flag's new state and a link to the audit PR.
Set it up
What you configure once, before turning it on.
- 1Connect SlackChannels, DMs, threads, mentions.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect GitHubRepos, issues, pull requests, actions.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
Discord Onboarding Completion to CRM Sync
The moment a member finishes Discord onboarding, captures their submitted profile answers, creates or updates a contact in HubSpot.
Discord FAQ-Gated Role Concierge
Greets each new Discord member in a private onboarding thread, walks them through required FAQ steps one at a time.
Discord FAQ Free-Text Answer Grader
When a member submits a free-text answer in their onboarding thread, an agent grades it against the canonical FAQ knowledge base, replies with targeted feedback.
Discord verify-button onboarding via web form webhook
Receives a completed external verification form by webhook, matches it to the Discord account, grants the verified role, and confirms back to the member in Discord.
Discord intro-gated role granting concierge
Watches your #introductions channel, uses AI to confirm a new member's intro is genuine and complete, then auto-assigns the verified Member role and welcomes them.
Daily Discord Digest of Repeated WAF False-Positive Reports
Each morning, scans logged Discord WAF reports in Postgres, groups them by the Cloudflare rule that keeps firing.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
