DNCLOOKUP

 

Checks a selected phone number to see if it is included in a do not call list and follows a subsequent branch based on whether the number is found or not.

Supported Script Types

Generic Email Chat Phone Voicemail Work Item

Properties

SkillNo
Optional. The skillClassification used to facilitate the delivery of contacts; assigned to agents based on abilities, specialties, and knowledge ID associated with the contributing group used for the search. If you supply both the SkillNo and DncGroup, then the search result must match both.
DncGroup
Optional. The exact group being searched. If you supply both the SkillNo and DncGroup, then the search result must match both.
PhoneNumber
The exact phone number being searched. Should be supplied in the format specified in the business unitFile format associated with Microsoft Excel; may also be expressed as .xlsx.

Branches

Default
The script follows this branch if no conditions occur for the script to take another branch. If OnError is not set, then the script follows this branch in the event of an error.
OnError
The script follows this branch in the event of an error.
OnNotOnDNC
The script follows this branch in the event the phone number was not found on the do not call list.
OnInvalidPhoneNumber
The script follows this branch if the phone number is invalid, for example, if the number format is incorrect.
OnInvalidSkillOrGroup
The script follows this branch if the value in the SkillNo or DncGroup properties is invalid or cannot be found.

Tips and Tricks

Phone Script Example Using DNCLOOKUP

This simple call suppressionTemporarily skips a contact when using the outbound dialer. script prevents unintended dialing of phone numbers on the do not call list:

Would you like to download this script?