Zendesk integration¶
The Zendesk channel turns alerts into tickets in your team's Zendesk. When an alert fires, the platform opens a ticket there, with subject, body, priority and tags built from the alert. When the alert recovers, the same ticket is solved on its own (or closed, or just commented, as you choose). If the alert comes back, the ticket is reopened.
Support keeps working where your team already works, and nobody has to copy alerts into tickets or remember to close the ticket after the problem is gone.
Like any channel, the Zendesk channel only acts when a notification rule points to it.
Before you start¶
You will need:
- In Zendesk: a user with the administrator role. This user creates the OAuth client, and the platform opens and updates tickets on their behalf (see Good practice: a user just for the integration).
- In the platform: Read and write permission on the Notifications module (in the users screen, under Module permissions), to create, test and change the channel and link it to rules. With the User role you create the channel for yourself; with the Admin role you can also create it for another user in the tenant, in Create for User. Users with Read access only see the channel but cannot create, test or change it. The Viewer role can only look, even with Read and write on the module.
- Your Zendesk subdomain: the name before
.zendesk.comin the address your team uses. Inhttps://exemplo.zendesk.com, the subdomain isexemplo.
The connection uses OAuth (identifier and secret of an OAuth client). This is the path Zendesk recommends and the only one available on new accounts: Zendesk no longer lets new accounts create API tokens. If your account is older and already uses an API token, see Older account with an API token.
Step 1: create the OAuth client in Zendesk¶
Do this step signed in to Zendesk as the administrator user that will represent the integration.
- Open Admin Center and go to Apps and integrations → APIs.
- If this is the first time the account uses the API (a new account), Zendesk first asks you to accept the terms, in APIs → API configuration: select the checkbox that accepts the Zendesk terms and agreements and click Get started.
- Open OAuth clients and click Add OAuth client.
- Fill in the form:
- Name: a name that identifies the integration, for example
SpecialOne Platform. - Description, Company and Logo: optional.
- Identifier: Zendesk fills it in from the name, and you can change it. Write this value down: it is the Client ID the platform asks for.
- Client kind: choose Confidential. A Public client does not work for system to system integration and the platform refuses the connection.
- Redirect URLs: the integration does not use redirects. If Zendesk requires a value, enter an
httpsaddress of your company. - Scopes: leave it empty (Zendesk allows all scopes) or select
readandwrite. The platform needs both. - Expire tokens: you can leave it as it is. The platform requests a new token on its own when the previous one expires.
- Name: a name that identifies the integration, for example
- Click Save. The Secret field shows up at the bottom of the page.
- Copy the whole Secret (the value may run past the edge of the box: select all of it before copying) and click Save again to finish.
The secret is shown only once
For security, Zendesk shows the full secret only right after the client is created. After that, only the first characters stay visible. If you lose the secret, generate a new one on the same OAuth client and update the channel in the platform.
Treat the secret like a password
Whoever has the identifier and the secret acts in Zendesk as the user who owns the OAuth client. Do not paste these values into tickets, e-mail or chat. In the platform, the secret is stored encrypted and never comes back to the screen: when you edit the channel, only the last characters are shown, so you can tell which one is saved.
Step 2: create the channel in the platform and test the connection¶

- Go to Notifications → Channels and click Add Channel.
- In Channel Name, use something that says where the ticket goes, for example
Zendesk Suporte N1. - In Channel Type, choose Zendesk.
- On the Configuration tab, fill in the three fields:
- Subdomain: only the name before
.zendesk.com. If you paste the full address, the screen keeps just the name. - Client ID: the Identifier from step 1.
- Client secret: the Secret from step 1.
- Subdomain: only the name before
-
Click Test connection.

When everything is right, the screen shows Connected as with the name of the user who owns the OAuth client and their Zendesk role. The test also loads from your Zendesk the lists used under Advanced: groups, ticket types, forms and custom fields.
If it fails, the sentence under the button says what to fix. The most common causes are in Common errors.
-
Leave Channel Active on and click Save Channel.
These three fields are enough: everything under Advanced has a working default. If you save without testing, the platform asks first, because a wrong secret would only show up when the first alert tried to open a ticket.
Send a test ticket
Once saved, open the channel again and use Send test ticket, at the bottom of the modal. The platform opens a test ticket in your Zendesk (tagged sp1-teste), solves it right after and shows the number with an Open in Zendesk link. It is the end to end proof before you hang a production rule on the channel.
Step 3: adjust the options (Advanced)¶
The Advanced section starts collapsed and only needs to be opened if you want to change a default. Its lists come from your Zendesk, so test the connection first.
| Option | What it does | Default |
|---|---|---|
| Priority by severity | Picks the Zendesk priority for each alert severity. | Critical → Urgent, High → High, Medium → Normal, Information → Low. |
| Group | Zendesk group that receives the ticket. | None (Zendesk routes the ticket with its own rules). |
| Ticket type | Incident, Problem, Question or Task. | Incident. |
| Form | Zendesk ticket form, when the account uses more than one. | None (the account default). |
| Requester | E-mail shown as the requester. If the e-mail is not a Zendesk user yet, Zendesk creates an end user named after the part before the @. |
The user who owns the OAuth client. |
| Fixed tags | Tags added to every ticket: lowercase letters, digits, - and _, no spaces. |
specialone. Every ticket also gets sp1-alerta. |
| Fixed fields (custom fields) | Values for custom fields of your Zendesk. A list field shows the Zendesk options to pick from; a text field accepts the alert variables. | None. |
| On recovery | What to do with the ticket when the alert recovers: Resolve the ticket, Close the ticket, Only add a comment or Do nothing. | Resolve the ticket. |
| Closing comment visible to the requester (public) | On, the closing comment is public. Off, it is an internal note that only agents see. | Off (internal note). |
| If the alert comes back | Reopen the ticket (or open a new one if it is already closed), Always open a new ticket or Ignore. | Reopen the ticket. |
| External identifier | Read only. Goes in the external_id field of the ticket, in the form sp1:<tenant>:<alert id>, so you can find the ticket in Zendesk by search. |
Built by the platform. |

