Difference between revisions of "PEC-GPA/Current/Administrator/GplusScreenPop90"

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "\|Platforms?=([^\|]*)PureEngage([\|]*)" to "|Platform=$1GenesysEngage-onpremises$2")
 
(16 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|DisplayName=Screen Pop
 
|DisplayName=Screen Pop
 
|TocName=Screen Pop
 
|TocName=Screen Pop
|Context=Screen pop displays a relevant record or a search results list from Salesforce for an agent to choose when they are performing an inbound, outbound, or open media interaction.
+
|Context=Screen pop displays a relevant record or a search results list from Salesforce to support agents when they are handling interactions.
 
|ComingSoon=No
 
|ComingSoon=No
|Platform=GenesysEngage-onpremises
+
|Platform=GenesysEngage-cloud
|Prereq=
+
|Role=Administrator
 
|Section={{Section
 
|Section={{Section
|sectionHeading=
 
|anchor=
 
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=You can set up how you want Adapter to select the screen pop record from Salesforce for different type of interactions.
|image=
 
|structuredtext=You can setup how you want Adapter to select the screen pop record from Salesforce for different type of interactions.
 
  
This involves:
+
This process involves:
  
*Configuring screen pops in Salesforce and
+
*{{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=ConfiguringscreenpopsinSalesforce|display text=Setting up screen pops in Salesforce}}
*Configuring screen pops in Agent Setup
+
*{{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=screenpoplogic|display text=Setting up how and when Gplus Adapter screen pops}}
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
|sectionHeading=Configuring screen pops in Salesforce
+
|sectionHeading=Set up screen pops in Salesforce
 
|anchor=ConfiguringscreenpopsinSalesforce
 
|anchor=ConfiguringscreenpopsinSalesforce
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=To set up this functionality in Salesforce, login and go to '''Setup > Call Center > SoftPhone Layouts''' to create a SoftPhone Layout. Check out the {{#Widget:ExtLink|link=https://help.salesforce.com/HTViewHelpDoc?id=cti_admin_phonelayoutscreate.htm&language=en_US|displaytext=Salesforce documentation}} for details about configuration.
|image=
 
|structuredtext=To set up this functionality in Salesforce, login and go to '''Setup > Customize > Call Center > SoftPhone Layouts''' to create a SoftPhone Layout. Check out the {{#Widget:ExtLink|link=https://help.salesforce.com/HTViewHelpDoc?id=cti_admin_phonelayoutscreate.htm&language=en_US|displaytext=Salesforce documentation}} for details about configuration.
 
  
 
When you set up a SoftPhone Layout for Adapter, the Gplus Adapter for Salesforce ignores the SoftPhone Layout settings that control call-related fields. Instead, Adapter gets this information from {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Case_and_toast_data|display text=case and toast data}} you configure in the Genesys environment.
 
When you set up a SoftPhone Layout for Adapter, the Gplus Adapter for Salesforce ignores the SoftPhone Layout settings that control call-related fields. Instead, Adapter gets this information from {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Case_and_toast_data|display text=case and toast data}} you configure in the Genesys environment.
  
 
{{NoteFormat|Make sure you configure the '''Screen Pop Settings''' in the "CTI 2.0 or Higher Settings" section. These settings control whether the screen pop opens in a new window, tab, or Visualforce page.|1}}
 
{{NoteFormat|Make sure you configure the '''Screen Pop Settings''' in the "CTI 2.0 or Higher Settings" section. These settings control whether the screen pop opens in a new window, tab, or Visualforce page.|1}}
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
|sectionHeading=Configuring screen pops in Agent Setup
+
|sectionHeading=Gplus Adapter screen pops
 
|anchor=screenpoplogic
 
|anchor=screenpoplogic
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=Gplus Adapter can retrieve and {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=screen pop}} Salesforce records for calls, chats, SMS, emails, and open media interactions. You can configure how Adapter displays a screen pop when a call or chat (including SMS) is transferred or merged in a conference.
|image=
 
|structuredtext=In Agent Setup, you can configure Adapter {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=screen pop settings}} for calls, chats, emails, and open media interactions and how Adapter displays screen pop when a call or chat is transferred or merged in a conference.
 
===How screen pop records are retrieved from Salesforce===
 
Before you proceed with selecting the screen pop settings, get familiar with how screen pop records are selected and displayed to an agent. This section helps you understand how Adapter determines the matching screen pop record from Salesforce.
 
  
Here's the default way Adapter tells Salesforce to display in a screen pop:
+
{{NoteFormat|To modify the interaction '''userData''' keyname, use {{Link-AnywhereElse|product=PEC-ROU|version=Current|manual=Designer|topic=CallData|display text=Genesys Designer}}.
 +
<br/>
 +
Gplus Adapter uses the interaction '''userData''' key value to search for matching records in Salesforce. Gplus Adapter only reads the '''userData''' KVP (key-value pair). |1}}
  
*If the UserData for the call has key(s) with the prefix "id_" (such as "id_SalesforceCaseId"), then the first value Adapter finds is sent in the screen pop request to Salesforce.
+
Before you proceed with selecting the screen pop settings, get familiar with how screen pop records are selected and displayed to an agent. This section helps you understand how Adapter finds the matching Salesforce record to screen pop. Review the diagram and accompanying video for a summary of the screen pop search process.
*If the UserData does not include any "id_" keys, Adapter builds a search string using a combination of the ANI or the DNIS, if available, and any UserData values with keys that have the "cti_" prefix (such as "cti_FirstName" or "cti_PhoneNumber"). You can specify whether the search should include the ANI by selecting the '''Use ANI in Screen Pop Search''' setting or DNIS (the number dialed by the caller) by selecting the '''Use DNIS in Screen Pop Search''' setting. These are dependent on the '''Screen Pop Preprocessing Rule''' in {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Agent Setup}}.
 
*If there are no "id_" keys, no ANI, no DNIS, and no "cti_" keys, then Adapter doesn't send a screen pop request.
 
  
Alternatively, you can configure the expressions Adapter uses to match screen pop UserData keys for the ID and search fields by selecting the '''RegEx to Match UserData''' setting and specifying '''RegEx to Match UserData''' option. Note that these options only change the criteria by which keys are matched from UserData. The existing logic and order between ID-based screen pop and search are unchanged (see the bullet points above). If you use these regular expression options to match your own ID key, then you should also ensure you set the '''Object ID UserData Key''' to '''id_transfer_object''' so that screen pop works with in-focus page transfers.
+
[[File:GAPI_900_Gplus_Screen_Pop_logic_Based_On_User_Data.png|Screen pop logic to search for a record based on userData.|alt=A flowchart of Gplus Adapter Screen pop logic to search for a Salesforce record based on userData.]]
  
===Calls===
+
{{Video|id=665316532|Description=An overview of how Gplus Adapter for Salesforce builds a search query.|width=572|height=392}}
  
When an agent receives an external call, Adapter initiates a screen pop that causes Salesforce to show an appropriate record for the caller. By default, Adapter initiates the screen pop when the call is established, but you can select the '''Screenpop On Ringing''' setting to initiate a screen pop when the call is ringing instead. Note that Adapter also initiates screen pop for calls established through {{Link-AnywhereElse|product=PEC-GS|version=Current|manual=Administrator|topic=SPOverview|display text=Genesys Softphone}} in Connector mode.
+
Here's the logic Gplus Adapter uses to determine what to send to Salesforce to request Salesforce to display a screen pop of an SOBJECT {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=ScreenPopType|display text=object type}} based on the '''userData''' keys for an interaction:
 +
<ol>
 +
<li>Find the first '''userData''' keyname with the '''id_''' prefix and request a screen pop based on the key-value. The Salesforce record ID is included in the record URL.<br>
 +
[[File:GAPI_900_Salesforce_Record_ID_In_URL.png|The Salesforce Record ID is displayed in the Contact Record URL|alt=The Salesforce Record ID displayed in the Contact Record URL.|500px]]</li>
 +
<li>Otherwise, combine values based on the following conditions:
 +
<ul>
 +
<li>Find the keys with the '''cti_''' prefix, such as "cti_FirstName" or "cti_PhoneNumber", and request a screen pop based on the key-values.
 +
</li>
 +
<li>If the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=RegEx to Match UserData}}''' setting is configured, Adapter applies a regular expression (RegEx) to match userData key-names. Refer to {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=RegEx|display text=Search for records using a Regular Expression}}.
 +
</li>
 +
<li>For voice calls:
 +
<ul>
 +
<li>If the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Use ANI in Screen Pop Search}}''' setting is selected (selected by default), Adapter finds the originating phone number by the Automatic Number Identification (ANI) value and requests a screen pop based on the '''ANI'''.</li>
 +
<li>If the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Use DNIS in Screen Pop Search}}''' setting is selected (de-selected by default), Adapter finds the dialed number from the Dialed Number Identification Service (DNIS) value and request a screen pop based on the '''DNIS'''.</li>
 +
</ul>
 +
<p>These two options depend on the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop Preprocessing Rule}}''' setting in Agent Setup. Use this option to adjust the format of phone numbers (DNIS) and Automatic Number Identification (ANI) to search for on screen pop. Choose one of these settings:
 +
<ul>
 +
<li>'''None''': By default, no phone number preprocessing rule is applied.</li>
 +
<li>'''Default''': The default preprocessing rule removes "+1" from the beginning of the ANI or DNIS.</li>
 +
<li>'''Add...''': Name and define your own preprocessing rule. These four parameters define each preprocessing rule:
 +
<ul>'''Display Name''': The name of the pre-processing rule.
 +
<li>'''RegEx''': A RegEx defining the condition to be matched.</li>
 +
<li>'''Replacement''': The string to replace the matched string.</li>
 +
<li>'''Description''': A short description of the rule</li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</p>
 +
<p>Here are some examples of preprocessing rules that you can define:
 +
<ul>
 +
<li>'''Remove the prefix and use only 9 digits from the phone number'''
 +
<ul>
 +
<li>'''Display Name''': Use only last 9 digits</li>
 +
<li>'''RegEx''': ^.*([0-9]{9})$</li>
 +
<li>'''Replacement''': $1</li>
 +
<li>'''Description''': Remove the prefix and use only 9 digits from the phone number.</li>
 +
</ul>
 +
</li>
 +
<li>'''Remove the country code prefix'''
 +
<ul>
 +
<li>'''Display Name''': Remove country code</li>
 +
<li>'''RegEx''': (\+1&#124;\+33&#124;\+91)(.*)$</li>
 +
<li>'''Replacement''': $2</li>
 +
<li>'''Description''': Remove the country code prefix.</li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</p>
 +
</li>
 +
</ul>
 +
</li>
 +
</ol>
 +
{{AnchorDiv|RegEx}}
 +
====Search for records using a Regular Expression====
 +
You can use regular expressions (RegEx) to specify how Gplus Adapter finds key names in the userData and returns the key value. The RegEx is applied to the ID and search fields that Adapter uses to match screen pop userData keys.
  
{{NoteFormat|You can also select screen pops for internal calls with the '''Screen Pop For Internal Calls''' setting and consult calls with the '''Enable Screen Pop For Consult''' setting.}}
+
Select and configure the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=RegEx to Match UserData}}''' option. This option only changes the criteria by which userData keys are matched. The existing logic and order between ID-based screen pop and search are the same (see the bullet points above).
  
