The lookup module performs a lookup within services or contacts to associate an interaction with a relevant contact record based on the variable you define. The module supports multiple channels such as inbound chat, email, and SMS.
The lookup module enables you to define variables that your customers can use to validate their identities. In addition, it populates the relevant fields in a contact record based on the match in Contact Manager.
- The lookup module uses variables that are selected through the Expression Builder window. Therefore, when creating a contact flow that will use the lookup module, select the Support Expressions checkbox.
- Some of the default system variables used by the lookup module are PHONE DIALED (for chat, email, SMS, and voice, SMS) and ACCOUNT (for chat). For email, PHONE DIALED represents your customer's email address; for chat, PHONE DIALED represents the phone number specified by your customer and ACCOUNT represents the account number specified by your customer.
Properties
The following table describes the message properties used by the lookup module.
Message Property | Description |
---|---|
Lookup Phrase | The message that is played when initiating the lookup. |
Variable Used for Lookup | Variable that your customer enters or the variable that you receive from an interaction (for example, email address), which is compared with the lookup key. |
Lookup Source – Service or Contacts | Source of the lookup key (services or contacts). When you double-click the Lookup Source – Services or Contacts property, the Services or Contact Groups window (as applicable) appears, displaying the following fields:
The window also contains the Available Services or Available Contact Groups section, which, depending on the source, contains a list of available services or contact groups that you can select. The selected services or contact groups appear in the Selected Services or Selected Contact Groups section. |
Key to Lookup | Lookup key selected in the Key field. |
Lookup List | Service ID or contact group ID of the lookup source selected in the Source field. |
Events
When a lookup is complete, one of the following events occurs:
- Success: Lookup returns a matched account.
- No Match: Lookup does not return a matched account.
Multiple Match: Lookup returns more than one matched account.
When a lookup returns multiple matches, the interaction is associated with the first matched contact record.