This article describes setting up a view of Zendesk tickets for your users in Salesforce. This feature queries Zendesk Support in real-time from the Account, Contact, Lead, and Opportunity pages and does not store any Zendesk data in Salesforce.
Before creating a ticket view in Salesforce, you will need to Set up your Zendesk for Salesforce integration.
This article includes the following topics:
- Enabling and configuring Ticket View for Salesforce
- Adding a Lightning component or Visualforce page to your Salesforce page
- Checking if Ticket View has successfully installed
- Resolving ticket view errors
Enabling and configuring Ticket View for Salesforce
The ticket view feature is a view of your Zendesk tickets in Salesforce. It is configured in your Admin Center.
To enable and configure Ticket View
- In your Zendesk Admin Center, select Integrations in the left navigation pane.
- Next to Salesforce, click Configure.
- If you installed the managed package when setting up your Zendesk to Salesforce connection, you can enable Ticket View. Continue to step 7.
- If you did not install the managed package during installation, click Install managed package. The package installs a Lightning component and Visualforce component in your Salesforce account that will be used for Ticket View. We recommend you select "Install for All Users". Users who are not granted access will not be able to view Zendesk tickets in Salesforce.
- Click Install.
- After installation of the package is complete, return to Admin Center and refresh the Ticket View page.
- Select the Enable Ticket View checkbox.
- In the Field Matching section, configure the matching criteria to filter which tickets are displayed in Salesforce.
The default criteria for how tickets are displayed on Salesforce pages are:
- Find account tickets by: Show tickets where the ticket requester's Zendesk organization name matches the Salesforce account name.
- Find contact tickets by: Show tickets where the requester email address matches the Salesforce contact email.
- Find opportunity tickets by: Show tickets where the ticket requester’s Zendesk organization name matches the Salesforce account name.
Find lead tickets by: Show tickets where the requester email address matches the Salesforce contact email.
You can also set the account-wide filtering and ticket sorting displayed in Salesforce. By default, all unclosed tickets, sorted by descending status are shown.
The field used for matching within Salesforce needs to be visible to Salesforce users looking at Ticket View. The minimum requirement is read-access only.
Each Salesforce user can set their personal default filtering and sorting by changing this in the Zendesk UI in Salesforce.
- After you’ve enabled and configured your Ticket View settings, click Save.
Adding a Lightning component or Visualforce page to your Salesforce page
After installing the managed package, you need to add the Lightning component or Visualforce page to your Salesforce Contact, Lead, or Opportunity pages to display Zendesk tickets. If you choose to add a Lightning component, you must have a Salesforce My Domain subdomain.
To add your Lightning component or Visualforce page to your Salesforce page
- In Salesforce, click on the App Launcher icon in the upper left, select View All, then click the link to an Accounts, Contacts, Leads, or Opportunities page.
- Select the Account, Contact, Lead, or Opportunity object.
- Navigate to edit page by clicking on the cog on the upper right, and select Edit Page.
- If you wish to use the Lightning component, find your Lightning component listed under "Custom" in the list of components on the left. Remember, this only works if you have My Domain enabled.
- Drag "Zendesk_Ticket_View" onto the page.
- If you wish to use the Visualforce page, find the Visualforce component listed under Standard on the left sidebar.
- Drag the Visualforce page onto the page layout and select the "Zendesk_Ticket_View_Account" on the right sidebar under the "Visualforce Page Name" menu. Repeat this step for the Contact, Lead and Opportunity pages.
- Click Save to update.
- Navigate to your Salesforce page, and a view of your Zendesk tickets appears, as shown in the example below.
Checking if Ticket View has successfully installed
The following procedure helps you check if Ticket View has successfully installed in Salesforce.
- Go to Salesforce > Setup > Deployment Status.
- Check the deployment time when you installed the package and see if the deployment was successful or failed. If deployment failed, Salesforce will provide you with detailed errors. Review the errors and resolve them. If you are unable to resolve them, contact Zendesk Support and provide a screenshot of the error.
- Check if the components were successfully created.
For the Lightning component, go to Salesforce > Setup > Lightning Components > Zendesk_Ticket_ViewFor the Visualforce page, go to Salesforce > Setup > Visualforce Pages > Zendesk_Ticket_View
- If steps 2 and 3 are successful, continue with setting up Ticket View.
Enabling profiles to view Ticket View
Profiles that require visibility of the Ticket View feature can be enabled in Visualforce pages.
To enable profiles to view Ticket View
- In Salesforce, go to Setup > Custom Code > Visualforce Pages.
- Next to the label which includes "Zendesk_Ticket_View_Contact", "Zendesk_Ticket_View_Lead", "Zendesk_Ticket_View_Opportunity", and "Zendesk_Ticket_View_Account", click Security under the Action column.
- Select Profiles from Available Profiles, add them to Enabled Profiles, then click Save,
Resolving ticket view errors
When you create or update the ticket view in Salesforce, any error messages you may see helps identify where the problem occurred. Use the following table to resolve errors in your ticket view configuration.
|Error message||Action required|
|Authentication between Salesforce and Zendesk is not complete. Please contact your administrator to complete setup in Zendesk Admin Center.||A Zendesk Admin can access the Admin Center and:
|Displaying Zendesk Tickets in Salesforce is not enabled. Please contact your administrator to enable this in Zendesk Admin Center.||A Zendesk Admin can access the Admin Center and:
|The connection between Salesforce and Zendesk was interrupted. Please contact your Administrator to re-authenticate in Zendesk Admin Center.||A Zendesk Admin can access the Admin Center and:
|The Zendesk user who setup the integration has changed or been removed. Please contact your Administrator to re-authenticate in Zendesk Admin Center.||A Zendesk Admin can access the Admin Center and: