The moment it happens
Turn contact form messages into Zendesk tickets
Messages from your contact form become tickets, without spam or a second ticket for the same question.
- Runs
- The moment it happens
- Apps
- Zendesk
- AI
- Not needed
- Access
- read+write
Send this to your assistant
Create a ClickRuntime automation: give me a link our contact form can send to. Skip obvious spam, skip it if the same email already has an open ticket with this subject, and otherwise create a Zendesk ticket.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A contact form, a shared inbox and a chat widget all push messages toward support. An impatient customer submits the same complaint three times in ten minutes, and a bot posts crypto offers into the same form. Each one becomes a ticket if you connect the sources directly, so agents spend the first part of every shift deleting junk and merging copies, and sometimes reply twice to the same person.
As each message arrives, it is checked against spam rules, such as blocked phrases or sender domains. Then Zendesk is searched for an open ticket from the same sender with matching content. Only a message that passes both checks creates a ticket; a repeat is skipped or added to the existing thread instead of making a new one.
Teams with public forms and busy shared mailboxes get cleaner queues.
What you get out of it
Agents see only genuine requests
Mornings begin with real customer questions instead of a cleanup chore. Offers for fake watches and crypto never reach the queue, so agents start on work that needs a person and reply faster to the customers who matter.
One customer, one ticket
A nervous customer who presses submit three times creates one conversation, not three. Replies stay in one thread, and nobody has to merge copies by hand or wonder which version another agent already answered.
Accurate volume numbers
A quarter of form traffic can be junk, and that noise makes demand look higher than it is. Filtering before creation keeps volume reports honest, which matters when you argue for a new hire.
No double replies embarrassing the team
When two agents answer two copies of the same message, the customer gets conflicting replies and loses confidence. One ticket per request removes that risk and keeps your answers consistent.
Spam rules you control
Blocked phrases and sender domains live in one list that grows as new spam patterns appear. You decide what counts as noise, and the run history shows what was filtered, so a wrongly blocked message can be found.
Less drain on agent attention
Deleting junk and merging copies is dull work that wears people down. A queue that arrives already clean lets agents spend their patience on customers, and it reduces the fatigue that leads to slower replies later in the day.
How it works
What happens, step by step
When someone sends a message through your contact form, ClickRuntime picks it up straight away.
It checks the message against your spam rules and drops anything that matches.
It looks for an open Zendesk ticket from the same person on the same subject, so repeats do not create duplicates.
If there is none, a new Zendesk ticket is created with the subject, message and the sender as requester.
Before it runs live
- Connect Zendesk
- Paste your automation's link into the other app's webhook settings
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
- Add an AI step, for example to summarize, sort or draft a reply
- 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 re
from clickruntime import on_event, http, credentials
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
SPAM = re.compile(r"(crypto|casino|viagra|seo services|backlinks)", re.I)
@on_event
def handle(event):
f = event.json or {}
email, subject, message = f.get("email", ""), f.get("subject", "").strip(), f.get("message", "")
if not email or SPAM.search(subject + " " + message) or message.count("http") > 3:
return {"created": False, "reason": "spam"}
query = f'type:ticket requester:{email} status<solved subject:"{subject}"'
if zd("GET", "/search.json", params={"query": query})["count"]:
return {"created": False, "reason": "duplicate"}
t = zd("POST", "/tickets", json={"ticket": {"subject": subject or "Contact form", "comment": {"body": message},
"requester": {"email": email, "name": f.get("name", email)}}})["ticket"]
return {"created": True, "ticket": t["id"]}FAQ
Common questions
What counts as a duplicate?
Where can the messages come from?
Are blocked messages stored anywhere?
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
Add new orders to the customer's Zendesk tickets
When a customer places an order, agents see it on their Zendesk profile and as a note on their open tickets.
See how it worksLet your voice agent look up callers in Zendesk
Your phone agent gets the caller's Zendesk record and open tickets, or opens a new ticket from the call notes.
See how it worksGet a daily Zendesk ticket report
Each morning you see how many tickets came in and got solved yesterday, and what's still open by priority.
See how it worksKeep exploring
Set up “Turn contact form messages into Zendesk tickets” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.