For Outbound campaign calls, the screen pop appears immediately after the agent clicks '''Get Record''' when the notification is displayed. An agent can then choose to make or decline the Outbound campaign call. For Push Preview campaigns, the screen pop appears after the agent clicks '''Accept'''. For more information on setting up outbound campaigns, case and toast data, see {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Outbound_options}}.
+
You can specify RegEx search strings to search through the userData key names for specific patterns or letters and numbers such as in this example of userData input:
  
====Integrating Genesys Universal Contact Server (UCS)====
+
<source lang="text">
You can enable agents to use Team Communicator to call a contact that is stored in the Universal Contact Server (UCS). You can view the detailed contact information from the '''Contacts''' tab. For more information, see {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Global_Login}}.
+
userData:{
 +
  userDataKeyname1:"keyvalue1",
 +
  userDataKeyname2:"keyvalue2",
 +
  userDataKeyname3:"keyvalue3",
 +
  userDataKeyname4:"keyvalue4",
 +
  userDataKeyname5:"keyvalue5",
 +
  userDataKeyname6:"keyvalue6"
 +
}
 +
</source>
  
===Chat===
+
You can use RegEx to search through the userData to return the key value from the userData for  "userDataKeyname5 '''or''' userDataKeyname6". The RegEx you enter in Agent Setup for this example would be: '''UserDataKeyname5&#124;UserDataKeyname6'''.
When an agent receives a chat invite from a contact, Adapter initiates a screen pop based on whether the '''Screen Pop On Chat Invite''' setting is selected.
 
  
*When selected, Adapter displays the screen pop on chat invite.
+
[[File:Gplus 900 RegEx to Match UserData Option in AS.png]]
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for the chat interaction.
 
  
===Email===
+
With the example userData input above, Adapter would return the key values '''keyvalue5''' and '''keyvalue6''':
When an agent receives an email invite from a contact, Adapter initiates a screen pop based on whether the '''Screen Pop On Email Invite''' setting is selected.
+
 
 +
