CRM

Agentic fair rebalance of a departed rep's book

Uses an agent to redistribute a departing rep's open opportunities across the active team on the same territory.

CategoryCRM
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook: rep marked as leavingHTTP webhook
  • ActionFetch rep's open opps and team pipeline loadSalesforce
  • LogicAgent proposes load-balanced assignment
  • LogicValidate capacity ceiling per rep
  • ActionUpdate OwnerId on each opportunitySalesforce
  • OutputPost rebalance plan to leadership SlackSlack

What it does

When a rep leaves, this hands the agent the full book of open opportunities and the active team's current pipeline load, and lets it assign each deal to keep workloads balanced — accounting for deal size, stage, and existing rep capacity instead of dumping everything on one teammate.

When to use it

Reach for this when a departing rep carries a large or uneven book and a simple round-robin would overload someone. The agent reasons about fairness across the team, which a deterministic rule struggles to do well.

How it works

  1. 1A webhook trigger fires from your HR or admin system when a rep is marked as leaving.
  2. 2An action pulls the rep's open opportunities and the territory team's current open-pipeline totals from Salesforce.
  3. 3The agent proposes a balanced assignment, weighting deal amount and stage against each active rep's existing load.
  4. 4A logic step validates that no rep exceeds a configured capacity ceiling, looping back if needed.
  5. 5An action writes the new OwnerId to each opportunity in Salesforce.
  6. 6An output posts the rebalance plan and rationale to the sales-leadership Slack channel for review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SalesforceAccounts, opportunities, cases.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Connect HTTP webhookTrigger any URL on agent actions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.