CHATBOTS
Error-Rate Guardrail that Auto-Pauses Feature Flag Ramps
When Datadog signals an error-rate spike tied to a ramping flag, the bot pauses the ramp in Postgres, freezes the flag at its current percentage in Vercel.
How it runs
The automated pipeline, trigger to output.
- TriggerDatadog monitor alert receivedDatadog
- ActionMatch alert to active ramp planPostgres
- LogicProceed only if flag is mid-ramp
- ActionFreeze flag percentage in Vercel Edge ConfigVercel
- ActionSet ramp plan to pausedPostgres
- OutputAlert channel with flag and tripped metricSlack
What it does
Watches for trouble during a rollout and stops the ramp before it spreads. When Datadog fires a monitor alert correlated to a flag that is mid-ramp, the bot freezes that flag at its current percentage, marks the ramp plan paused so the scheduled executor skips it, and tells the team exactly which metric tripped the guardrail.
When to use it
When flags ramp automatically and you want a safety net that halts a rollout the moment error rate, latency, or a custom SLO crosses threshold — without waiting for a human to notice.
How it works
- 1A Datadog monitor alert arrives, tagged with the affected flag key.
- 2The pipeline matches the alert to an active ramp plan in Postgres.
- 3It branches: if the flag is mid-ramp it proceeds to pause; if no active ramp matches it just notifies and exits.
- 4It freezes the flag at its current value in Vercel Edge Config and sets the ramp plan to paused in Postgres.
- 5It posts an alert to Slack naming the flag, the tripped metric, and the frozen percentage so an engineer can investigate.
Set it up
What you configure once, before turning it on.
- 1Connect DatadogMetrics, traces, log search.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect VercelDeploys, runtime logs, analytics.
- 4Connect SlackChannels, DMs, threads, mentions.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
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 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.
Intercom-to-HubSpot Sync When an Activation Call Is Booked
When a Zoom activation call gets booked from an Intercom chat, enriches the lead in HubSpot, logs the meeting, and posts an AI-written prep brief to the assigned rep in Slack.
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 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 Onboarding Completion to CRM Sync
The moment a member finishes Discord onboarding, captures their submitted profile answers, creates or updates a contact in HubSpot.
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.
