Question
How do I create a trigger based on a ticket subject?
Answer
The Subject text condition scans the ticket subject text. Use this condition to create triggers based on a ticket's subject text with the following operators:
- Contains at least one of the following words (separated by spaces)
- Contains none of the following words (separated by spaces)
- Contains the following string
- Does not contain the following string
For more information, see the article: Creating triggers for automatic ticket updates and notifications.
24 comments
plick
Hi,
I have a followed every step you have described except I don't have the Ticket-Is-Created choice. It worked for one trigger: it tagged the messages and put them in the correct view. However when I created another trigger, in the exact same way it suddenly does not work. It seems to be some problem with the tagging for some reason. Do not know what to do.
0
Jason Schaeffer
Hi Niki,
Are you saying that you do not have the option in your Trigger Conditions to select "Ticket Is Created"? On the Trigger you have created that is working, is that one of the current conditions? You could always try cloning that trigger and then just adjusting the specifics of the other conditions.
To clone a trigger
In the sidebar, click the Admin icon, then select Business Rules > Triggers.
On the Triggers page, locate the trigger you want to clone.
Hover your mouse over the trigger to display the options menu icon (Trigger options menu).
Click the options menu icon and select Clone.
Modify the title, conditions, and actions as needed.
Click Create trigger.
Hope that helps!
Jason Schaeffer | Customer Advocate |
0
TSG Round Robin
Hello,
I do not seem to have the Subject option, even though we have an enterprise account.
Any feedback will be helpful.
Thanks
0
Blanca
Hi there Aakash,
Are you wanting to have a tag automatically be added when you set the Subject field of a ticket to something specific? Or maybe you can share exactly what you would like to achieve on this trigger?
Cheers,
Blanca | Customer Advocate
Chat with our live support!
https://support.zendesk.com/hc/en-us
0
Christophe
Bonjour,
J'ai cherché plusieurs fois dans la liste des conditions de déclenchement mais nous n'avons jamais eu la possibilité de sélectionner : sujet. Ce dernier est absent de la liste.
![](/hc/user_images/kQW82-Az79TpIj2CpM7muA.png)
Pour quelle raison ? Je suis dans la même situation que Rodger Bradford plus haut dans les commentaires.
Une idée ?
Merci
0
Dave Dyson
Salut Christophe,
Vous devriez voir "Texte de sujet" si vous faites défiler la liste plus bas. J'espère que cela pourra aider!
0
Christophe
Bonjour Dave,
Merci pour votre message.
Malheureusement non. Nous n'avons jamais la possibilité d'utiliser "Texte du sujet". Est ce lié au type d'abonnement ? Nous avons la suite Growth
![](/hc/user_images/dU8RZ9lwIzkWtiu2wmA1Eg.png)
Cordialement,
0
Vijitkumar Kumaran
0
zach.prasser
Does the condition 'Subject text' mean the subject title of the email/support-request? I'm looking to make a Trigger to add a tag that will automatically assign the ticket to a queue for a group of agents to handle, if the ticket has "Voicemail from" in the subject line of the ticket/email.
0
ZZ Graeme Carmichael
zach
Yes, the subject test is the title as you described. So you can say:
Meet all conditions
Actions
0
Ambar Rodriguez
Hi There!
Is it possible to use Subject Text>Contains at least one of the following words combined with operators, to try to do an AND search?
For example:
Subjects that contain 'apples AND bananas', or 'apples + bananas'.
Thank you!
0
Alyssa Allen
Hello!
I do not have the dropdown that says "Subject Text Contains," how to I get this.
Thanks!
0
Dane
This should be available on all account. Please check the screenshot for reference. If in case it's indeed missing, feel free to contact support directly and we'll gladly investigate it for you.
0
Sharon Franco
I also do not have the dropdown that says "Subject Text Contains." I have Zendesk Enterprise.
Was this trigger condition removed?
0
Dave Dyson
Ticket subject should be in that list (no matter what subscription plan you have). You may need to scroll down a ways – it should be between Ticket and Privacy. Once you select Ticket subject, a popup menu will appear that includes the various Contains options. Hope that helps!
0
Sharon Franco
My apologies, I was referring to the conditions in Views. There's no option to add conditions in Views by subject, description only.
0
Dave Dyson
I realize that's extra work, and I'd recommend upvoting and adding your use case to this product feecback thread: views should include the condition "subject"
0
Jysk IT en del af Sagro I/S
Hello. Is there no way in actions of a trigger to set the subject? What i want is to correct a subject on a ticket if it gets merged with another ticket. (turned to a closed state) before it closes it ofcourse.
0
Dave Dyson
There is a product feedback thread on this subject (pun not intended), so I'd suggest upvoting it and adding information about your use case here: Change Ticket Subject by action
0
JHT Canada
I have been using a trigger that sets the tag based on the subject line and all of a sudden it has stopped working. Nothing has changed in my system.
I have a bunch of "ANY" conditions. We need to be able to automatically tag the ticket when it's created and agents can manually add the tag in case one of the keywords was missing but it falls under urgent.
0
Dane
Due to the nature of your request, I have created a ticket to investigate further. Please wait for my update via email and let's continue from there.
0
Gabriel
Hi Jysk,
there might be a solution to first change the subject and then merge the ticket.
https://knots.io/merge-tickets-zendesk/
Basically, with the https://www.zendesk.com/marketplace/apps/support/810637/ticket-parser-by-knots/ you can choose to parse the whole text in the subject and then replace it. You can set up conditions that if the subject is the same from the same requester, then close the latest ticket and merge it. Let me know if that could be a potential solution.
0
Monica Ekka
Hi, i have been facing an issue where triggers based on comment/subject text conditions are not firing for tickets created via email. Specifically, the trigger should fire when words like "Policy" or "Insurance" are mentioned, but it doesn't trigger if the requester uses variations such as "Policy!" or "Policy?" or "Insurance."
Any suggestions on how to resolve it?
0
John Oxley
Hi, I have a similar problem to Monica above, except my triggers won't fire if a ticket comes in via OAUTH API. Other triggers fire, but not one that interrogates the subject text. Anyone know why or how to fix it?
0