You'll get visibility of your Zendesk users as data from Zendesk is automatically transformed into consumable information and actionable insights.
Connect Oomnitza and Zendesk in minutes
Get the information and insights that you need to reduce costs and the time that you spend on administration tasks such as:
- Configurable dashboards and list views of key user information
- Configurable reports to share information about users with your colleagues and management
- Configurable workflows for adding and deleting users
Navigation
Setting your Zendesk Subdomain as a global variable
Creating user workflows with the API block
Zendesk Add Comment and Status to Ticket preset
Zendesk Add Comment to Ticket preset
Zendesk Get User Organization Preset
Before you start
Best practice
For the integration with Oomnitza, create a dedicated user account.
Zendesk supports two types of authentication for its API: Basic and OAuth. You should select the one that meets your security requirements.
If you opt to use Basic Authentication, you are required to do the following in Zendesk:
- Enable API token access.
- Generate an API token
For further information, refer to Zendesk: Generating a new API token
Note: Zendesk's API Token based authentication is unusual in that it uses an API Token to authenticate, but is set up as if it were Basic Auth. This is because the credentials need to be base64 encoded before being sent to Zendesk.
To set up your authentication of choice in Oomnitza see Adding the credentials.
Setting your Zendesk Subdomain as a global variable
To save time when you create workflows, set your subdomain as a global variable:
- From the menu, click Settings.
- Click Global Settings.
- Click Add new variable (+).
- Add the Zendesk.Subdomain variable and its value. The value is the name of your Zendesk subdomain. If your Zendesk URL is
https://mycompany.zendesk.com
your subdomain would be:mycompany.
- Save your changes.
Adding the credentials
To use Basic Authentication in Oomnitza, complete the following steps:
- Log into Oomnitza.
- Click Settings > Credentials, and then click Add new credential (+).
- Add the information details.
- In the Authorization tab, select Basic Auth as the Authorization type.
- Enter your Username. The Username should be your Zendesk username connected to an API Token with a "/". It will look like this:
username@address.com/token
. - In the Password field, enter your API Key.
- Click Create.
To use OAuth authentication in Oomnitza, complete the following steps:
- Log into Oomnitza.
- Click Settings > Credentials, and then click Add new credential (+).
- Add the information details.
- Click the AUTHORIZATION tab.
- As authorization type select OAuth 2.0.
- From the SaaS list, select Zendesk.Zendesk OAuth 2.0.
- Enter your Zendesk subdomain. If your Zendesk URL is
https://mycompany.zendesk.com
your subdomain would be:mycompany.
- Enter the Client ID generated during OAuth2 setup.
- Enter the Client Secret generated during OAuth2 setup.
- Enter the Scope of your integration. For information on scopes refer to Zendesk: Scope. Some commonly used scopes include:
- "users : read" - for loading the list of users
- "read" - for SaaS user role integration
- "read write" - for the various API presets
- Authenticate the connection.
- Click CREATE.
You use the credentials that you added to create and customize your Zendesk integrations with Oomnitza.
Creating the user integration
Info and connect details
- From the menu, click Settings.
- Click Integrations List View
.
- On the Integrations page, scroll down to the Extended section for User Integrations.
- Click NEW INTEGRATION.
- In the New User Integration sidebar, click Zendesk.
- Depending on your authentication preference, click APPLY next to the Zendesk OAuth User or Basic User Load, and then click NEXT twice.
Connect page
Best practice
To ensure that only live user records are streamed to Oomnitza, choose Update only as your integration preference. When you run the integration, you can check the error logs to see which user records weren't uploaded and why they weren't uploaded. You can then decide whether to upload the user records that were skipped by changing your integration preference to create and upload. See Access error logs.
On the connect page, complete the following steps to connect the integration:
- Enter a descriptive name for the integration such as Zendesk User Load. This name will be displayed on the Integrations page once the setup is complete.
- From the User Selection list, select User plus SaaS User.
- From the Installation type list, select Cloud.
- From the Credentials list, select your credentials.
- From the Integration Preferences list, select Update only.
- Enter the name of the user of the integration.
- Enter your Zendesk subdomain. If your Zendesk URL is
https://mycompany.zendesk.com
your subdomain would be:mycompany.
- Specify which roles to load. Possible values are "end-user", "agent", or "admin". For further information refer to Zendesk: Users.
- Click Next.
Creating custom mappings
Map the Zendesk fields to Oomnitza fields and create custom mappings to get the user information that you need.
Complete these actions:
- You have the option to create custom mappings to map any other field that you want to add to Oomnitza. To create an optional custom mapping, do the following:
- Click the down arrow on the field that you want to map.
- Select Add new Oomnitza users field.
- Change the name of the field.
- Click CREATE.
- Assign a sync key to the Email field.
- Click NEXT.
Note: For all user loads, it is recommended that you map role information to an employee role in Oomnitza. Users need to have an employee role defined in order to access Oomnitza. If the role information is not available from the user load, it is recommended that you select Employee from the Oomnitza Role dropdown list. You have the option to overwrite this at a later point should the role information become available.
Standard Zendesk to Oomnitza mappings
The following Zendesk fields can be mapped to Oomnitza:
Active
Alias
Chat Only
Created At
Default Group ID
Details
Email
External ID
IANA Time Zone
ID
Last Login At
Locale
Moderator
Name
Notes
Only Private Comments
Organization ID
Phone
Report CSV
Restricted Agent
Role
Role Type
Shared
Shared Agent
Shared Phone Number
Suspended
Ticket Restriction
Time Zone
Two-Factor Auth Enabled
Updated At
Want to map more fields to Oomnitza?
Contact Support, or see Mapping extended connectors.
When you've completed mapping the Zendesk to Oomnitza fields, click NEXT.
Schedule
By default, user data is streamed to Oomnitza once every day.
You can configure the schedule to meet your needs such as changing the interval or changing the time so that the data is streamed when your system isn't busy.
- Configure your schedule.
- Click FINISH.
Result
A new tile is created for the integration on the Integrations page.
What to do next
If you want to see the information that is collected now, click the tile on the Integrations page and click RUN NOW.
If you want to change the integration settings, you can click a navigation link on the page, such as 4 Mappings, and edit the settings.
Tip
To view the information that is collected about your mobile assets, click Assets.
Creating workflows
Creating user workflows with the API block
To reduce your workload and automate complex and repetitive tasks, you can create user workflows with the API block by following the steps in Creating user workflows with the API block. When creating the user workflows with the API block for Zendesk, the following specific configuration is required:
- To locate the available presets, enter Zendesk in the Select Preset search field.
The Zendesk API block workflow comes with the following available presets:
- Zendesk Add Comment and Status to Ticket Preset
- Zendesk Add Comment to Ticket Preset
- Zendesk Create Ticket Preset
- Zendesk Create User Preset
- Zendesk Delete User Preset
- Zendesk Get User Organization Preset
- Zendesk Suspend User Preset
- Zendesk Update Ticket Preset
Using the Zendesk Add Comment and Status to Ticket preset
The Zendesk Create Ticket preset allows you to add a comment and change the status of an existing Zendesk ticket. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- The Description, or comment you wish to add to the ticket.
- The new Status you want to add to the ticket.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- The ticket id is assumed to be stored within a workflow variable called ticket id (Data type= Short text). If you want to use a different value, go to Advanced Mode > Information and replace the variable {{WFVariables.ticket_id}} in the URL field with the ticket id. For further information on workflow variables refer to Creating a Workflow variable.
Using the Zendesk Add Comment to Ticket preset
The Zendesk Add Comment to Ticket preset allows you to add a comment to an existing Zendesk ticket. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- The Description, or comment you wish to add to the ticket.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- The ticket id is assumed to be stored within a workflow variable called ticket id (Data type= Short text). If you want to use a different value, go to Advanced Mode > Information and replace the variable {{WFVariables.ticket_id}} in the URL field with the ticket id. For further information on workflow variables refer to Creating a Workflow variable.
Using the Zendesk Create Ticket preset
The Zendesk Create Ticket preset allows you to create a ticket within Zendesk. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- The Subject of the ticket.
- The Description, or comment you wish to add to the ticket.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- Select the Body tab. Verify which fields you want to send to Zendesk for ticket creation in the Body field.
For further information see Zendesk - Create ticket.
Using the Zendesk Create User preset
The Zendesk Create User preset allows you to create a new user in Zendesk. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- Select the Body tab. Verify which fields you want to send to Zendesk for user creation in the Body field.
For further information see Zendesk - Create User.
Using the Zendesk Delete User preset
The Zendesk Delete User preset allows you to delete/deactivate a user from Zendesk. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- Select the Information tab.
- The URL field will need to be updated with the {{user_external_id}} of the user you wish to delete.
Scenario
Two SaaS user records were added to Oomnitza. Subsequently, the two user records are merged into one user record in Zendesk.
User action
After the records were merged, the workflow is run to deactivate the user record.
Result
Neither of the two SaaS user records can be deactivated.
For further information see Zendesk - Delete User.
Using the Zendesk Get User Organization preset
The Zendesk Get User Organization preset allows you to get a user from Zendesk using the organization id. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- The OrganizationId associated with the user.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
For further information see Zendesk - Users.
Using the Zendesk Suspend User preset
The Zendesk Suspend User preset allows you to suspend a user within Zendesk and could be used within a user off-boarding workflow. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- Select the Information tab.
- The URL field will need to be updated with the {{user_id}} of the user you wish to suspend.
For further information see Zendesk - Suspending a User.
Using the Zendesk Update Ticket preset
The Zendesk Update Ticket preset allows you to update a Zendesk ticket. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- The Description, or comment you wish to add to the ticket.
- The Status you want to update in the ticket.
- The Type you want to update in the ticket.
- The Priority you want to update in the ticket.
- The Additional Tag you want to update in the ticket.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
- Click the Advanced Mode button located in the upper right of the window.
- You can switch from Basic Auth to OAuth and vice versa by selecting the Authorization tab and changing the Type. For further information refer to Adding the credentials.
- The ticket id is assumed to be stored within a workflow variable called ticket id (Data type= Short text). If you want to use a different value, go to Advanced Mode > Information and replace the variable {{WFVariables.ticket_id}} in the URL field with the ticket id. For further information on workflow variables refer to Creating a Workflow variable.
For further information see Zendesk - Update Ticket.
Creating Saas user workflows
You can create the SaaS User workflow by following the steps in Creating Saas user workflows. When creating the SaaS User workflow for Zendesk, the following specific configuration is required:
- To locate the available preset, enter Zendesk in the Select Preset search field.
- The Zendesk SaaS User workflow block comes with one available preset, the Zendesk User Role API.
Using the Zendesk User Role preset
The Zendesk User Role preset enables you to read a user’s role and last login date from Zendesk. The preset is available in OAuth and Basic Authentication. When you select this preset, enter the following details in the Configure section:
- Your Zendesk Credentials that you created in Update credentials.
- Your Subdomain is derived from the global variable Zendesk.Subdomain that you configured in Setting your Zendesk Subdomain as a global variable, or can be entered manually.
For further information on workflows see: Understanding workflows
Workflow block overview
Unleash the power of Oomnitza
To get valuable actionable insights that help you manage your assets, learn how to:
- Configure dashboards for your users and software
- Configure custom reports about your users and software
- Create workflows to automate tasks
See Getting started for more information.
Comments
0 comments
Please sign in to leave a comment.