CHATBOTS
Weekly Stale Feature-Flag Cleanup Concierge in Slack
On a weekly schedule the bot finds feature flags that have been fully on or off and untouched for 30+ days, posts a batched cleanup proposal in Slack.
How it runs
The automated pipeline, trigger to output.
- TriggerWeekly schedule fires the cleanup run
- ActionQuery Postgres for 30+ day stale flagsPostgres
- LogicExit if no stale flags qualify
- ActionPost batched cleanup proposal to SlackSlack
- ActionOpen GitHub PR removing approved flagsGitHub
- OutputLog decision to Postgres + link PR in SlackPostgres
What it does
Fights flag debt automatically. Each week the bot scans the Postgres flag store for flags that have sat at a constant value with no toggles for 30+ days — the classic candidates for removal. It groups them into one Slack digest with each flag's last-change date and owner, then waits for an approver. Approved flags get a single GitHub PR that strips them from the manifest, and the cleanup decision is recorded in Postgres.
When to use it
Use it to keep your flag inventory from accumulating dead toggles. Instead of an ad-hoc audit nobody runs, you get a scheduled, owner-visible cleanup with a reviewable PR and an approval gate before anything is removed.
How it works
- 1A weekly schedule fires the cleanup run (trigger).
- 2The bot queries Postgres for flags unchanged for 30+ days at a steady value.
- 3If none qualify, it exits quietly; otherwise it builds a batched proposal.
- 4It posts the candidate list with owners and Approve/Skip controls to Slack.
- 5On approval, it opens one GitHub PR removing the approved flags from the manifest.
- 6It logs the cleanup decision to Postgres and links the PR in Slack.
Set it up
What you configure once, before turning it on.
- 1Connect PostgresAny Postgres URL — query, write, migrate.
- 2Connect SlackChannels, DMs, threads, mentions.
- 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.
