Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Configuring lead routing in Pega Sales Automation (8.3-8.4)

Updated on September 10, 2021

Sales Ops use lead routing in both business-to-business (B2B) and business-to-customer (B2C) scenarios to manage your leads more intelligently. Bulk lead routing speeds up the management process so that you can focus on more strategic tasks for your business.

For more information, see Improve case resolution with enhanced routing business logic (8.3).

Enabling lead routing

Enable lead routing to make it available in your settings.

  1. Log in to App Studio as an administrator.
  2. In the navigation panel of App Studio, click Settings > Application Settings.
  3. In the Features section, select the Lead Routing check box.
  4. Click Save.

Configuring lead routing

The lead routing option is now visible in your Pega Sales Automationapplication. Configure your lead routing by applying conditions.

  1. Log in to the Sales Ops portal.
  2. In the navigation panel of the Sales Ops portal, click Tools > Lead routing, and then specify the following conditions:
    1. Depending on your business needs, select either the B2B or B2C selling mode.
    2. Select a Route to action:
      1. If you want to route to a particular person when a particular condition is met, select Operator, press the Down Arrow key to choose the routing value, and then specify the condition.
      2. If you want to route to a work queue when a particular condition is met, select Work queue, press the Down Arrow key to choose the routing value, and then specify the condition.
      3. If you want to route to an available person with particular skills, select Route based on availability and skillset, click Edit parameters, and then add a workgroup value and skills.

        For example, route to an operator who speaks English and French. Make sure to select the Required check box next to a skill. If there are no matches, the system assigns the lead to the manager of this work group. If many operators have the same set of skills, the system assigns the operators randomly.

      4. If you want to route to an available person with particular skills and low work load, select Route based on availability, skillset, and work load, click Edit parameters, and then add a work group value and skills.

  3. Specify one or more when rules to adjust the routing logic to your business needs.

    For example, route particular emails to a defined sales representative.

  4. Click Save.

Updating data and applying lead routing rules

Updating .csv files to reflect lead routing changes

  1. Download and review sample data templates from Pega Sales Automation sample data templates.

    The .csv file has two new columns: Use automatic routing and Owner. Before the import, ensure that you populate these columns with data.

  2. Log in to the Sales Ops portal.
  3. In the navigation panel of the Sales Ops portal, click Tools > Data Import wizard.
  4. Select either the Lead (Individual) or Lead (Business) upload type.
  5. Upload your .csv file to the application.

    Follow the steps in Importing the data, starting from step 2.

Changing the owner of a single lead

  1. Log in to the Sales Ops portal.
  2. In the navigation panel of the Sales Ops portal, click Leads, and then open a lead that you want to modify.
  3. Click Actions > Change owner and perform one of the following actions:
    • In the New owner field, press the Down Arrow key, and then select a new owner.
    • Enter a change reason.
      Thumbnail
      Changing a lead owner
  4. Click Submit.

Bulk updating existing leads

  1. Log in to the Sales Ops portal.
  2. In the navigation panel of the Sales Ops portal, click Leads, and then click Bulk actions.
  3. In the Bulk actions for leads dialog box, select the leads that you want to modify.
  4. Click Select action, and then click Change owner.
    • Select Use automatic routing and apply conditions that are defined for automatic routing.
      Note: If you select automatic routing but clear the Change territory to new owner’s territory check box, the system uses its logic for the owner, but you can define the territory yourself.
    • In the New owner field, press the Down Arrow key and select a new owner.
    • Provide a change reason.
      Thumbnail
      Lead bulk change owner screen
  5. Click Submit, and then click Close.

Managing leads in the work queue

As a sales rep, you can view unassigned leads and assign new owners to them.

  1. Log in to the Sales Rep portal.
  2. In the navigation panel of the portal, click My work.
  3. Review all the unassigned leads.
  4. Assign owners to the leads by clicking Actions > Assign to owner.

The newly assigned leads display on the work list of particular owners.

Viewing leads in the work queue

As a sales rep, sales manager, or sales ops user, you can view all unassigned leads on the leads main page.

  1. Log in to the Sales Rep, Sales Ops, or Sales Manager portal.
  2. In the navigation panel of the portal, click Leads.
  3. In the header of the leads list, click Group and then select Work queue name to filter leads by the work queue name.
  4. Review each lead and assign new owners.

Applying custom routing rules

Based on your business requirements, you can apply a custom lead routing logic.

  1. In the Dev Studio header, click Records > Technical > Function and then search for and open the PickBalancedOperatorForLead utility.
  2. Click Save as to create your custom routing logic based on the provided utility.
  3. In the Dev Studio header, click Records > Technical >Activity and then search for and open the ToLeveledGroupForLeadAssignments activity.
  4. On the Steps tab, click the Expand to see the method parameter icon to expand the table view. 
  5. In the PropertiesValue field, add the newly created utility name.
    "Properties value field"
  6. Click Save as to create your own activity associated with the newly created logic.
  7. In the Dev Studio header, click Records > Data Model > Data Transform and then search for and select the pyGetRoutingAPIs data transform.
  8. On the Definition tab, under Source, add your newly created activity.
  9. Click Save as and save the data transform into your implementation layer.

The newly created custom routing rule display on the Lead routing menu under the Route to action.

  • Previous topic Configuring next-best-action strategies for Pega Sales Automation 8.2
  • Next topic Configuring lead routing in Pega Sales Automation 8.2

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us