Recent searches


No recent searches

How do I create a trigger based on a ticket subject?



Edited Feb 10, 2025


1

24

24 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. 

0


image avatar

Jason Schaeffer

Zendesk Customer Care

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


Hello,

I do not seem to have the Subject option, even though we have an enterprise account. 

Any feedback will be helpful. 


Thanks 

0


image avatar

Blanca

Zendesk Customer Care

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


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

0


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


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,

0


  • Contains at least one of the following words (separated by spaces) - can the words be populated from external file like a file reference instead of words separated by spaces directly

0


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


image avatar

ZZ Graeme Carmichael

Community Moderator

zach

Yes, the subject test is the title as you described. So you can say:

Meet all conditions

  • Subject Text>Contains the following string>Voicemail from

Actions

  • Add tags>myTag
  • Group>myGroup

 

0


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


Hello!

I do not have the dropdown that says "Subject Text Contains," how to I get this.

Thanks!

0


image avatar

Dane

Zendesk Engineering

Hi Alyssa,
 
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


I also do not have the dropdown that says "Subject Text Contains." I have Zendesk Enterprise.

Was this trigger condition removed?

0


Hi Sharon, 
 
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


My apologies, I was referring to the conditions in Views. There's no option to add conditions in Views by subject, description only.

0


Ah, gotcha Sharon, thanks. That's correct that the ticket subject is not available as a condition in Views. A workaround would be to create a trigger using one or more of the conditions listed in the above article, and add a tag to those tickets. You could then use that tag in a View.
 
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


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


Hi Mads, I'm afraid there's no built-in way to do this with a trigger currently. Some might suggest having a trigger call a webhook to use the API to change the ticket, but that is not entirely reliable and is therefore not supported (see Can I use a trigger and a webhook to update tickets?)
 
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


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


image avatar

Dane

Zendesk Engineering

Hi Melyssa,
 
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


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


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


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


Please sign in to leave a comment.