Trigger conditions and actions reference

Return to top

80 Comments

  • Rolf Hayes

    I have a trigger that has a condition for "Tags: Contains none of the following" and I have several tags in this field to stop the trigger from running if they are on the ticket in Support. However the trigger ran on a ticket that had one of these tags and I can't find out what I've done wrong.

    Details of this article above state to add multiple tags "Press Enter between each tag you add.". However this doesn't work, and pressing enter just saves the trigger. I have put the tags in with a ; and space between each tag e.g. tag_1; tag_2.

    Please can someone help me with what the correct method is of adding multiple tags to a trigger condition and why the trigger isn't working.

    0
  • Tommy

    Tags should look like this:

    Maybe try some other browser, because I don't have any problems with Enter whatsoever

    0
  • Rolf Hayes

    Thanks Tommy.

    I've just realised I'm mixed up. I'm meaning automations. My bad. The below is what I'm getting.

    0
  • Tommy

    Yeah, for some reason, Zendesk did not update Automations UI and it is really dated and hard to use.

    You just have to remove ";" so tags look like that


    No need to press Enter here

    0
  • Joshua Bentley

    Hello!

    I'm not seeing a "-" for Organization. Can I just leave it blank?

    I'm trying to update a ticket field when an org doesn't exist in our system yet and I haven't been able to get anything to work exactly right yet.

    0
  • David Drysdale

    嗨team, we have a lot of internal staff emailing our support desk - and a few different inboxes with different email addresses (e.g.planning@...support@...sales@....)

    Is there a way to restrict a trigger to tickets being received in Support at a particular address (Ticket: Received at doesn't seem to be the right call?) e.g.support@...

    Similarly can we prevent a trigger firing if tickets are received from address on a specific domain so our internal teams don't receive them?

    0
  • Ola Thoresen

    Is there any way to reorder the _actions_ within a Trigger?
    E.g. I have a trigger with several Actions, some of which communicates with external systems, and I want to ensure that Action X happens before Action Y, but when the action was created, Action Y was added before Action X.

    0
  • Dane
    Zendesk Engineering
    Hi Ola,

    It can only be done manually on each triggers by removing each actions and adding it in the correct order you prefer.
    0
  • Mark Kindy

    Anton de Young
    We recently were told by Zendesk Support that we can't use the following in tandem:

    • Condition: Ticket:Group = "Group Name"
    • Condition: Current User = End User

    The reasoning that was given is that since the End User doesn't have a Group, this logic will fail. However, reading the documentation suggests that the Ticket:Group would be the Group of the Assignee -- not of the Current User (End User in this case).

    Please confirm which is correct, and if what we were told is accurate then update this documentation. This seems to work inconsistently for us, which doesn't make sense (we have another trigger that uses similar logic as what's at the top of this comment, and it's still working fine while another broke down completely).

    Additionally can you clarify whether text messages are considered either A) an internal system event, or B) a messaging channel? Neither is made clear in all Zendesk documentation, but either seems to be a critical condition for Current User based on this documentation.

    0
  • Dane
    Zendesk Engineering
    Hi Mark,

    You are correct, Ticket Group pertains to the Group the ticket is currently assigned. It will not work if you will use Current User = End User and the ticket is not yet assigned to any group.

    Let's say you have the following conditions:

    Ticket is Updated
    Current User is End-User
    Ticket Group is Test Group

    The trigger will fire if an end-user have updated the ticket that is currently assigned to Test Group. The update of the end-user normally happens when a message from the end-user was received. I have tested it directly and it worked without any issues.

    In addition, text messages is an internal system event. The actual SMS notification event does not appear in Agent Workspace. This is already being worked on.
    1
  • Swapnil Pandey

    How can i create a trigger where the condition is something like `Brand is xyz` via an API?

    i have tried using something like

    "conditions": {
    "all": [{
    "field": "Brand",
    "value": "is",
    "operator": "abc"
    }]
    }

    but i get an error

    {
    "error": "RecordInvalid",
    “描述”:“记录验证错误”,
    "details": {
    "base": [{
    "description": "Invalid rule target: Brand"
    }]
    }
    }

    },
    0
  • Dane
    Zendesk Engineering
    HI Swapnil,

    You need to use the brand ID for the value. The example below is for one of my brand. I was able to extract this information by using GET api/v2/triggers


    "conditions": {
    "all": [
    {
    "field": "brand_id",
    "operator": "is",
    "value": "4415354692879"
    }
    0
  • Adam Garcia

    Are we able to create a trigger to alert our internal team when a new article is posted? Thanks.

    0
  • Gabriel Manlapig
    Zendesk Customer Care
    Hi Adam,

    Currently, your internal team needs to follow a section or articles in the knowledge base and topics and posts in the community to receive notifications for them.

    For more information, please see helpful articles below:
    I hope this helps. Thank you!

    0
  • Adam Jenicek

    Hello!

    Is there a way to set ticket sharing with trigger actions?

    0
  • Zsa Trias
    Zendesk Customer Care

    Hi Adam,

    Yes, you can use the action statementShare ticket withto automatically share tickets via triggers. Reference:Using business rules to share tickets

    0
  • Jan Střída

    Hello,

    you don't miss the Trigger Conditions "Ticket: Description" ?

    Thanks

    0
  • karankuwarbidxb

    Hi,

    I am trying to find a way to trigger an email when the count of customer (End user) comments in a ticket is greater than 2.

    How should I go about it?

    Thanks

    0
  • Gabriel Manlapig
    Zendesk Customer Care
    Hi Karan,

    As of the moment, Trigger only offers the conditionTicket: Agent repliesto count the number of public agent replies in a ticket. There is no current native way to target conditions based on the number of comments made or done by an end-user under Triggers.

    I would recommend you to leaveFeedbackin our Community. Our Teams are frequently looking through the posts in order to get ideas on future additions to the Software. The more a votes a post gets, the higher the chance that the feature will be added in the future.

    I hope that answers your question, Thank you!

    0
  • Nodi Vior

    What's the use of Greater than status? Like,what does it represent and how it's used?

    0

Pleasesign into leave a comment.

Powered by Zendesk