Every 10 minutes
Tag new tickets by topic
Every new ticket gets a topic tag within minutes, so views and reports sort themselves.
- Runs
- Every 10 minutes
- Apps
- Zendesk
- AI
- Yes, uses the built-in AI allowance
- Access
- read+write
Send this to your assistant
Create a ClickRuntime automation: every 10 minutes, read new Zendesk tickets and tag each one as billing, bug, shipping or other.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
An online store's support inbox receives refund requests, shipping questions, login problems and the occasional compliment, all under the same Zendesk view. Agents tag tickets by hand if they remember, so reports on what customers write about are unreliable and triggers that depend on tags never fire. Someone eventually exports a month of tickets and finds that half carry no tag at all.
Every ten minutes, new tickets are fetched and the built-in AI reads each subject and description, then picks fitting topic tags such as refund, shipping_delay or password_reset. Those tags are added to the ticket in Zendesk, so views, triggers and reports can use them straight away. No OpenAI or Anthropic key is needed.
Teams that route by topic, or want to measure contact reasons, benefit most.
What you get out of it
Reports reflect what customers say
With every ticket tagged, a chart of contact reasons becomes trustworthy. You can show that shipping delays doubled this month with numbers instead of an agent's recollection. Trusting the data takes only a few weeks of consistent tags.
Routing rules finally have input
Zendesk triggers and views that rely on tags work only when tags exist. Automatic tagging lets billing questions reach the billing group without anyone sorting the queue. That frees agents from sorting tasks.
Agents spend time answering
Reading a ticket just to label it is a cost repeated hundreds of times a month. Removing that step returns minutes per ticket to the people writing replies. Time saved adds up quickly.
Consistent labels across the team
One agent writes refund, another writes refunds, a third writes money_back. Choosing from one set of tags removes spelling variants that break filters and make counts misleading. Consistent tags also help new agents learn your product vocabulary.
Quick spotting of new problem areas
When tickets about a new topic appear in a tag count the same day, you learn about a broken checkout or a confusing release sooner than from a weekly review.
Searching old tickets works
Agents hunting for how a similar case was handled can filter by tag and find the answer in seconds, instead of guessing at keywords. New agents who read tags on every ticket also learn how your team classifies requests, which shortens the time it takes to get up to speed.
How it works
What happens, step by step
Every 10 minutes, ClickRuntime picks up the Zendesk tickets created since its last check.
AI reads each ticket and chooses tags from your topic list, such as shipping or billing.
The tags are added to the ticket, so your views and triggers can route it straight away. Tickets already tagged are not touched again.
Before it runs live
- Connect Zendesk
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Zendesk steps into one automation
Under the hood
The code that runs this automation
import time
from clickruntime import on_trigger, http, credentials, ai, state, report_fetched
ZD = "https://yourcompany.zendesk.com/api/v2"
AGENT_EMAIL = "you@yourcompany.com"
def zd(method, path, **kw):
r = http.request(method, f"{ZD}{path}", auth=(f"{AGENT_EMAIL}/token", credentials.secret("ZENDESK_API_TOKEN")), **kw)
r.raise_for_status()
return r.json() if r.content else None
@on_trigger
def run(event):
params = {"cursor": state.get("cursor")} if state.get("cursor") else {"start_time": int(time.time()) - 600}
page = zd("GET", "/incremental/tickets/cursor.json", params=params)
new = [t for t in page["tickets"] if t["status"] == "new"]
report_fetched(len(new))
if not new:
state.set("cursor", page["after_cursor"])
return {"tagged": 0}
for t in new:
label = ai.generate(f"{t['subject']}\n{(t['description'] or '')[:1500]}",
system="Reply with one word: billing, bug, shipping or other.", max_output_tokens=5).text.strip().lower()
if label not in ("billing", "bug", "shipping"):
label = "other"
zd("PUT", f"/tickets/{t['id']}/tags", json={"tags": [label]})
state.set("cursor", page["after_cursor"])
return {"tagged": len(new)}FAQ
Common questions
Can I limit tags to a list I define?
Does it overwrite tags that agents already added?
Will it tag a ticket twice if it is updated?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Summarise long tickets in an internal note
When a ticket thread gets long, agents get a short internal summary instead of reading every comment.
See how it worksGet an email when a ticket lands in your urgent view
New tickets in the view you care about reach your inbox within five minutes.
See how it worksGet warned before tickets breach their SLA
Your team hears about a ticket 30 minutes before it misses its first-reply target, not after.
See how it worksKeep exploring
Set up “Tag new tickets by topic” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.