From Bright Pattern Documentation
Jump to: navigation, search
m
 
Line 2: Line 2:
 
If you do not wish to configure your Bright Pattern Contact Center for Single Sign-On with Zendesk, you can access Zendesk data directly from Bright Pattern scenarios instead. The instructions that follow will walk you through the process.
 
If you do not wish to configure your Bright Pattern Contact Center for Single Sign-On with Zendesk, you can access Zendesk data directly from Bright Pattern scenarios instead. The instructions that follow will walk you through the process.
  
Perform the following preliminary steps only if you skipped the  [[zendesk-integration-guide/SingleSign-OnSetup|Single Sign-On]] configuration process; otherwise, proceed directly to '''Step 1'''.
+
Perform the following preliminary steps only if you skipped the  [[zendesk-integration-guide/SingleSign-OnSetup|Single Sign-On]] configuration process; otherwise, proceed directly to Step 1 of this procedure.
  
* Open the Bright Pattern Contact Center Administrator application.
+
# Open the Bright Pattern Contact Center Administrator application.<br /><br />
* Go to ''[[contact-center-administrator-guide/IntegrationAccounts|Call Center Configuration &gt; Integration Accounts]]''.
+
# Go to ''[[contact-center-administrator-guide/IntegrationAccounts|Call Center Configuration &gt; Integration Accounts]]''.<br /><br />
* Click '''Add account''', select '''Zendesk''', and click '''OK'''.
+
# Click '''Add account''', select '''Zendesk''', and click '''OK'''.<br /><br />
* Create a '''Name''' for this integration account.
+
# Create a '''Name''' for this integration account.<br /><br />
* Copy your Zendesk domain URL and paste it to the '''URL''' field.
+
# Copy your Zendesk domain URL and paste it to the '''URL''' field.<br /><br />
* Click '''Apply''' to save your changes.
+
# Click '''Apply''' to save your changes.<br /><br />
  
 +
== Procedure ==
 +
=== Step 1: Manage settings for your Zendesk API ===
 +
==== If using API token as the authorization type ====
 +
# In Zendesk, go to ''Admin &gt; Channels &gt; API''.<br /><br />
 +
# Make sure '''Token Access''' is enabled (i.e., checkbox selected).<br /><br />
 +
# Click the '''add new token''' link.<br /><br />
 +
# Enter a label for this new token and click '''Create'''. The new token will appear in the '''Active API tokens''' list. <br /><br />[[File:zendesk-integration-guide-image12.png|thumb|800px|center]]<br /><br />
  
'''Step 1: Manage settings for your Zendesk API.'''
+
==== If using OAuth access token as the authorization type ====
* In Zendesk, go to ''Admin &gt; Channels &gt; API''.
+
# In Zendesk, go to ''Admin > Channels > API > OAuth Clients'', and then click '''Add OAuth Client''' on the right side of the client list.<br /><br />
* Make sure '''Token Access''' is enabled (i.e., checkbox selected).
+
# Complete the following fields to create a client:<br /><br />
* Click the '''add new token''' link.
+
## '''Client Name''' - Enter a name for your app. This is the name that users will see when asked to grant access to your application and when they check the list of third-party apps that have access to their Zendesk.<br /><br />
* Enter a label for this new token and click '''Create'''. The new token will appear in the '''Active API tokens''' list.  
+
## '''Description''' - Optional. This is a short description of your app that users will see when asked to grant access to it.<br /><br />
 +
## '''Company''' - Optional. This is the company name that users will see when asked to grant access to your application. The information can help them understand to whom they are granting access.<br /><br />
 +
## '''Logo''' - Optional. This is the logo that users will see when asked to grant access to your application. The image can be a JPG, GIF, or PNG. For best results, upload a square image. It will be resized for the authorization page.<br /><br />
 +
## '''Unique Identifier''' - The field is auto-populated with a reformatted version of the name you entered for your app. You can change it if desired.<br /><br />
 +