Regular expressions (RegEx) are sequences of characters (strings) that define a search pattern. There are many RegEx cheat sheets available on the internet to help you understand how to construct a search pattern using the special RegEx control characters such as: [, ], +, :, \, /, <, >, =, -, _, *, ?, {, }, and so on.
 +
 
 +
The '''RegEx to Match UserData''' option does not support RegEx flags, such as: i, g, s, m, y, and u. For example, use <tt>"Hello"</tt> to search for this string rather than <tt>/Hello/ig</tt>.
 +
 
 +
If you use the regular expression options to match your own ID key, ensure that the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Object ID UserData Key}}''' option is set to '''id_transfer_object'''. This setting ensures that screen pop works with in-focus page transfers.
 +
 
 +
<!--For troubleshooting purposes, you can configure Gplus Adapter to display confirmation messages in Agent Workspace when a new record is either successfully created or was unsuccessful. -->For information about troubleshooting Gplus Adapter for Salesforce, refer to {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusTroubleshoot90}}.
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Screen pop for Voice
 +
|anchor=VoiceCalls
 +
|alignment=Vertical
 +
|structuredtext=When an agent receives an external call, Adapter initiates a screen pop that causes Salesforce to show an appropriate record for the caller. By default, Adapter initiates the screen pop when the call is established. To initiate a screen pop when the call is ringing instead, select the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop on Ringing}}''' setting .
 +
{{NoteFormat|You can also select screen pops for internal calls with the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop For Internal Calls}}''' setting and consult calls with the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Enable Screen Pop For Consult}}''' setting.}}
 +
For Outbound campaign calls, the screen pop appears immediately after the agent clicks '''Get Record''' when the notification is displayed. An agent can then choose to make or decline the Outbound campaign call. For Push Preview campaigns, the screen pop appears after the agent clicks '''Accept'''. For more information about setting up outbound campaigns, and case and toast data, see {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Outbound_options}}.{{AnchorDiv|DialedCalls}}
 +
===Screen pop for Outbound calls on Dialing and Established===
 +
You can configure Adapter to screen pop a new or existing Salesforce record when an agent dials an outbound call to an external or internal number. You can also choose whether to screen pop when the agent dials the call or when the call is established.
 +
 
 +
To enable this feature, configure the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop for Outbound Calls}}''' option in Agent Setup.
 +
 
 +
To specify how to search for an existing Salesforce record, configure the following options in Agent Setup:
 +
 
 +
*'''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Use DNIS in Screen Pop Search}}'''
 +
*'''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Use ANI in Screen Pop Search}}''': To remove the call number from the search, clear this option.
 +
*'''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=RegEx to Match UserData}}'''
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Screen pop for Chat and SMS
 +
|anchor=Chat
 +
|alignment=Vertical
 +
|structuredtext=You can configure Adapter to initiate a screen pop when an agent receives a chat or SMS invite from a contact by selecting the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop On Chat Invite}}''' setting.
 +
 
 +
*When selected, Adapter displays the screen pop on chat or SMS invite.
 +
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the chat or SMS interaction invitation.
 +
 
 +
For SMS, the screen pop appears only for an unassigned contact. If the contact is already assigned to the agent in the Agent Workspace '''{{Link-AnywhereElse|product=PEC-AD|version=Current|manual=Agent|topic=ADSMS|anchor=CommunicationTab|display text=Communication}}''' tab, no screen-pop is displayed.
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Screen pop for Email
 +
|anchor=Email
 +
|alignment=Vertical
 +
