Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Salesforce lead assignment rule sending leads to the wrong queue

DLV-080Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A lead assignment rule in Salesforce decides who owns a new lead. It is a list of rule entries. Each entry has criteria (for example Country equals Germany) and an assignee, which is a user or a queue. A queue is a shared inbox that a team works from.

Salesforce reads the entries in order and stops at the first one that matches. Only one assignment rule can be active at a time. If your form sends leads to the wrong queue, one of three things is usually going on: an entry is too broad and matches first, the field value in the form does not match your criteria, or the rule did not run at all and the lead fell back to the default owner.

Why it costs you leads or sales

The lead is saved, so nothing looks broken. But the people who should call it never see it. A lead sitting in the wrong queue waits until someone notices, and speed of first contact matters for form leads. Regional or product teams may also contact the wrong person in the wrong language.

Where the lead goes astray
  1. Form submittedVisitor sends the lead form
  2. Lead createdRecord saved in Salesforce
  3. Assignment ruleWrong entry matches or rule skipped
  4. Right team notifiedQueue members get the alert
  5. Fast follow-upLead is called or emailed

The form works and the lead is created, but routing sends it to a queue nobody is watching.

Time to first contact by routing resultExample numbers
Time to first contact by routing result (example)Correct queue: 1 hours; Wrong queue, noticed same day: 8 hours; Wrong queue, noticed next week: 120 hours0469218120Correct queueWrong queue, noticed …Wrong queue, noticed …hours

Example: illustrative numbers showing how a misrouted lead can wait longer than a correctly routed one.

How to check if your site has it

Find out why a lead was misrouted
  1. Open a misrouted lead

    Check Lead Owner, Created By and the field values the rule depends on (Country, State, Lead Source, Company size). Look at the lead History to see when the owner was set.

  2. Open the active ruleSalesforce

    In Setup, search for Lead Assignment Rules. Find the rule marked Active and open it.

  3. Read the entries in order

    Walk down the entries by sort order using the lead's real values. The first entry that matches wins. Look for a broad entry near the top, such as one with no criteria or a catch-all.

  4. Compare values exactly

    Check that the form sends the same text your criteria expect. 'United States', 'USA' and 'US' are different values unless you use picklists or country codes consistently.

  5. Check how the lead was created

    Web-to-Lead and the API only run assignment rules in some cases. For Web-to-Lead, the active rule normally applies. For API or integration tools, the call must set the assignment rule header or option. Otherwise the lead goes to the default lead owner.

How to fix it

Correct the routing
  1. Reorder the entries

    Put the most specific entries first and catch-all entries last. In the rule, use Edit next to the entry and change its Sort Order.

  2. Tighten the criteria

    Use exact, consistent values. Prefer picklists or country and state codes over free text. Add a final entry with no criteria that points to a queue someone actually watches.

  3. Make sure the rule runs

    For manual creation, tick 'Assign using active assignment rule' on the lead page. For integrations, enable assignment rules in the connector or send the Sforce-Auto-Assign header (see below).

  4. Check queue membership

    In Setup, open Queues and confirm the queue supports the Lead object and has the right members. Add an email address for the queue if you want notifications.

  5. Activate the rule

    Only one rule is active. If you built a new rule, click Edit on it and tick Active, or the old one keeps running.

REST API: create a lead and apply the active assignment rulebash
curl https://YOUR_INSTANCE.my.salesforce.com/services/data/v60.0/sobjects/Lead \
  -H "Authorization: Bearer ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Sforce-Auto-Assign: TRUE" \
  -d '{"LastName":"Test","Company":"Test Co","Country":"Germany"}'
Routing before and after

Before

  • A broad entry at the top matches every lead
  • Form sends 'USA' but the criteria say 'United States'
  • Integration sets OwnerId and skips the rule

After

  • Specific entries first, catch-all queue last
  • Form values match the criteria exactly
  • Rule runs and the right queue owns the lead

How to confirm it's fixed

Test with real routing cases
  1. Submit one test lead per entry

    Use the live form with values that should hit each entry, plus one that should hit the catch-all. Use a clearly marked name such as 'Test Routing'.

  2. Check the owner

    Open each new lead and confirm Lead Owner is the expected queue.

  3. Check notifications

    Confirm queue members received the alert or can see the lead in their list view.

  4. Delete the test leads

    Remove them so they do not pollute reports.

How to prevent it happening again

Routing hygiene
  • Document each rule entry and the team it serves
  • Review the rule whenever you add a region, product or form field
  • Use picklists instead of free text for routing fields
  • Keep a catch-all entry pointing to a monitored queue
  • Report weekly on leads owned by the default owner
  • Submit a test lead after any change to the rule, the form or the integration

How FunnelGuard handles this

FunnelGuard does not check Salesforce assignment rules or lead ownership yet. A check like this is a possible future addition, not something it does today.

What FunnelGuard does cover nearby: a robot visitor runs your real lead form on a schedule, checks each step and the tracking hits, and checks whether test leads reach the inbox and CRM. That helps you notice when a form stops delivering at all, but it will not tell you which queue a lead was assigned to.

To watch for misrouting yourself, create a Salesforce report on Leads grouped by Lead Owner for the last 7 days, and subscribe to it weekly. Add a dashboard tile for leads owned by the default owner. You can also set a Flow or email alert for leads that stay in a queue without activity for a set time.

The Free plan covers 1 site and 2 journeys with daily checks and no card, if you want to monitor that the form itself keeps working.

Questions people ask

Why are my Salesforce leads going to the wrong queue?

Usually an earlier rule entry matches before the one you expect, the form sends a value your criteria do not match, or the assignment rule did not run. Open Setup > Lead Assignment Rules and test the entries in order against a real lead.

Why is my Salesforce lead assignment rule not firing?

Check that the rule is marked Active, since only one rule runs. For API or integration-created leads, assignment rules must be enabled explicitly, for example with the Sforce-Auto-Assign header. Also make sure nothing sets OwnerId and overrides it.

Does Web-to-Lead use assignment rules?

Yes, Web-to-Lead normally applies the active lead assignment rule. If a lead still lands with the default owner, no entry matched, so review the criteria and the values your form sends.

How do I test a Salesforce lead assignment rule?

Submit a test lead through the real form with values for each entry, then open the lead and check Lead Owner. Repeat for the catch-all case, then delete the test records.

What happens if no assignment rule entry matches?

The lead goes to the default lead owner defined in Setup under Lead Settings. Add a catch-all entry at the end that points to a monitored queue.

Does the order of lead assignment rule entries matter?

Yes. Salesforce evaluates entries by sort order and stops at the first match, so put specific entries before broad ones.

Does FunnelGuard detect Salesforce leads in the wrong queue?

No. FunnelGuard does not check lead assignment today. It checks that your form journey works and that test leads reach the inbox and CRM, so use a Salesforce report to watch ownership.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.