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.

CategoryAI Agents
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDiscount-policy table change webhookHTTP webhook
  • ActionRead new ceilings and affected tiersPostgreSQLPostgres
  • 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

  1. 1A change to the discount-policy table in Postgres triggers the run via webhook.
  2. 2The agent reads the new ceilings and the list of affected tiers.
  3. 3It lists open Front negotiation conversations and their last offers.
  4. 4A branch keeps only threads whose pending offer now exceeds the new ceiling.
  5. 5For each, it drafts a corrected, within-policy counter-proposal in Front.
  6. 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.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect FrontShared inbox, conversations.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.