Required field in Zendesk
If your Zendesk requires a custom field on every ticket, the connection test warns you: "The field ... is required in your Zendesk". Add the field under Fixed fields with a value, or tickets will fail.
Account with only two priorities
Some Zendesk accounts only have Normal and High. In that case the test warns you and the platform adjusts on its own: Urgent becomes High and Low becomes Normal.
Closing instead of solving¶

With Close the ticket, the platform closes the ticket directly when the alert recovers. If your Zendesk account refuses direct closing, the ticket is left solved with the tag sp1-close. Only in that case, create a trigger in Zendesk to close it right away:
- Conditions (all): Ticket > Tags > Contains at least one of the following >
sp1-close - Actions: Ticket > Status > Closed
The Copy trigger recipe button copies this text. Without the trigger, Zendesk closes the solved ticket by itself after the account period (4 days by default).
Solving is usually the better choice
A closed ticket in Zendesk can no longer be changed or reopened. With Resolve the ticket, if the alert comes back soon after, the platform reopens the same ticket and the history stays in one place.
Step 4: write the ticket subject and body¶

The Ticket tab of the modal defines the text. With Default ticket text, the platform uses this template:
- Subject:
[{{severity}}] {{alert}} em {{host}} - Body: alert, host and address, severity, start, client, description, last value, alert link and the full default message.
- Closing comment (on recovery):
Alerta normalizado em {{resolved_at}} (duração {{duration}}). {{link}}
The default template is written in Portuguese. Switch to Custom ticket text to edit the three texts, for example to write them in English. They start from the default, and the Start from the platform default button goes back to the original template at any time. Click a variable to insert it where the cursor is. The Preview (sample data) shows the assembled ticket, in the Problem and Resolved states; nothing is sent to Zendesk by the preview.
Available variables:
| Variable | What it brings |
|---|---|
{{host}} |
Host that raised the alert. |
{{alert}} |
Name of the alert that fired. |
{{severity}} |
Alert severity, already translated. |
{{severity_icon}} |
Colored symbol for the alert: a check mark once it is resolved, otherwise a circle in the color of the severity. |
{{status}} |
Whether the alert is open or already resolved. |
{{client}} |
Name of the client this rule belongs to. |
{{client_code}} |
Short client code (it comes from the rule that matched, not from the alert). |
{{tags}} |
Alert tags, as they arrive. |
{{alert_id}} |
Identifier of this alert occurrence. |
{{link}} |
Address that opens the alert in the platform. Only available for monitoring alerts. |
{{message}} |
The whole default message of the alert. |
{{sent_at}} |
When the platform processed the alert (not the time the problem started). |
{{description}} |
Text written in the alert itself, often with guidance on how to fix it. |
{{started_at}} |
Date and time the alert started. |
{{resolved_at}} |
Date and time the alert was resolved. Only has a value on a resolved alert. |
{{duration}} |
How long the problem lasted. Only has a value on a resolved alert. |
{{last_value}} |
Most recent value collected for what the alert watches. |
{{external_link}} |
Address written in the alert itself, when there is one. |
{{host_group}} |
Groups the host belongs to. |
{{host_ip}} |
Network address of the host. |
Some rules for the text:
- The subject holds up to 150 characters after the variables are filled in; anything longer is cut.
- A line where every variable came back empty is left out of the ticket. Without a host address, for example, the host line keeps only the name.
{{resolved_at}}and{{duration}}only have a value on recovery. Use them in the Closing comment; the other variables also work there.- An empty box falls back to the platform default.
Step 5: link the channel to a rule¶

