Configuring Phone Number Lookup Activity
As an Administrator, you can use the Phone Number Lookup activity to lookup a phone number to determine approximate location attributes for the caller.
To add a Phone Number Lookup activity to the workflow:
- Click the
icon on the workflow at the position where you want to add the Phone Number Lookup activity.
- From the activity wheel, select the
icon and click the
icon.
The Phone number lookup activity configuration window opens.
- In the PhoneNumber (String) text field, enter the phone number that you want to look up. Normally this will be a variable, such as {{CallerNumber}}.
- Click OK.
- Click Save.
The Phone Number Lookup activity will be added to the workflow. The following output variables will be set by the activity and can be used to obtain additional information about the caller:
- PhoneNumberNational: Represents the phone number in national format, without the country code.
- PhoneNumberE164: Represents the phone number in fully formatted E.164 format, with the country code.
- Country: Name of the country from which the phone number is registered with.
- CountryCodeIso2: Name of the country in ISO-abbreviated format.
- StateOrProvince: State or province from which the phone number is registered from.
- City: City from which the phone number is registered with.
- PhoneType: Indicates the type of phone as one of the following: MOBILE, LANDLINE, VOIP, INVALID, PREPAID or OTHER.
- Longitude: Displays the Longitude value.
- Latitude: Displays the Latitude value.
- Carrier: The carrier or service provider that the phone number is currently registered with.
- Success: A value of true indicates that the activity succeeded, and the output variables are set. A value of false indicates that the output variables are not set currently.
- AreaCode: Area code associated with the phone number.
- CountryCode: Country code associated with the phone number.
↑