CUSTOMER SUPPORT

Front Policy-Divergence Flagger: Catch When a Human Edit Broke Policy

When an agent sends a reply in Front, this compares the sent text against the suggested macro draft and your written policy.

CategoryCustomer Support
Enginesim
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerOutbound reply sent in FrontFront
  • ActionRead sent reply and original suggested draftFront
  • ActionFetch policy document from NotionNotionNotion
  • ActionDiff sent text against draft and policyOpenAI
  • LogicIf no policy violation, end silently
  • OutputPost divergence alert to Slack review channelSlack

What it does

It watches outbound replies in Front and checks whether the agent's edits to a suggested draft stayed within policy. When a sent message promises something the policy forbids (an out-of-window refund, a discount above the cap, a banned commitment), it flags the exact sentence and the rule it violated to a Slack review channel.

When to use it

Use it once agents edit auto-suggested drafts freely and you need a safety net that catches policy drift without reading every ticket. Ideal for refund, billing, and compliance-sensitive inboxes.

How it works

  1. 1An outbound message sent in Front triggers the run.
  2. 2The sent reply and the originally suggested draft are read from Front.
  3. 3The current policy document is pulled from Notion.
  4. 4OpenAI diffs the sent text against the draft and the policy, returning any violated rules with quoted evidence.
  5. 5If no violation is found, the run ends silently.
  6. 6On a violation, a Slack alert names the conversation, the agent, the quoted line, and the broken rule for supervisor review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect FrontShared inbox, conversations.
  2. 2
    Connect NotionPages, databases, comments.
  3. 3
    Connect OpenAIModels, embeddings, files.
  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.