|structuredtext=You can configure Adapter to initiate a screen pop when an agent receives an email invite from a contact by selecting the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop On Email Invite}}''' setting.
  
 
*When selected, Adapter displays the screen pop on email invite.
 
*When selected, Adapter displays the screen pop on email invite.
 
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for the email interaction.
 
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for the email interaction.
  
===Open Media items===
+
You can configure Adapter to initiate a screen pop when an agent replies to an inbound email or creates an outgoing email by selecting the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop on Outbound Email Create}}''' setting.
When an agent receives an Open Media invite from a contact, Adapter initiates a screen pop based on whether the '''Screen Pop On Open Media Invite''' setting is selected.  
 
  
*When selected, Adapter displays the screen pop on open media invite.
+
*When selected, Adapter displays the screen pop on email create and email reply create.
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for an open media interaction.
+
*When not selected or if the option is not available, Adapter does not display a screen pop on email create and email reply create.
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
|sectionHeading=Configuring screen pop by Salesforce object type
+
|sectionHeading=Screen pop for Open Media (workitems)
|anchor=ScreenPopType
+
|anchor=OpenMediaWorkitems
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=You can configure Adapter to initiate a screen pop when an agent receives an Open Media invite from a contact by selecting the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop On Open Media Invite}}''' setting.
|image=
 
|structuredtext=You can use the '''Screen Pop object type''' option in {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Agent Setup}} to specify what type of object you want Salesforce to screen-pop. '''SOBJECT''' is the default value, other available object types are:
 
  
*FLOW: Pops to the [https://developer.salesforce.com/developer-centers/lightning-flow/ target flow]. The flow is specified by the '''Screen Pop Flow section name''' option. Additional arguments can be passed to the flow, for example, the caller’s phone number or a list of matching records. Specify the flow name and "flowArgs", valid flow arguments in JSON format, or the <tt>$attach_data_flow_name$</tt> and <tt>$attach_data_flowArgs_name$</tt> parameters to take the flow name and arguments from the attached data.
+
*When selected, Adapter displays the screen pop on open media invite.
*URL: Opens [https://developer.salesforce.com/docs/component-library/bundle/force:navigateToURL/documentation the URL] in a new browser or tab. The URL is specified by the '''Screen Pop URL section name''' option. Specify the URL or use the <tt>$attach_data_key$</tt> parameter to take the URL from the interaction attached data.
+
*When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for an open media interaction.
*OBJECTHOME: Pops to the [https://developer.salesforce.com/docs/component-library/bundle/force:navigateToObjectHome/documentation home of an object or entity], such as a Case or an Account. The object home is specified by the '''Screen Pop Object Home section name''' option. Specify the object or the <tt>$attach_data_key$</tt> parameter to take the object name from the interaction attached data.
 
*LIST: Pops to the [https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_listview.htm specified list] of Salesforce objects, such as Contacts or Accounts. The list is specified by the '''Screen Pop List section name''' option. Specify the user data keys or the <tt>$attach_data_list_id$</tt> and <tt>$attach_data_list_scope$</tt> parameters to take the List from the interaction attached data.
 
*SEARCH: Pops to the Top Results section of the [https://help.salesforce.com/articleView?id=search_unified_results.htm&type=5 search page]. The search string is specified by the '''Screen Pop Search section name''' option. Specify the search string or the <tt>$attach_data_search$</tt> parameter to take the string from the interaction attached data.
 
*NEW_RECORD_MODAL: Pops a [https://developer.salesforce.com/docs/component-library/bundle/force:createRecord/documentation modal form] for creation of a new object, such as Account, Case, Contact, or Lead. The new record modal is specified by the '''Screen Pop New Record section name''' option. Specify the object name or the <tt>$attach_data_entityname$</tt> parameter to take the new record type from the interaction attached data.
 
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
|sectionHeading=Configuring screen pops for conference or transfer interactions
+
|sectionHeading=Screen pops for conference or transfer interactions
 
|anchor=Configuringscreenpopsforconferenceortransferinteractions
 
|anchor=Configuringscreenpopsforconferenceortransferinteractions
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=When an agent performs a chat (including SMS) conference or transfer, Adapter can update the UserData with the ID of the object the agent is viewing in Salesforce. Updating the UserData ensures that the agent who receives the conference or transfer gets a screen pop for the most relevant object, which is helpful when:  
|image=
 
|structuredtext=When an agent performs a chat conference or transfer, Adapter can update the UserData with the ID of the object the agent is looking at in Salesforce. This ensures that the agent who receives the conference or transfer gets a screen pop for the most relevant object.
 
 
 
This can be helpful when:
 
  
 
*There are multiple matches for a screen pop search initially and the agent has to select between them.
 
*There are multiple matches for a screen pop search initially and the agent has to select between them.
 
*There are no matches for the initial screen pop search and the agent creates a new record.
 
*There are no matches for the initial screen pop search and the agent creates a new record.
  
You can enable this feature by selecting the '''Object ID UserData Key''' to '''id_transfer_object'''.
+
You can enable this feature by setting the value of the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Object ID UserData Key}}''' option to '''id_transfer_object'''.
  
 
When Adapter updates the UserData, any existing UserData keys that begin with "id_" or "cti_" are removed and a new key, called "id_transfer_object", is added with the object ID of the focused page. If the focused page doesn't correspond to a Salesforce object, Adapter does not make an update and the existing UserData is sent with the conference or transfer request.
 
When Adapter updates the UserData, any existing UserData keys that begin with "id_" or "cti_" are removed and a new key, called "id_transfer_object", is added with the object ID of the focused page. If the focused page doesn't correspond to a Salesforce object, Adapter does not make an update and the existing UserData is sent with the conference or transfer request.
  
If you configured your environment to use a key other than "id_" or "cti_" (basically, if you need to set the '''screenpop.id-key-regex''' option as described in {{Link-SomewhereInThisManual|topic=GplusScreenPop90|anchor=screenpoplogic|display text=How screen pop records are retrieved from Salesforce}}, then you must also set the '''screenpop.transfer-object-key''' to your custom key for screen pop to work. Adapter adds the key you specify in this option instead of '''id_transfer_object'''.
+
If you configured your environment to use a key other than "id_" or "cti_" by using the '''screenpop.id-key-regex''' option, then you must also set the '''screenpop.transfer-object-key''' to your custom key for screen pop to work. Adapter adds the key specified by this option instead of '''id_transfer_object'''.
|structuredtextwide=
+
|Status=No
|FAQHeading=
+
}}{{Section
 +
|sectionHeading=Create a new Salesforce record on screen pop
 +
|anchor=NewRecord
 +
|alignment=Vertical
 +
|structuredtext=Gplus Adapter can create new Salesforce records based on a specified Salesforce Object API name (for example '''Custom_Object__c'''. Refer to the screenshot.) and interaction data field mapping then screen pop the created record.
 +
 
 +
[[File:Gplus_900_Salesforce_Custom_API_Object.png|500px]]
 +
 
 +
Use this feature to create a new Salesforce record in the following scenarios:
 +
 
 +
*When the search for an existing Salesforce record for screen pop returns no matching record.
 +
*To create a new Salesforce record for ''every'' interaction.
 +
 
 +
To have Gplus Adapter screen pop a new record, you must create a Salesforce custom object API to be used as a template for a new Salesforce record and you must define the record field mapping where each key must correspond to an interaction '''userData''' key and each value must correspond to the name of the Salesforce standard or custom object field.
 +
 
 +
To enable this feature, select the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Create New Salesforce Record on Screenpop}}''' option in Agent Setup. This option depends on the following options in Agent Setup:
 +
 
 +
*'''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Salesforce Object API Name}}'''
 +
*'''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=New Salesforce Record Field Mapping}}'''
 +
 
 +
This screenshot shows you the relationship between the UserData associated with an interaction, configuration in Agent Setup, and Salesforce record fields for a New Salesforce Record Field Mapping. In this example, "custom-field-mappings" is the name of the new configuration section that is specified in the '''Activity Log Field Mapping''' option in Agent Setup. "Firstname" and "Firstname__c" represent the key-value pairs that are specified for the "custom-field-mappings" section. In your environment, you specify values that are relevant to your organization.
 +
 
 +
[[File:Gplus 900 New Salesforce Record Mapping.png|600px]]
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Link new Salesforce record to an existing record
 +
|anchor=LinkNewRecord
 +
|alignment=Vertical
 +
|structuredtext=Gplus Adapter and Salesforce can be set up to link the new Salesforce record that is created when the value of the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Create New Salesforce Record on Screenpop}}''' option in Agent Setup is set to '''Always''' to an existing record in Salesforce.
 +
 
 +
