Using Extra or Custom Fields on Talkdesk Automations for ServiceNow

This article will guide you through the necessary steps to enable extra or custom fields to be mapped between Talkdesk and ServiceNow. This will allow you to preview extra/custom fields on the Talkdesk Automated Tasks side (i.e. automations) and populate them with the chosen information on the ServiceNow side.

If you have added fields to the User, Case, and/or Incident objects, you may want to populate those when creating them via automations. By default, Talkdesk will show all default fields and any fields marked as mandatory in the ServiceNow form for a particular table. However, any extra fields will need to be manually mapped. 

image8.png

This diagram illustrates the logic behind the mapping functionality. In the example, we use the extra field “Opened for”. 

It’s important to understand that the mapping is based on the field name in the Interaction table. It must correspond to the column name in the Talkdesk Interaction Import Set table, otherwise, the extra/custom field on the ServiceNow side won’t be populated. Also, the field label from the Interaction table is the one to be used as the source field in the Talkdesk Interaction table.

image10.png

In this second diagram, note that in case the column name in the Talkdesk Interaction Import Set table is automatically set with a prefix such as “u_” prefix (this cannot be changed)). You will need to create a new field in the Interaction table with that exact prefix and use it instead of the ServiceNow native “Opened for” field in the first diagram.

You must always make sure the column name is the same as the field name in the Interaction table in the first place, and that the source field in the Talkdesk Interaction table follows.

This article provides you with step-by-step instructions on how to use an extra/custom ServiceNow field in Talkdesk automations. 

Note: To perform all the next configuration steps, you will need to have an Admin role in ServiceNow.

 

Previewing Extra/Custom Fields 

In order to add extra/custom fields to the preview functionality available, when creating automations in Talkdesk, it’s necessary to add those fields to the Talkdesk Field Mappings table.

Please follow these steps to leverage extra/custom ServiceNow fields in Talkdesk Automated Tasks:

image1.png

  1. Go into your ServiceNow instance, and use the search bar [1] to find the Talkdesk section of the main navigation menu, and select Field Mappings [2].

image11.png

  1. Click New [3] to add a new field to the Talkdesk Automated Tasks.

image12.png

  1. Select the relevant table [4] according to your needs, then pick the field [5] you want to show up in Talkdesk Automated Tasks.

Tip: In this example above, we are choosing to show the field “Opened for” via the “Interaction” Table. Remember that the Table selected is the one the field you want to display in Talkdesk Automated Tasks belongs in. Field is the one you want to display in Talkdesk Automated Tasks, use, and automatically fill with data in ServiceNow.

  1. Click Update [6] to save this configuration.

image10.png

  1. Check the “Field Mapping” table; it will now show the record you just created..

In this section we mapped the field in order to preview it in the Talkdesk Main Automated Tasks, and the next section will show you how to fully map and configure the field so that it’s automatically populated on the ServiceNow side.

 

Extra/Custom Fields Mapping and Configuration 

In order to get extra/custom fields populated through any automation, you’ll first need to complete the previous steps. Before these fields are usable, however, they need to be mapped and configured. 

Note: Take into account that part of these next steps rely on Transform Maps, which are a ServiceNow standard and not in Talkdesk’s scope. Be aware that the steps below may be subject to changes on the ServiceNow side. 

 

Extra/Custom Field Configuration in the Talkdesk Table

image6.png

  1. Go into your ServiceNow instance, and use the search bar to find the System Definition section of the main navigation menu, then select Tables [1].

image7.png

  1. Go to the search bar and use the “Name” search bar [2] to find the Talkdesk related Tables (i.e. Name starting with “x_talkd_td_”). 

image8.png

  1. Pick a relevant Table [3] according to your needs. In this example, we are opening the Interaction “Import Set Table”.

image13.png

  1. Click on the New [4] button.

Note: If you can’t find the New button, go to System Settings > Developer and make sure “Application” is set to “Talkdesk”. 

image2.png

  1. The new field must correspond to the extra/custom field you made configured during the Preview stage of this guide.

Tip: Following the previous example, here we are creating the corresponding new record “Opened For”.

Make sure to fill in all mandatory fields, according to your needs and use case:

    • Type [5]: In the example above it is “Reference”.
    • Column label [6]: Exactly the same label of the extra/custom field on the target table where you want it to be mapped. In the example, we selected “Opened For”.
    • Column name [7]: Exactly the same name of the extra/custom field on the target table where you want it to be mapped. This field is the same as the Column label, but uses lowercase letters only, and underscores for spaces (“_”). In the example, it is “opened_for”.
    • Reference Specification [8]. In the example, it is “sys_user” (i.e. “User”).
  1. Click the Submit [9] button.

Note: If the column name is automatically set with the prefix such as “u_” prefix (unable to change it), you will need to create a new field in the Interaction table with that exact prefix. In this case, you will have to re-do what you did on the previous “Previewing Extra/Custom Fields” section accordingly. Please check the second diagram provided in the beginning of this article.

 

Extra/Custom Field Mapping in ServiceNow Transform Maps

image5.png

  1. Use the search bar to find the System Import Sets > Administration [1] section of the main navigation menu, then select Transform Maps [2].
  2. Go to the search bar and search for the Talkdesk Table [3] where you want to add the extra/custom field (i.e. Name “Talkdesk”). 
  3. Pick a relevant table according to your needs. In this example, we want the “Talkdesk Interaction” table.

image9.png

  1. Click the New [4] button to create a new record.

image14.png

  1. Then, make sure the Source field [5] corresponds to the Target field [6]. Fill in the “Source” field with the field you created (in the previous step 5), and the “Target” field with the field you want the data to be transformed into.

Tip: In the example above, both are set to “Opened For”. 

  1. In Choice action [7], select “Ignore” unless you have a specific use case. If so, choose accordingly.
  1. Click the Submit button [8].

 

Extra/Custom Field Mapping in Talkdesk Main (Automated Tasks)

  1. Then, go to your Talkdesk account and refresh the page.

Screenshot_2022-12-29_at_17.40.40.png

  1. Go to the Admin tab [1] > Integrations tab [2] > Automations section. You may want to Create Automation [3] or Edit [4] an existing one, if you have any previously configured tasks you would like to use in this case.

Screenshot_2022-12-29_at_17.44.30.png

  1. The previously selected field on the ServiceNow side will show up when creating or modifying automated tasks that create or update the selected relevant object chosen (see step 3 on the “Previewing Extra/Custom Fields” section). In the above image, you can see the “Opened for” field according to the example we have been using for this configuration.
  2. Drag and drop the relevant trigger information you want to display in the field on the ServiceNow side.

For more information on how to set up Talkdesk automated tasks, please check the Automating Tasks in the ServiceNow Connector article.

All Articles ""
Please sign in to submit a request.