Trigger an action based on ticket creation date
Answered
Posted Feb 15, 2024
I want to create a trigger that track the ticket creation date so that if it's for example between 10 pm to 8 am it will assigned to certain group and viewed in certain group , how can we do that whether internally or by using Plugin from the market place ?!
1
7
7 comments
Jacob the Moderator
Hi Abdelhameed Khaled 👋
You could use a combination of triggers and schedules to achieve that.
You'll need
Here 👆 the "Initial schedule" is set upon ticket creation, a trigger below checks if the ticket has been created outside of business hours and in this case sets the "EMEA" schedule - you could set the group in the same action, but I would opt for a separate trigger per action.
This is an example trigger to set the second schedule
This is the initial schedule:
If you have more than two time slots you need to route based on, then you could have multiple initial schedules that further refine the scheduled ours.
I hope this helps you out, please let me know if you have questions or need more details.
1
Brandon Tidd
I second the workflow so accurately captured by Jacob the Moderator!
0
Stephan Marzi
Hi Abdelhameed Khaled,
The above mentioned topics are great. In case you would like to have another option, please have in mind that automations are also a possible way to change the group of tickets. In fact the opening hours are the best way in order to organize the time based routing and I would also recommend to use a trigger.
Regards,
Stephan
0
Abdelhameed Khaled
Hello Stephan Marzi Brandon Tidd Jacob the Moderator Thank you for your response , I have another question is it possible to do in Team Plan ? one way or another
0
Brandon Tidd
Hey Abdelhameed Khaled -
Unfortunately business schedules is only available in the Growth plan or higher. Without this feature, Zendesk doesn't have an accurate way to capture time, without going through webhooks that grab system time and putting them into custom fields.... That being said, the easiest solution might be to just code into your auto-responder "Requests made after 8PM will be answered on the next business day." Hopes this helps!
Brandon
0
Stephan Marzi
Oh, Brandon already mentioned the availability. Especially the Enterprise Suite will offer you the possibility to add more plans you can work with.
Regards, Stephan
0
Abdelhameed Khaled
Yes Thank you Brandon Tidd Stephan Marzi
0