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.
22 Comments
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.
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 |
Hello,
I do not seem to have the Subject option, even though we have an enterprise account.
Any feedback will be helpful.
Thanks
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
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.

Pour quelle raison ? Je suis dans la même situation que Rodger Bradford plus haut dans les commentaires.
Une idée ?
Merci
Salut Christophe,
Vous devriez voir "Texte de sujet" si vous faites défiler la liste plus bas. J'espère que cela pourra aider!
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

Cordialement,
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.
zach
Yes, the subject test is the title as you described. So you can say:
Meet all conditions
Actions
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!
Hello!
I do not have the dropdown that says "Subject Text Contains," how to I get this.
Thanks!
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.
I also do not have the dropdown that says "Subject Text Contains." I have Zendesk Enterprise.
Was this trigger condition removed?
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!
My apologies, I was referring to the conditions in Views. There's no option to add conditions in Views by subject, description only.
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"
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.
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
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.
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.
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.
Please sign in to leave a comment.