SALES

Daily sweep to enrich and route stale unassigned leads

Runs each morning to find Salesforce leads still missing an owner or enrichment, batch-enriches them, assigns by territory.

CategorySales
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerScheduled daily run
  • ActionQuery unassigned or unenriched leadsSalesforce
  • ActionBatch enrich firmographicsApify
  • ActionAssign territory owners in SalesforceSalesforce
  • OutputPost cleanup digest to SlackSlack

What it does

A scheduled cleanup pass that catches leads that slipped through real-time routing. It pulls every unassigned or unenriched lead from the last day, enriches them, routes each to the correct territory owner, and reports a tally so ops can see the backlog is clear.

When to use it

Use this as a safety net behind your real-time routing flows, or when leads arrive via imports and integrations that bypass the create-time trigger and need a daily catch-up.

How it works

  1. 1A scheduled trigger fires every morning.
  2. 2A Salesforce query pulls leads created in the last 24 hours that lack an owner or enrichment data.
  3. 3Each lead is enriched with firmographics in a batch loop.
  4. 4A territory-mapping step assigns owners and updates the Salesforce records.
  5. 5A digest of how many leads were enriched and routed, broken down by territory, is posted to the sales-ops Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SalesforceAccounts, opportunities, cases.
  2. 2
    Connect ApifyActors, scrapers, datasets.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  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.