QuvanticBook free audit

ZapierChecked blueprint5 nodes

Set Zendesk priority and tags from the ticket text

Read each new Zendesk ticket, set its priority and queue tag, and page Slack only when the result is urgent.

Portfolio reference build with demo data and placeholder credentials, not a client deployment.

Pain

Tickets stop sitting in a shared inbox or bouncing between billing, tech, and ops.

Solution

Read each new Zendesk ticket, set its priority and queue tag, and page Slack only when the result is urgent.

Impact · From the blueprint

Urgent tickets reach a person within the polling interval instead of whenever the queue is next read; about 1 minute of triage saved per ticket.

Library status: passing. Schema, field mapping, task count, and Code-step unit tests pass. Not built in a live Zapier account.

Set Zendesk priority and tags from the ticket text step list
Step list

Step inspector

The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.

Guardrails

  • Filter by Zapier · Only continue if...

Credential ids in the JSON are placeholders. These files are portfolio demos.

Deploy this for your business

Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.

README

Portfolio demo by Mustafa (mustafaautomation). Not client work. The people, companies, and numbers in it are made up. Rebuild it in your own Zapier account. Nothing here is connected to anyone's account.

Category: Support
Difficulty: intermediate
Apps: Zendesk, Code by Zapier, Filter by Zapier, Slack
Zapier plan: Professional (multi-step Zap: 4 steps after the trigger; Filter by Zapier)
Tasks per run: 2 typical, 3 at most
Test status: passing (schema, mapping scope, task count, Code step unit tests)

Problem

Customers almost never set ticket priority, so every Zendesk ticket arrives as Normal. An outage report waits behind password resets until someone happens to open it.

Who it's for

Support teams on Zendesk without an advanced triage add-on who want urgent tickets surfaced in minutes.

How the Zap runs

flowchart TD
  s1["1. Zendesk: New Ticket<br/>New ticket"]
  s2["2. Code by Zapier<br/>Read queue and priority from the text"]
  s1 --> s2
  s3["3. Zendesk<br/>Write priority and tags back"]
  s2 --> s3
  s4{{"4. Filter by Zapier<br/>Only urgent tickets"}}
  s3 --> s4
  s5["5. Slack<br/>Page the support channel"]
  s4 -->|"passes"| s5

Build it in the Zapier editor

Zapier has no import file for a Zap like this one, so it is built by hand from the steps below. zap.json is the same Zap in a machine-readable form (schema), and zap.yaml is the same document in YAML.

A value like [2. vendor] means: click the field, open step 2 in the data picker, and choose vendor. Plain text is typed as shown. YOUR_... is a value from your own account.

Steps

1. Trigger: New ticket

App: Zendesk · Event: New Ticket · polling (Zapier checks on your plan's update interval) · Tasks: 0

Picks up tickets from every channel (email, web form, widget) once they exist in Zendesk.

FieldValue
ViewAll unsolved tickets

Fields this library maps from the trigger: id, subject, description, requester_email, requester_name, priority, tags, organization_name, url, created_at. Zapier shows them with its own labels; pick the one with the same meaning.

2. Action: Read queue and priority from the text

App: Code by Zapier · Event: Run JavaScript · Tasks: 1

Same rules as the Gmail routing template, using the Zendesk ticket id for the agent hash.

Paste the whole of code/assign-ticket.js into the code box. Source: content/code/assign-ticket.cjs. Unit tests: content/code/assign-ticket.test.cjs.

Input Data keyValue
subject[1. subject]
body[1. description]
from_email[1. requester_email]
vip_domainsglobex.example, initech.example
agentsAyesha Khan, Bilal Raza, Chen Wei
ticket_id[1. id]

Returns: queue, priority, assignee, matched_keyword, is_vip.

3. Action: Write priority and tags back

App: Zendesk · Event: Update Ticket · Tasks: 1

Adds the queue as a tag (views and triggers in Zendesk can use it) and sets the priority field.

FieldValue
Ticket[1. id]
Priority[2. priority]
Tagsqueue_[2. queue], auto_triaged
Internal NoteAuto-triage: [2. queue] / [2. priority] (matched "[2. matched_keyword]"). Suggested owner: [2. assignee].

Later steps can map: id, priority.

4. Filter: Only urgent tickets

App: Filter by Zapier · Event: Only continue if... · Tasks: 0

Most tickets stop here once they are tagged.

Only continue if: [2. priority] (Text) Exactly matches urgent.

Most runs stop here, which is the point: the steps below are the exception path.

5. Action: Page the support channel

App: Slack · Event: Send Channel Message · Tasks: 1

Urgent means someone should read it now.

FieldValue
Channel#support-urgent
Message Text:rotating_light: Urgent [2. queue] ticket from [1. requester_name] ([1. organization_name]): "[1. subject]" [1. url]
Send as a bot?Yes
Bot NameZap alerts
Include a link to this Zap?No

Later steps can map: ts, permalink.

Test it

Use sample-trigger.json as the test record. For an instant or webhook trigger, send it to the trigger once; for a polling trigger, create a matching record in the app and click Test trigger. Then test each step in order and read its output before you turn the Zap on.

{
  "id": "48214",
  "subject": "Nobody can log in after the update",
  "description": "Since the release this morning none of our 40 users can access the dashboard. We get a 500 error. This is urgent.",
  "requester_email": "it@initech.example",
  "requester_name": "Lena Fischer",
  "priority": "normal",
  "tags": "web_widget",
  "organization_name": "Initech",
  "url": "https://YOUR_SUBDOMAIN.zendesk.com/agent/tickets/48214",
  "created_at": "2026-11-25T08:12:44Z"
}

Plan and task usage

StepAppTasks
1. New ticketZendesk0
2. Read queue and priority from the textCode by Zapier1
3. Write priority and tags backZendesk1
4. Only urgent ticketsFilter by Zapier0
5. Page the support channelSlack1

A typical run uses 2 tasks; the upper bound is 3, when every filter passes and the costliest paths run. Zapier does not charge tasks for triggers, Filter, Paths, Formatter, Delay, Looping, Digest, Storage, or Zapier Tables steps. AI by Zapier is counted here as 1 task; Zapier prices it by model tier, so a larger model can cost more.

Minimum plan: Professional, because of: multi-step Zap: 4 steps after the trigger; Filter by Zapier. The Free plan only runs two-step Zaps (a trigger and one action) and leaves out Filters, Paths, Formatter, webhooks, AI by Zapier, and premium apps.

Customize

  • Map [2. assignee] into the Assignee field once agent names in the agents list match your Zendesk agents exactly.
  • Change the Slack filter to also pass high if your team is small enough to look at those immediately.

Limits

  • Zendesk's own triggers run first. If one already sets priority, this Zap overwrites it; check your trigger order.

Time saved

Urgent tickets reach a person within the polling interval instead of whenever the queue is next read; about 1 minute of triage saved per ticket.

Files

FileWhat it is
zap.jsonThe Zap, step by step, in schema 1.0.0.
zap.yamlThe same document in YAML.
sample-trigger.jsonFictional trigger record for the first test.
diagram.pngThe step list, drawn like the Zapier editor.
code/assign-ticket.jsPaste-ready Code by Zapier step.