Gplus Adapter uses the {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=screenpoplogic|display text=screen pop record search}} to find a ''unique'' record in the Salesforce database and associates it with the newly created record based on a Salesforce Lookup relationship that you define. If a unique record is not found, the new Salesforce record cannot be linked to an existing record.
 +
 
 +
When the agent completes the interaction, the linked Salesforce record is screen popped.
 +
 
 +
===Creating a Lookup relationship===
 +
To enable Gplus Adapter to connect the Salesforce Object API object that you created in {{Link-SomewhereInThisVersion|manual=Administrator|topic=GplusScreenPop90|anchor=NewRecord|display text=Create a new Salesforce record on screen pop}} (for example '''Custom_Object__c''') with an existing Salesforce record, create a Lookup relationship for the object.
 +
 
 +
#From '''Setup''' in Salesforce, navigate to '''Object Manager'''.
 +
#:[[File:navigateObjectManager.png|600px]]
 +
#Find your custom object and select it.
 +
#:[[File:findCustomObject.png|600px]]
 +
#In the Custom object view, select '''Fields & Relationships''' in the sidebar and click '''New'''.
 +
#:[[File:CustomObjectView.png|600px]]
 +
#In the '''New Custom Field''' view, choose either '''Lookup Relationship''' or '''Master-Detail Relationship''' and click '''Next'''.
 +
#:[[File:NewCustomField.png|600px]]
 +
#From the '''Related To''' menu, select the object you want to relate to the new record and click '''Next'''.
 +
#Name the field name according to your business needs and click '''Next'''.
 +
#:[[File:FieldLabels.png|600px]]
 +
#To complete the Lookup relationship, click '''Next''', '''Next''', and '''Save'''.
 +
 
 +
{{NoteFormat|To enable this feature, configure the '''Associate New Salesforce Record to Existing Record''' option, which specifies the name of the Salesforce field Gplus Adapter that can be used for association of a new Salesforce record to an existing Salesforce record.|}}
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section
Line 127: Line 250:
 
|anchor=Attacheddata
 
|anchor=Attacheddata
 
|alignment=Vertical
 
|alignment=Vertical
|Media=
+
|structuredtext=You can configure Adapter to save the ID, name, and type of the focused Salesforce object to attached data when an agent clicks '''Mark Done'''. Set the values of the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=General|display text=Salesforce Object Key}}''', '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=General|display text=Salesforce Object Name}}''', and '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=General|display text=Salesforce Object Type}}''' options to the keys you want Adapter to use when saving the ID, name, and type. Set these options to ensure the ID, name, or type is added to the attached data when agents create a new object during a call.
|image=
+
 
|structuredtext=You can configure Adapter to save the ID, name, and type of the focused Salesforce object to attached data when an agent clicks '''Mark Done'''. To do this, set '''Salesforce Object Key''', '''Salesforce Object Name''', and '''Salesforce Object Type''' to the keys you want Adapter to use when saving the ID, name, and type. Set these options to ensure the ID, name, or type is added to attached data when agents create a new object during a call. '''Also, ensure the Workspace Web Edition option {{Optionslink|link=Options:Web_Services_and_Applications:interaction-workspace:interaction-case-data-is-read-only-on-idle}} is set to <tt>false</tt>.''' For more information about setting up Case Data, refer to {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Case_and_toast_data}}.
+
<!--Ensure the Workspace Web Edition option {{Optionslink|link=Options:Web_Services_and_Applications:interaction-workspace:interaction-case-data-is-read-only-on-idle}} is set to <tt>false</tt>. -->For more information about setting up Case Data, see {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Case_and_toast_data}}.
|structuredtextwide=
+
|Status=No
|FAQHeading=
+
}}{{Section
 +
|sectionHeading=Screen pop by Salesforce object type
 +
|anchor=ScreenPopType
 +
|alignment=Vertical
 +
|structuredtext={{NoteFormat|This feature is not supported for Salesforce Classic.|1}}You can use the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop object type}}''' option in {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Agent Setup}} to specify what type of object you want Salesforce to screen-pop. This feature supports voice and digital channels interactions. '''SOBJECT''' is the default value, other available object types are:
 +
 
 +
*FLOW: Pops to the [https://developer.salesforce.com/developer-centers/lightning-flow/ target flow]. The flow is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop Flow section name}}''' option. Additional arguments can be passed to the flow, for example, the caller’s phone number or a list of matching records. To take the flow name and arguments from the attached data, specify the flow name and "flowArgs", valid flow arguments in JSON format, or the <tt>$attach_data_flow_name$</tt> and <tt>$attach_data_flowArgs_name$</tt> parameters.
 +