## '''Redirect URLs''' - ​Set "https://<yourcluster.yourdomain.com>/redirect".<br /><br />
  
 +
=== Step 2: Save the new token ===
 +
==== If using API token as the authorization type ====
 +
# From the '''Active API tokens''' list, select the new token and copy it to the clipboard.<br /><br />
 +
# Click '''Save'''.
  
[[File:zendesk-integration-guide-image12.png|thumb|800px|center]]
+
==== If using OAuth access token as the authorization type ====
 +
# Click '''Save'''.<br /><br />
 +
# After the page refreshes, a new pre-populated Secret field will appear on the lower side. This is the "client_secret" value.<br /><br />
 +
# Copy the Secret value to your clipboard.<br /><br />
 +
# Click '''Save'''.<br /><br />
  
 +
=== Step 3: In Bright Pattern Contact Center, set up access to the integrated Zendesk account ===
 +
# In the Contact Center Administrator application, go to ''[[contact-center-administrator-guide/IntegrationAccounts|Call Center Configuration &gt; Integration Accounts]]''.<br /><br />
 +
# Open the earlier created Zendesk account.<br /><br />
 +
# If using API token as the authorization type:<br /><br />
 +
## Paste the clipboard content to the '''API token''' field.<br /><br />
 +
## Select the '''Default account''' checkbox.<br /><br />
 +
## In the '''Username''' field, specify username of the Zendesk account on whose behalf requests for Zendesk data from Bright Pattern scenarios will be made. Make sure this account has sufficient privileges to access all data that may be used in the Bright Pattern Contact Center IVR and routing applications.<br /><br />
 +
# If using OAuth access token as the authorization type:<br /><br />
 +
## Select authorization type '''OAuth access token'''.<br /><br />
 +
## Click the '''Request token''' button and fill all required fields:<br /><br />
 +
### '''Client ID''' - The unique identifier<br /><br />
 +
### '''Client secret''' - The secret that was copied during initial setup<br /><br />
 +
### '''Username/Password''' - Your credentials from the Zendesk account<br /><br />
 +
## Note that if the OAuth access token is specified, it shall be used for authentication of requests made by any Zendesk scenario block using this corresponding integration account (i.e., it is added as header "Authorization: Bearer {access_token}").<br /><br />
 +
## Click '''OK'''.<br /><br />
 +
# Click '''Apply'''.<br /><br />[[File:Zendesk-Integration-Account-5399.png|thumb|800px|center]]<br /><br />
  
'''Step 2: Save the new token.'''
+
=== Step 4: Confirm your connection to Zendesk data ===
* From the '''Active API tokens''' list, select the new token and copy it to the clipboard.
 
* Click '''Save'''.
 
 
 
 
 
'''Step 3: In the Bright Pattern Contact Center, set up access to the integrated Zendesk account.'''
 
* In the Bright Pattern Contact Center Administrator application, go to ''[[contact-center-administrator-guide/IntegrationAccounts|Call Center Configuration &gt; Integration Accounts]]''.
 
* Open the earlier created Zendesk account.
 
* Paste the clipboard content to the '''API token''' field.
 
* Select the '''Default account''' checkbox.
 
* In the '''Username''' field, specify username of the Zendesk account on whose behalf requests for Zendesk data from Bright Pattern scenarios will be made. Make sure this account has sufficient privileges to access all data that may be used in the Bright Pattern Contact Center IVR and routing applications.
 
* Click '''Apply'''.
 
 
 
 
 
[[File:zendesk-integration-guide-image13.png|thumb|800px|center]]
 
 
 
 
 
 
 
'''Step 4: Confirm your connection to Zendesk data.'''
 
 
 
 
Click the '''Test connection''' button. You should receive confirmation that the connection between the Bright Pattern Contact Center platform and Zendesk data repository is valid.
 
