- Filter Matched Opportunities
- Prioritize Matched Opportunities
- Set Variable to Matched Opportunity
- Advanced Settings
The Contact to Opportunity (C2O) Match Node is used to identify Opportunities in your Salesforce instance and match them to the routed Contact in the Contact Router. This node is specific to LeanData Contact Router. Once the Opportunity has been matched to the Contact record you can route the Contact record to the owner of the matching Opportunity. The Duplicate Contact Match Node also includes filters and Tiebreakers to help you identify the best Opportunity record if there are multiple potential Opportunities.
Example: Sophia is the LeanData admin for Lighthouse Development. In her Contact Router graph, she needs to match the routed Contact to open Opportunities. She configures the C2O Node, with Filters and Tiebreakers to match to the right Opportunity. Using the Filters, she ensures that the routed Contacts are not matched to any Opportunities that are Closed.
Each Match node includes Tiebreakers to identify the best matched record if there is more than 1 possible match. Tiebreaker rules are included in the node configuration to pick the best match when LeanData finds multiple Opportunities. These Tiebreakers function just like the Tiebreakers in Tagging. The Tiebreakers in the node are local only to the node. Any changes made to the node’s Tiebreakers do not affect the Tagging Tiebreakers or even the Tiebreakers in other match nodes.
You have a number of options to configure the node.
- Node Name
- Filter Matched Opportunities
- Prioritize Matched Opportunities
- Advanced Settings
By default, the Node Name is set to Match Node. You can change this label to anything you need. We strongly recommend giving this node a meaningful name such as the goal of the Match Node or simply Match to Opportunity. This will help others understand the purpose of the node.
This field is not required but we recommend adding a description to document any customizations made to the node. If someone else needs to take over the management of the flow, the description will help them to understand the goal of the customizations.
Filter Matched Opportunities
Use Filters to include or exclude Opportunities from matching to the routed Contact record. In our example, we are excluding Opportunities that have a stage of Closed Won or Closed Lost (Stage = Closed Won,Closed Lost). This ensures that we will not match the routed Contact record to a closed opportunity.
The Value/Field selector lets you choose between filtering for a value in a field on the Matched Opportunity record and/or comparing a field on the Matched Opportunity record with a field on the routed Contact record.
When using Value, you are looking for a specific value in a field on the Matched Opportunity record. For example, if you wanted to exclude Matched Opportunities that are Closed, you could select the Stage, set the Operator to Equals, and select Closed Won and Closed Lost from the Value pull-down menu.
When using Field, you are comparing the value of a field on the Matched Opportunity record with a field on the routed Contact record. For example, you can filter out any matched Opportunity where the Lead Source on the Opportunity does not equal the Lead Source on the routed Contact record. To do this, set the Matched Opportunity Field to Lead Source, set the Operator to Not equals, and then set the Contact Field to Lead Source. When you change the selector to Field, the label for the Value field will change to Contact Field.
For each condition you add, you will see:
- Field: The Field selector will give you a list of all the fields on the Matched Opportunity record that you are filtering.
- Operator: The Operator gives you a condition to apply to the field for the decision. (Example: Contains, does not contain, starts with, is null, etc). The values in the Operator selection change depending on the field selected.
- Value/Field: The Value is the value you are evaluating against in your selected field. This is typically a pull-down menu of possible values. If you select Field for Value/Field, you will see Contact Field as the label and the field will be a pull-down of fields on the routed Contact record.
You can add as many conditions as needed to create the desired Filters.
Working with Multiple Conditions
When you edit or add rules, you can have multiple conditions. When you have a rule with multiple conditions you are given the option to specify the relationship between the conditions. By default, you will see an AND relationship. You can change this to OR as needed. You can also use parentheses to group conditions together such as ((1 AND 2) OR 3).
In the example above we use an OR relationship because we are looking to exclude either Closed Opportunity OR have a Lead Source that does not equal the Lead Source on the routed Contact Record.
Prioritize Matched Opportunities
In the Prioritize Matched Opportunities section you will see a list of rules called Tiebreakers. These rules are applied after filters if there are multiple Opportunities that can match to the routed Contact record. Tiebreaker rules are processed from the top down and are used to narrow the pool of possible Opportunities matches down to the best match. The node will check each rule, one at a time, from top to bottom, until only one remaining potential Opportunity remains. This Opportunity will be matched to the routed Contact. The Contact to Opportunity node includes a set of default Tiebreaker rules. You have the following options to modify the Tiebreakers:
- Edit the existing rules
- Add/remove rules
- Change the order of the rules
Editing a Rule
To edit a rule, simply click in the rule to open it for editing. You will see the same options as in the Filters.
Adding a Rule
When adding a new rule, you must first select the type of rule to create. You have 3 options:
- Logic - This option lets you use the LeanData logic interface to build your rule.
- SOQL - This option lets you build a rule using Salesforce’s Object Query Language.
- Min/Max - This option lets you build a rule using a set of fields designed for minimum and maximum value comparisons such as Amount, Close Date, etc.
Set Variable to Matched Opportunity
LeanData Routing allows you to store values in a container called a Variable, which can then be referenced later in your routing graph for use in routing decisions and actions. This will allow you to assign recurring values, such as lists of User Ids, email domains, state names or zip codes to a Variable, which can then be used multiple times throughout your routing graph.
By default, LeanData will save the output of the Match Node to a variable for you to retrieve later. You can rename the Variable container as needed.
Under Advanced Settings there are options for setting the targets for the node edges.
There are 3 exit edges from a Match Node. Under the Advanced settings you can select a target node for each of the edges for what you would like LeanData to do in each of these scenarios.
- Match: LeanData has identified a best match based on the algorithm, after applying your Tiebreakers and Filters.
- No Match: LeanData has not identified a match, after considering your Filters.
- Multiple Matches Identified: If LeanData has more than one match remaining after your Filters, and you would like to take a different action than identify one best match, you can direct this edge to your desired action. This option is disabled by default. Upon enabling, you will also have to remove any Min/Max tiebreakers.
Working with Edges
You can Connect nodes in one of several ways:
- Open a node and select the Target through the dropdown next to the condition or outcome you wish to assign. Use the search functionality to narrow the scope of the results. If you want Lead processing to stop at your selected node, simply select End of Flow.
Alternatively you can click the Stop Sign icon to set a particular edge to End of Flow, or click the crosshairs icon to assign that edge visually on the main flowchart graph view by clicking the node to which you would like that edge to proceed.
- If you are already in the main flowchart graph view, you can click on the yellow triangle and drag the edge you wish to direct to the next node to which you would like that edge to proceed.
The Contact to Opportunity (C2O) Match Node is used to identify Opportunities in your Salesforce instance and match them to the routed Contact in the Contact Router. This node is specific to LeanData’s Contact Router. Using a combination of the Filters and Tiebreakers, you can match the best Opportunity to the routed Contact.
For more information on working with Contact Router graphs please see our Contact Router Guide.