*URL: Opens [https://developer.salesforce.com/docs/component-library/bundle/force:navigateToURL/documentation the URL] in a new browser or tab. The URL is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop URL section name}}''' option. To take the URL from the interaction attached data, specify the URL or use the <tt>$attach_data_key$</tt> parameter.
 +
*OBJECTHOME: Pops to the [https://developer.salesforce.com/docs/component-library/bundle/force:navigateToObjectHome/documentation home of an object or entity], such as a Case or an Account. The object home is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop Object Home section name}}''' option. To take the object name from the interaction attached data, specify the object or the <tt>$attach_data_key$</tt> parameter.
 +
*LIST: Pops to the [https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_listview.htm specified list] of Salesforce objects, such as Contacts or Accounts. The list is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop List section name}}''' option. To take the List from the interaction attached data, specify the user data keys or the <tt>$attach_data_list_id$</tt> and <tt>$attach_data_list_scope$</tt> parameters.
 +
*SEARCH: Pops to the Top Results section of the [https://help.salesforce.com/articleView?id=search_unified_results.htm&type=5 search page]. The search string is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop Search section name}}''' option. To take the string from the interaction attached data, specify the search string or the <tt>$attach_data_search$</tt> parameter.
 +
*NEW_RECORD_MODAL: Pops a [https://developer.salesforce.com/docs/component-library/bundle/force:createRecord/documentation modal form] for creation of a new object, such as Account, Case, Contact, or Lead. The new record modal is specified by the '''{{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Salesforce_options|anchor=ScreenPop|display text=Screen Pop New Record section name}}''' option. To take the new record type from the interaction attached data, specify the object name or the <tt>$attach_data_entityname$</tt> parameter.
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Integrating Genesys Universal Contact Server (UCS)
 +
|anchor=TeamCommunicator
 +
|alignment=Vertical
 +
|structuredtext=You can enable agents to use Agent Workspace Team Communicator to call a contact that is stored in the Universal Contact Server (UCS) and view the detailed contact information from the '''Contacts''' tab. For more information, see {{Link-AnywhereElse|product=PEC-AS|version=Current|manual=ManageCC|topic=Global_Login}}.
 
|Status=No
 
|Status=No
 +
}}{{Section
 +
|sectionHeading=Screen pop search and process diagrams
 +
|anchor=SearchProcessDiagrams
 +
|alignment=Vertical
 +
|structuredtext=This diagram summarizes the search process used by Gplus to find information in the interaction data to send to Salesforce for screen pop. The diamond shaped boxes indicate a configuration setting in Agent Setup.
 +
 +
[[File:GAPI_900_Gplus_Screen_pop_decision_diagram.png|Flow diagram of interaction data processing for screen pop.|alt=Flow diagram of interaction data processing for screen pop.]]
 +
 +
Once the decision to screen pop is made, the following diagram summarizes the steps in the screen pop process. In this diagram, the diamond shaped boxes indicate either a configuration setting in Agent Setup or an evaluation of record searching in Salesforce.
 +
 +
[[File:GAPI_900_Gplus_Screen_pop_process_diagram.png|Flow diagram of screen pop processing.|alt=Flow diagram of screen pop processing.]]
 +
|Status=Yes
 
}}
 
}}
 
}}
 
}}

Latest revision as of 08:15, January 20, 2023

Screen pop displays a relevant record or a search results list from Salesforce to support agents when they are handling interactions.

You can set up how you want Adapter to select the screen pop record from Salesforce for different type of interactions.

This process involves:

Set up screen pops in Salesforce

To set up this functionality in Salesforce, login and go to Setup > Call Center > SoftPhone Layouts to create a SoftPhone Layout. Check out the Salesforce documentation for details about configuration.

When you set up a SoftPhone Layout for Adapter, the Gplus Adapter for Salesforce ignores the SoftPhone Layout settings that control call-related fields. Instead, Adapter gets this information from case and toast data you configure in the Genesys environment.

Important
Make sure you configure the Screen Pop Settings in the "CTI 2.0 or Higher Settings" section. These settings control whether the screen pop opens in a new window, tab, or Visualforce page.

Gplus Adapter screen pops

Gplus Adapter can retrieve and screen pop Salesforce records for calls, chats, SMS, emails, and open media interactions. You can configure how Adapter displays a screen pop when a call or chat (including SMS) is transferred or merged in a conference.

Important
To modify the interaction userData keyname, use Genesys Designer.


Gplus Adapter uses the interaction userData key value to search for matching records in Salesforce. Gplus Adapter only reads the userData KVP (key-value pair).

Before you proceed with selecting the screen pop settings, get familiar with how screen pop records are selected and displayed to an agent. This section helps you understand how Adapter finds the matching Salesforce record to screen pop. Review the diagram and accompanying video for a summary of the screen pop search process.

A flowchart of Gplus Adapter Screen pop logic to search for a Salesforce record based on userData.

Here's the logic Gplus Adapter uses to determine what to send to Salesforce to request Salesforce to display a screen pop of an SOBJECT object type based on the userData keys for an interaction:

  1. Find the first userData keyname with the id_ prefix and request a screen pop based on the key-value. The Salesforce record ID is included in the record URL.
    The Salesforce Record ID displayed in the Contact Record URL.
  2. Otherwise, combine values based on the following conditions:
    • Find the keys with the cti_ prefix, such as "cti_FirstName" or "cti_PhoneNumber", and request a screen pop based on the key-values.
    • If the RegEx to Match UserData setting is configured, Adapter applies a regular expression (RegEx) to match userData key-names. Refer to Search for records using a Regular Expression.
    • For voice calls:
      • If the Use ANI in Screen Pop Search setting is selected (selected by default), Adapter finds the originating phone number by the Automatic Number Identification (ANI) value and requests a screen pop based on the ANI.
      • If the Use DNIS in Screen Pop Search setting is selected (de-selected by default), Adapter finds the dialed number from the Dialed Number Identification Service (DNIS) value and request a screen pop based on the DNIS.

      These two options depend on the Screen Pop Preprocessing Rule setting in Agent Setup. Use this option to adjust the format of phone numbers (DNIS) and Automatic Number Identification (ANI) to search for on screen pop. Choose one of these settings:

      • None: By default, no phone number preprocessing rule is applied.
      • Default: The default preprocessing rule removes "+1" from the beginning of the ANI or DNIS.
      • Add...: Name and define your own preprocessing rule. These four parameters define each preprocessing rule:
          Display Name: The name of the pre-processing rule.
        • RegEx: A RegEx defining the condition to be matched.
        • Replacement: The string to replace the matched string.
        • Description: A short description of the rule

      Here are some examples of preprocessing rules that you can define:

      • Remove the prefix and use only 9 digits from the phone number
        • Display Name: Use only last 9 digits
        • RegEx: ^.*([0-9]{9})$
        • Replacement: $1
        • Description: Remove the prefix and use only 9 digits from the phone number.
      • Remove the country code prefix
        • Display Name: Remove country code
        • RegEx: (\+1|\+33|\+91)(.*)$
        • Replacement: $2
        • Description: Remove the country code prefix.