Click the '''Test connection''' button. You should receive confirmation that the connection between the Bright Pattern Contact Center platform and Zendesk data repository is valid.
  
 
+
=== Step 5: Use scenario blocks to access Zendesk data ===
'''Step 5: Use scenario blocks to access Zendesk data.'''
 
 
 
 
To access Zendesk data and enable screen-pop, use the following blocks of the Bright Pattern Contact Center Scenario Builder application:
 
To access Zendesk data and enable screen-pop, use the following blocks of the Bright Pattern Contact Center Scenario Builder application:
  
 
* [[scenario-builder-reference-guide/ZendeskSearch|Zendesk Search]] to obtain Zendesk data
 
* [[scenario-builder-reference-guide/ZendeskSearch|Zendesk Search]] to obtain Zendesk data
 +
 
* [[scenario-builder-reference-guide/ZendeskCreateObject|Zendesk Create Object]] to create new tickets and users in Zendesk
 
* [[scenario-builder-reference-guide/ZendeskCreateObject|Zendesk Create Object]] to create new tickets and users in Zendesk
 +
 
* [[scenario-builder-reference-guide/ZendeskUpdate|Zendesk Update Object]] to update existing Zendesk tickets and users
 
* [[scenario-builder-reference-guide/ZendeskUpdate|Zendesk Update Object]] to update existing Zendesk tickets and users
 +
 
* [[scenario-builder-reference-guide/ZendeskScreenPop|Zendesk Screen Pop]] to synchronize delivery of calls and related Zendesk records to the agents
 
* [[scenario-builder-reference-guide/ZendeskScreenPop|Zendesk Screen Pop]] to synchronize delivery of calls and related Zendesk records to the agents
 +
 
* [[scenario-builder-reference-guide/AttachedData|Attached Data]] to populate custom fields in Zendesk activity history
 
* [[scenario-builder-reference-guide/AttachedData|Attached Data]] to populate custom fields in Zendesk activity history
  
  
This ''Zendesk Integration Guide'' contains a [[zendesk-integration-guide/ZendeskIntegrationScenarioBlocks|scenario example]] that illustrates how the Search and Screen Pop blocks can be used to obtain Zendesk data and display it to the agent upon interaction delivery.
+
The ''Zendesk Integration Guide'' contains a [[zendesk-integration-guide/ZendeskIntegrationScenarioBlocks|scenario example]] that illustrates how the Search and Screen Pop blocks can be used to obtain Zendesk data and display it to the agent upon interaction delivery.
  
Note that you can create multiple Zendesk integration accounts for access to different Zendesk systems. If you have multiple integration accounts, use scenario block [[scenario-builder-reference-guide/ZendeskSelectAccount|Zendesk Select Account]] to specify the integration account that will be used by Zendesk blocks in the given scenario. If this block is not used, all Zendesk blocks in the given scenario will use access data from the integration account marked as '''Default account'''. (See '''Step 3'''.)
+
Note that you can create multiple Zendesk integration accounts for access to different Zendesk systems. If you have multiple integration accounts, use scenario block [[scenario-builder-reference-guide/ZendeskSelectAccount|Zendesk Select Account]] to specify the integration account that will be used by Zendesk blocks in the given scenario. If this block is not used, all Zendesk blocks in the given scenario will use access data from the integration account marked as '''Default account'''. (See Step 3 of this procedure.)
  
  
  
 
</translate>
 
</translate>

Latest revision as of 23:16, 11 January 2021

• 5.19 • 5.2 • 5.3 • 5.8

Accessing Zendesk Data from Scenarios

If you do not wish to configure your Bright Pattern Contact Center for Single Sign-On with Zendesk, you can access Zendesk data directly from Bright Pattern scenarios instead. The instructions that follow will walk you through the process.

Perform the following preliminary steps only if you skipped the Single Sign-On configuration process; otherwise, proceed directly to Step 1 of this procedure.

  1. Open the Bright Pattern Contact Center Administrator application.

  2. Go to Call Center Configuration > Integration Accounts.

  3. Click Add account, select Zendesk, and click OK.

  4. Create a Name for this integration account.

  5. Copy your Zendesk domain URL and paste it to the URL field.

  6. Click Apply to save your changes.

