AI AGENTS
Front Open-Negotiation Redraft on Policy Change
When your approved discount guardrails change in Postgres, this agent revisits every open Front negotiation and redrafts any pending offers that now fall outside the new ceilings.
How it runs
The automated pipeline, trigger to output.
- TriggerDiscount-policy table change webhookHTTP webhook
- ActionRead new ceilings and affected tiersPostgres
- ActionList open Front negotiations and last offersFront
- LogicFilter to offers now over the new ceiling
- ActionDraft corrected within-policy reply in FrontFront
- OutputAlert deal owner of repriced offer in SlackSlack
What it does
When deal desk updates the approved discount policy, this agent reacts to the change, scans open Front negotiation threads, and finds any draft or recently sent offer that the new ceiling would no longer allow. For each affected thread it drafts a corrected counter-proposal and flags the deal owner.
When to use it
Use it when guardrails shift mid-quarter, such as a pricing tightening or a new promo expiring, and you need every live negotiation brought back into compliance fast. It prevents stale, now-unauthorized offers from going out the door.
How it works
- 1A change to the discount-policy table in Postgres triggers the run via webhook.
- 2The agent reads the new ceilings and the list of affected tiers.
- 3It lists open Front negotiation conversations and their last offers.
- 4A branch keeps only threads whose pending offer now exceeds the new ceiling.
- 5For each, it drafts a corrected, within-policy counter-proposal in Front.
- 6It alerts the deal owner in Slack that their offer was repriced and needs review.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect FrontShared inbox, conversations.
- 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 AI Agents workflows
Custom Metrics Cardinality Spike Pager
A webhook from a Datadog monitor fires when custom-metric cardinality jumps; an agent pinpoints the offending metric and tag, estimates the added cost.
Sentry-to-Confluence Runbook Updater
When a Sentry issue is resolved, the agent finds the matching Confluence runbook page and proposes an inline update with the verified fix.
Stale Doc-PR Chaser for Runbook Gaps
On a daily schedule the agent finds runbook doc PRs that were opened from resolved incidents but never reviewed, summarizes what each one fixes.
Resolved Incident to Public Troubleshooting Doc
For customer-facing errors resolved in Sentry, the agent drafts a sanitized troubleshooting entry and opens a PR to your ReadMe documentation.
On-Call Runbook Gap Closer: Resolved Sentry Issues to Doc PRs
An agent reads each newly resolved Sentry issue, compares the actual fix against your existing runbook, and opens a GitHub PR adding the missing remediation steps.
Weekly On-Call Doc-Gap Digest
Each week the agent reviews every Sentry issue resolved in the last 7 days, ranks the ones whose runbook coverage is missing or thin.
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.