Search for records using a Regular Expression

You can use regular expressions (RegEx) to specify how Gplus Adapter finds key names in the userData and returns the key value. The RegEx is applied to the ID and search fields that Adapter uses to match screen pop userData keys.

Select and configure the RegEx to Match UserData option. This option only changes the criteria by which userData keys are matched. The existing logic and order between ID-based screen pop and search are the same (see the bullet points above).

You can specify RegEx search strings to search through the userData key names for specific patterns or letters and numbers such as in this example of userData input:

userData:{
  userDataKeyname1:"keyvalue1",
  userDataKeyname2:"keyvalue2",
  userDataKeyname3:"keyvalue3",
  userDataKeyname4:"keyvalue4",
  userDataKeyname5:"keyvalue5",
  userDataKeyname6:"keyvalue6"
}

You can use RegEx to search through the userData to return the key value from the userData for "userDataKeyname5 or userDataKeyname6". The RegEx you enter in Agent Setup for this example would be: UserDataKeyname5|UserDataKeyname6.

Gplus 900 RegEx to Match UserData Option in AS.png

With the example userData input above, Adapter would return the key values keyvalue5 and keyvalue6:

Regular expressions (RegEx) are sequences of characters (strings) that define a search pattern. There are many RegEx cheat sheets available on the internet to help you understand how to construct a search pattern using the special RegEx control characters such as: [, ], +, :, \, /, <, >, =, -, _, *, ?, {, }, and so on.

The RegEx to Match UserData option does not support RegEx flags, such as: i, g, s, m, y, and u. For example, use "Hello" to search for this string rather than /Hello/ig.

If you use the regular expression options to match your own ID key, ensure that the Object ID UserData Key option is set to id_transfer_object. This setting ensures that screen pop works with in-focus page transfers.

For information about troubleshooting Gplus Adapter for Salesforce, refer to Troubleshooting Gplus Adapter Integration with Salesforce.

Screen pop for Voice

When an agent receives an external call, Adapter initiates a screen pop that causes Salesforce to show an appropriate record for the caller. By default, Adapter initiates the screen pop when the call is established. To initiate a screen pop when the call is ringing instead, select the Screen Pop on Ringing setting .

Important
You can also select screen pops for internal calls with the Screen Pop For Internal Calls setting and consult calls with the Enable Screen Pop For Consult setting.
For Outbound campaign calls, the screen pop appears immediately after the agent clicks Get Record when the notification is displayed. An agent can then choose to make or decline the Outbound campaign call. For Push Preview campaigns, the screen pop appears after the agent clicks Accept. For more information about setting up outbound campaigns, and case and toast data, see Outbound channel options.

Screen pop for Outbound calls on Dialing and Established

You can configure Adapter to screen pop a new or existing Salesforce record when an agent dials an outbound call to an external or internal number. You can also choose whether to screen pop when the agent dials the call or when the call is established.

To enable this feature, configure the Screen Pop for Outbound Calls option in Agent Setup.

To specify how to search for an existing Salesforce record, configure the following options in Agent Setup:

Screen pop for Chat and SMS

You can configure Adapter to initiate a screen pop when an agent receives a chat or SMS invite from a contact by selecting the Screen Pop On Chat Invite setting.

  • When selected, Adapter displays the screen pop on chat or SMS invite.
  • When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the chat or SMS interaction invitation.

For SMS, the screen pop appears only for an unassigned contact. If the contact is already assigned to the agent in the Agent Workspace Communication tab, no screen-pop is displayed.

Screen pop for Email

You can configure Adapter to initiate a screen pop when an agent receives an email invite from a contact by selecting the Screen Pop On Email Invite setting.

  • When selected, Adapter displays the screen pop on email invite.
  • When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for the email interaction.

You can configure Adapter to initiate a screen pop when an agent replies to an inbound email or creates an outgoing email by selecting the Screen Pop on Outbound Email Create setting.

  • When selected, Adapter displays the screen pop on email create and email reply create.
  • When not selected or if the option is not available, Adapter does not display a screen pop on email create and email reply create.

Screen pop for Open Media (workitems)

You can configure Adapter to initiate a screen pop when an agent receives an Open Media invite from a contact by selecting the Screen Pop On Open Media Invite setting.

  • When selected, Adapter displays the screen pop on open media invite.
  • When not selected or if the option is not available, Adapter displays the screen pop only when the agent accepts the invitation for an open media interaction.

Screen pops for conference or transfer interactions

When an agent performs a chat (including SMS) conference or transfer, Adapter can update the UserData with the ID of the object the agent is viewing in Salesforce. Updating the UserData ensures that the agent who receives the conference or transfer gets a screen pop for the most relevant object, which is helpful when:

  • There are multiple matches for a screen pop search initially and the agent has to select between them.
  • There are no matches for the initial screen pop search and the agent creates a new record.

You can enable this feature by setting the value of the Object ID UserData Key option to id_transfer_object.

When Adapter updates the UserData, any existing UserData keys that begin with "id_" or "cti_" are removed and a new key, called "id_transfer_object", is added with the object ID of the focused page. If the focused page doesn't correspond to a Salesforce object, Adapter does not make an update and the existing UserData is sent with the conference or transfer request.