Procedure

Step 1: Manage settings for your Zendesk API

If using API token as the authorization type

  1. In Zendesk, go to Admin > Channels > API.

  2. Make sure Token Access is enabled (i.e., checkbox selected).

  3. Click the add new token link.

  4. Enter a label for this new token and click Create. The new token will appear in the Active API tokens list.

    Zendesk-integration-guide-image12.png


If using OAuth access token as the authorization type

  1. In Zendesk, go to Admin > Channels > API > OAuth Clients, and then click Add OAuth Client on the right side of the client list.

  2. Complete the following fields to create a client:

    1. Client Name - Enter a name for your app. This is the name that users will see when asked to grant access to your application and when they check the list of third-party apps that have access to their Zendesk.

    2. Description - Optional. This is a short description of your app that users will see when asked to grant access to it.

    3. Company - Optional. This is the company name that users will see when asked to grant access to your application. The information can help them understand to whom they are granting access.

    4. Logo - Optional. This is the logo that users will see when asked to grant access to your application. The image can be a JPG, GIF, or PNG. For best results, upload a square image. It will be resized for the authorization page.

    5. Unique Identifier - The field is auto-populated with a reformatted version of the name you entered for your app. You can change it if desired.

    6. Redirect URLs - ​Set "https://<yourcluster.yourdomain.com>/redirect".

Step 2: Save the new token

If using API token as the authorization type

  1. From the Active API tokens list, select the new token and copy it to the clipboard.

  2. Click Save.

If using OAuth access token as the authorization type

  1. Click Save.

  2. After the page refreshes, a new pre-populated Secret field will appear on the lower side. This is the "client_secret" value.

  3. Copy the Secret value to your clipboard.

  4. Click Save.

Step 3: In Bright Pattern Contact Center, set up access to the integrated Zendesk account

  1. In the Contact Center Administrator application, go to Call Center Configuration > Integration Accounts.

  2. Open the earlier created Zendesk account.

  3. If using API token as the authorization type:

    1. Paste the clipboard content to the API token field.

    2. Select the Default account checkbox.

    3. In the Username field, specify username of the Zendesk account on whose behalf requests for Zendesk data from Bright Pattern scenarios will be made. Make sure this account has sufficient privileges to access all data that may be used in the Bright Pattern Contact Center IVR and routing applications.

  4. If using OAuth access token as the authorization type:

    1. Select authorization type OAuth access token.

    2. Click the Request token button and fill all required fields:

      1. Client ID - The unique identifier

      2. Client secret - The secret that was copied during initial setup

      3. Username/Password - Your credentials from the Zendesk account

    3. Note that if the OAuth access token is specified, it shall be used for authentication of requests made by any Zendesk scenario block using this corresponding integration account (i.e., it is added as header "Authorization: Bearer {access_token}").

    4. Click OK.

  5. Click Apply.

    Zendesk-Integration-Account-5399.png


Step 4: Confirm your connection to Zendesk data

Click the Test connection button. You should receive confirmation that the connection between the Bright Pattern Contact Center platform and Zendesk data repository is valid.

Step 5: Use scenario blocks to access Zendesk data

To access Zendesk data and enable screen-pop, use the following blocks of the Bright Pattern Contact Center Scenario Builder application:

  • Zendesk Screen Pop to synchronize delivery of calls and related Zendesk records to the agents
  • Attached Data to populate custom fields in Zendesk activity history


The Zendesk Integration Guide contains a scenario example that illustrates how the Search and Screen Pop blocks can be used to obtain Zendesk data and display it to the agent upon interaction delivery.

Note that you can create multiple Zendesk integration accounts for access to different Zendesk systems. If you have multiple integration accounts, use scenario block Zendesk Select Account to specify the integration account that will be used by Zendesk blocks in the given scenario. If this block is not used, all Zendesk blocks in the given scenario will use access data from the integration account marked as Default account. (See Step 3 of this procedure.)


< Previous | Next >