Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

If enabled for your account, you can configure ContactWorld to dynamically select a callback number based on the value in any field of the record you're dialling from. This method does not require Apex code as the code is provided in the managed package.

For example, you might want ContactWorld to present one callback number when your agents click to dial contacts in the finance department and another for contacts in the legal department. ContactWorld will present the default callback number when dialing contacts in any other department.

Before you can configure this feature, you or your Salesforce administrator must perform the following tasks. The administrator needs to perform these tasks one time only.

  • Specify which class ContactWorld must use to select the callback number. You specify the class in the custom settings data for your org, profile or user. Type NVMContactWorld.SelectPresentedCLIDByField in the Callback Number Selector Class field. For more information about configuring custom setttings, see Configuring custom settings for optional ContactWorld features in Salesforce.
  • Assign ContactWorld Auto Presented CLID user permission set to all agents and supervisors using this feature. For detailed information about this permission set, see ContactWorld Auto Presented CLID user permissions.
  • Assign Create, Edit and Delete permissions on Field-Based Callback Number Mapping object for supervisors using this feature.
  • Configure sharing settings for the Field-Based Callback Number Mapping object if you want to restrict the access different profiles have to other profiles' records. For information about sharing settings, see Salesforce help.
  • Set the Field-Based Callback Number Mapping object tab to Default On for supervisors.
  • If you are using Salesforce Lightning Experience, you must add the Field-Based Callback Number Mappings tab to the applicable app or apps.

When your administrator has enabled the feature, you can create mappings. These map the value in specific fields to specific callback numbers. To create a new mapping, perform the following steps:

  1. Go to the Field-Based Callback Number Mapping object tab, click Field-Based Callback Number Mappings in the View list and click Go!. Any existing mappings appear.
  2. Click New Field-Based Callback Number Mapping. A new Field-Based Callback Number Mapping record appears.
  3. Provide the following information:

    FieldDescriptionExample
    Mapping NameA name for this mapping.Callback for VIP accounts
    ObjectThe type of Salesforce object that the agent has clicked to dial from. The object type contains the field which the callback number is based on.Account
    Field

    The field on the Salesforce record that contains the value which the callback number is based on.

    You must specify the full API name of the field, including the package name if relevant. For example, NVMContactWorld__CustomerPriority__c.
    Account_type
    ValueThe value that the field must contain to return the number in the Presented Callback Number field. The Value field can contain any alphanumeric value or you can leave the field empty. If you do not provide a value in the Value field, if the field on the record is also empty, ContactWorld presents the number in the Presented Callback Number field.VIP
    Presented Callback Number

    The callback number that ContactWorld will display when the field's value matches the value in the Value field.

    You can only use callback numbers that are configured for your account. If you use a number that is not configured for your account, ContactWorld cannot make outbound calls that use this prefix mapping record. The error message "The call to number dialed number could not be made as the presented CLID presented callback number is restricted or is not available on your account." appears in your agent's ContactPad.

    02072068888

    Callback Field Mapping

  4. Click Save.
    Now when an agent clicks to dial a phone number in an account record with a value of 'VIP' in the Account_type field, ContactWorld uses 0207206888 as the callback number.
    In the absence of any other mappings, when an agent clicks to dial a phone number from an account record with any other value in the Account_type field or from any other object, ContactWorld uses the default callback number. This default callback number can be for the account or for the agent. Which callback number ContactWorld uses depends on the current configuration. For more information about callback numbers, see Callback numbers.

The configuration only applies when the agent makes a call using Connect or Click to dial.

A note about performance

Although the system has no limit on the number of mappings objects you have, we recommend that you have no more than a few hundred. If you have thousands of mappings, your outbound call might be delayed by several seconds while Salesforce searches all the mappings for a matching rule. You must never exceed 50,000 mappings for a single object or 100,000 mappings in total.

 Example

Your company sells in both the insurance and banking industries. You want to present a different callback number when your sales agents make outbound calls to either of those industries. (Your sales agents must belong to the Sales profile.) The rest of the users will use the default callback. Your callback number for Insurance is 01234567890 and your callback number for Banking is 123456789.

To configure this example, you must perform the following tasks:

  • Create a custom settings record for the Sales profile and set the value of the Callback Number Selector Class field to NVMContactWorld.SelectPresentedCLIDByField.

    Leave the Callback Number Selector Class field value empty in the default custom settings for the organization level.
  • Create one Field-Based Callback Number Mapping record, with the following values:
    • Object: Account
    • Field: Industry
    • Value: Insurance
    • Presented Callback Number: 0123456789
    • Mapping Name: Callback for Insurance Accounts numbers
  • Create another Field-Based Callback Number Mapping record with these values:
    • Object: Account
    • Field: Industry
    • Value: Banking
    • Presented Callback Number: 123456789
    • Mapping Name: Callback for Banking Accounts numbers

Now, whenever your sales agents make an outbound call to an account from the banking industry, ContactWorld presents the banking industry's callback number. Similarly, when a sales agent makes an outbound call to an account in the insurance industry, ContactWorld presents the insurance industry's callback number. When any other agent makes a click to dial call, ContactWorld presents the default callback number because you have not configured the agents to use this feature.

  • No labels