If you configured your environment to use a key other than "id_" or "cti_" by using the screenpop.id-key-regex option, then you must also set the screenpop.transfer-object-key to your custom key for screen pop to work. Adapter adds the key specified by this option instead of id_transfer_object.

Create a new Salesforce record on screen pop

Gplus Adapter can create new Salesforce records based on a specified Salesforce Object API name (for example Custom_Object__c. Refer to the screenshot.) and interaction data field mapping then screen pop the created record.

Gplus 900 Salesforce Custom API Object.png

Use this feature to create a new Salesforce record in the following scenarios:

  • When the search for an existing Salesforce record for screen pop returns no matching record.
  • To create a new Salesforce record for every interaction.

To have Gplus Adapter screen pop a new record, you must create a Salesforce custom object API to be used as a template for a new Salesforce record and you must define the record field mapping where each key must correspond to an interaction userData key and each value must correspond to the name of the Salesforce standard or custom object field.

To enable this feature, select the Create New Salesforce Record on Screenpop option in Agent Setup. This option depends on the following options in Agent Setup:

This screenshot shows you the relationship between the UserData associated with an interaction, configuration in Agent Setup, and Salesforce record fields for a New Salesforce Record Field Mapping. In this example, "custom-field-mappings" is the name of the new configuration section that is specified in the Activity Log Field Mapping option in Agent Setup. "Firstname" and "Firstname__c" represent the key-value pairs that are specified for the "custom-field-mappings" section. In your environment, you specify values that are relevant to your organization.

Gplus 900 New Salesforce Record Mapping.png

Link new Salesforce record to an existing record

Gplus Adapter and Salesforce can be set up to link the new Salesforce record that is created when the value of the Create New Salesforce Record on Screenpop option in Agent Setup is set to Always to an existing record in Salesforce.

Gplus Adapter uses the screen pop record search to find a unique record in the Salesforce database and associates it with the newly created record based on a Salesforce Lookup relationship that you define. If a unique record is not found, the new Salesforce record cannot be linked to an existing record.

When the agent completes the interaction, the linked Salesforce record is screen popped.

Creating a Lookup relationship

To enable Gplus Adapter to connect the Salesforce Object API object that you created in Create a new Salesforce record on screen pop (for example Custom_Object__c) with an existing Salesforce record, create a Lookup relationship for the object.

  1. From Setup in Salesforce, navigate to Object Manager.
    NavigateObjectManager.png
  2. Find your custom object and select it.
    FindCustomObject.png
  3. In the Custom object view, select Fields & Relationships in the sidebar and click New.
    CustomObjectView.png
  4. In the New Custom Field view, choose either Lookup Relationship or Master-Detail Relationship and click Next.
    NewCustomField.png
  5. From the Related To menu, select the object you want to relate to the new record and click Next.
  6. Name the field name according to your business needs and click Next.
    FieldLabels.png
  7. To complete the Lookup relationship, click Next, Next, and Save.
Important
To enable this feature, configure the Associate New Salesforce Record to Existing Record option, which specifies the name of the Salesforce field Gplus Adapter that can be used for association of a new Salesforce record to an existing Salesforce record.

Attached data

You can configure Adapter to save the ID, name, and type of the focused Salesforce object to attached data when an agent clicks Mark Done. Set the values of the Salesforce Object Key, Salesforce Object Name, and Salesforce Object Type options to the keys you want Adapter to use when saving the ID, name, and type. Set these options to ensure the ID, name, or type is added to the attached data when agents create a new object during a call.

For more information about setting up Case Data, see Case and toast data.

Screen pop by Salesforce object type

Important
This feature is not supported for Salesforce Classic.
You can use the Screen Pop object type option in Agent Setup to specify what type of object you want Salesforce to screen-pop. This feature supports voice and digital channels interactions. SOBJECT is the default value, other available object types are:
  • FLOW: Pops to the target flow. The flow is specified by the Screen Pop Flow section name option. Additional arguments can be passed to the flow, for example, the caller’s phone number or a list of matching records. To take the flow name and arguments from the attached data, specify the flow name and "flowArgs", valid flow arguments in JSON format, or the $attach_data_flow_name$ and $attach_data_flowArgs_name$ parameters.
  • URL: Opens the URL in a new browser or tab. The URL is specified by the Screen Pop URL section name option. To take the URL from the interaction attached data, specify the URL or use the $attach_data_key$ parameter.
  • OBJECTHOME: Pops to the home of an object or entity, such as a Case or an Account. The object home is specified by the Screen Pop Object Home section name option. To take the object name from the interaction attached data, specify the object or the $attach_data_key$ parameter.
  • LIST: Pops to the specified list of Salesforce objects, such as Contacts or Accounts. The list is specified by the Screen Pop List section name option. To take the List from the interaction attached data, specify the user data keys or the $attach_data_list_id$ and $attach_data_list_scope$ parameters.
  • SEARCH: Pops to the Top Results section of the search page. The search string is specified by the Screen Pop Search section name option. To take the string from the interaction attached data, specify the search string or the $attach_data_search$ parameter.
  • NEW_RECORD_MODAL: Pops a modal form for creation of a new object, such as Account, Case, Contact, or Lead. The new record modal is specified by the Screen Pop New Record section name option. To take the new record type from the interaction attached data, specify the object name or the $attach_data_entityname$ parameter.

Integrating Genesys Universal Contact Server (UCS)

You can enable agents to use Agent Workspace Team Communicator to call a contact that is stored in the Universal Contact Server (UCS) and view the detailed contact information from the Contacts tab. For more information, see Configure global login.

Screen pop search and process diagrams

This diagram summarizes the search process used by Gplus to find information in the interaction data to send to Salesforce for screen pop. The diamond shaped boxes indicate a configuration setting in Agent Setup.

Flow diagram of interaction data processing for screen pop.

Once the decision to screen pop is made, the following diagram summarizes the steps in the screen pop process. In this diagram, the diamond shaped boxes indicate either a configuration setting in Agent Setup or an evaluation of record searching in Salesforce.

Flow diagram of screen pop processing.

Comments or questions about this documentation? Contact us for support!