Go to Notifications → Rules, create or edit a rule and, under Notification Channels, click Add Channel and pick the Zendesk channel. The rule criteria (severity, tags, hosts, alert names, sending schedule) decide which alerts become tickets. In the example in the image, the rule picks the alerts by the name pattern shown in the alerts field. See Rules for the details.
Start narrow
In the first week, link the channel to a rule with only the Critical and High severities of a known group of hosts. This way the Zendesk team gets used to the ticket format before receiving the whole volume.
The platform does not open duplicate tickets: while the alert's ticket is open, new firings of the same alert do not create another one.
Where to see the ticket¶

In Alerts, open the alert details. In the Notifications sent section, each step of the Zendesk channel shows up as a line, with the channel name, the rule and the time:
- Problem · Ticket #1001 · Opened: the ticket was opened. The number is a link that opens the ticket in Zendesk in a new tab.
- Ticket already open, nothing sent: the alert fired again while the ticket was still open, and nothing was duplicated.
- Alert normalized · Ticket #1001 · Resolved: the alert recovered and the ticket was solved (or closed, or commented, according to the On recovery option).
- Problem · Ticket #1001 · Reopened: the alert came back and the same ticket was reopened.
- Failed to open the ticket: in red, with the reason. See Common errors.
In the Channels list, the Configuration column shows the Zendesk address, the recovery action and a green dot when the last connection test passed.
Common errors¶
| What you see | Likely cause | What to do |
|---|---|---|
| Zendesk did not accept the OAuth client: check the client identifier and the secret. | Secret copied only in part, secret of another client or wrong identifier. | Check the Identifier in Zendesk. If you do not have the full secret, generate a new one on the OAuth client and paste it into the channel. |
| The OAuth client must be of the Confidential type. | The client was created as Public. | Create a new client with Client kind: Confidential. |
| The OAuth client did not grant the read and write scopes. | The client scopes do not include read and write. |
Edit the OAuth client in Zendesk and allow both scopes (or leave the field empty). |
| The credential works, but its Zendesk user is not an agent or administrator. | The owner of the OAuth client lost the agent or administrator role. | Give the role back to the user or create the client with an administrator user. |
| No Zendesk found at this subdomain. | Subdomain typed wrong. | Use only the name before .zendesk.com, exactly as in the address your team opens. |
| The field "..." is required in your Zendesk. | The account requires a custom field on every ticket. | Under Advanced → Fixed fields, add the field with a value. |
| The saved value of the field "..." is not one of its options in Zendesk. | The option was removed or renamed in Zendesk after the channel was saved. | Test the connection again and pick a value from the list in the fixed field. |
| Zendesk refused the ticket: ... | Zendesk validated the ticket and refused some value (the detail comes in the sentence). | Adjust the field named under Advanced or in the ticket text and use Send test ticket. |
| Zendesk asked us to wait N s. | The request limit of the Zendesk account was reached. | On alert deliveries, the platform honors the requested wait and retries on its own a few times; if it still fails, the line shows up in the alert trail. On the connection test, wait the seconds shown and test again. If it happens often, check whether other integrations are using up the account limit. |
| Zendesk did not answer. | Temporary instability in Zendesk. | Try again in a minute. |
| The ticket is already closed in Zendesk and cannot be changed. | Someone closed the ticket in Zendesk before the alert recovered. | Nothing to do on the channel. If the alert comes back, with the default If the alert comes back option, the platform opens a follow-up ticket linked to the previous one. |
Changed the subdomain or the identifier? Paste the secret again
The saved secret belongs to the subdomain and identifier it was saved with. When you change either of them, the screen asks for the secret again before testing or saving.
Older account with an API token¶
Older Zendesk accounts can still use agent e-mail + API token. In the channel, click Use an API token (older accounts) and fill in:
- Agent e-mail: e-mail of an agent or administrator user in Zendesk.
- API token: the token created in Admin Center → Apps and integrations → APIs → API tokens. Token access must be enabled on the account.
API tokens stop working on April 30, 2027
Zendesk is removing API tokens: they stop working on April 30, 2027, and new accounts can no longer create them. If your channel uses a token, switch to the OAuth client calmly, before that date: create the client (step 1), click Use an OAuth client (recommended) in the channel, fill in the fields, test and save. The Advanced options and the ticket text stay the same.
Good practice: a user just for the integration¶
The OAuth client token acts as the user who created the client. Everything the platform does in Zendesk (open, comment, solve, reopen) shows up in the ticket history under that user's name.
That is why you should create a Zendesk user dedicated to the integration, with the administrator role and a clear name, such as SpecialOne Integration, and create the OAuth client signed in as that user. This way:
- the ticket history shows the action came from the platform, not from a person on the team;
- the integration does not stop when someone leaves the company or changes role;
- you can audit and, if needed, revoke the integration's access without touching anyone's account.
Check in your Zendesk plan how this user is counted.
Next steps¶
-
Notification rules
Decide which alerts become tickets, at what time and for which channel.
-
Channels
Every channel type in the platform and how to manage them.
-
Alerts
The alert details, with the notification trail and the ticket link.