유동 마크업을 사용하면 비즈니스 규칙에서 티켓 특성에 따라 다양한 응답을 만들 수 있습니다. 이 예에서는 업무 시간에 따른 응답을 리턴하기 위해 요청자에게 접수된 요청에 대해 알림 트리거 또는 동일한 목적의 기타 트리거를 수정하는 방법을 보여줍니다.
{% if ticket.in_business_hours == 'true' %} 김지영, {{ticket.requester.first_name}}님. 보내주신 요청(#{{ticket.id}})을 지원팀에서 검토하고 있습니다. 요청 처리 상태를 확인하거나 댓글을 추가하려면 아래 링크를 클릭하세요. http://{{ticket.url}} {% else %} 안녕하세요, {{ticket.requester.first_name}}님. 보내주신 요청(#{{ticket.id}})을 지원팀에서 정규 업무 시간인 월요일 ~ 금요일 오전 8시 ~ 오후 6시(태평양 표준시) 중에 검토하고 있습니다. 요청 처리 상태를 확인하거나 댓글을 추가하려면 아래 링크를 클릭하세요. http://{{ticket.url}} {% endif %}
간단한 if...else 문을 사용하면 해당 요청이 업무 시간 중에 접수될 경우 첫 번째 응답을, 업무 시간 외에 접수될 경우 다른 응답을 보내게 됩니다. if 문으로ticket.in_business_hours특성을 테스트하여 적합한 응답을 보냅니다. 티켓 특성은 출력 값이 아니라 요청자에게 이메일 알림으로 댓글을 보낼 경우 댓글에 포함시킬 내용을 결정하는 논리의 일부로 사용된다는 간단한 이유로 이중 중괄호 처리를 하지는 않지만 흔히 자리 표시자로 사용되는 경우와 그 형식이 동일합니다.
유동 마크업 사용 방법에 대한 자세한 내용은 유동 마크업 및 Zendesk Support 이해하기를 참조하세요.
댓글 6개
Kathleen Taylor
Is there a way to set up a trigger or automation that sends an email ONLY within business hours - basically we need an automation or trigger that will stop an automation from firing outside of business hours.
We need to notify a customer every hour during regular business hours based on our SLA. I have all that set up but need to have a trigger or automation that will stop the automation from running after our support hours have ended and then start back up the next morning. Any Ideas?
I wish the Automation had the Within Business hours Condition. Would really make my life easier :)
Thanks in advance!
0
Paul Schneider
Is there a way if an message/email is generated outside business hours, that it stays in a queue, and doesn't send that email until the business hours start?
For example, if our business hours are 8am-6pm EST, and an agent responds to a Zendesk ticket at 7am, is there a way for that response email to "queue" (not send) until 8am?
0
Joyce
Holidays would need to be added manually to your Schedules and you can schedule holidays up to 2 years in advance. There's currently no option or integration available to add the holiday automatically.
I encourage you to create a new post in the General Product Feedback topic in our community to engage with other users who have similar needs and discuss possible workarounds.
0
Itay Banner
Hi! I'd like to be able to sync an external calendar so I don't need to manually create national holidays from time to time. Is there a way to automate that?
Also, do you have a doc with all the available filters? For example, I'd like to know how to write the condition "Is on holiday".
0
Gabriel Manlapig
Natively, this is not possible. However, using custom liquid markup in your trigger notifications. I'd recommend checking out this article to start: Understanding Liquid markup and Zendesk Support.
Alternatively, you can use user / organization fields and add a custom drop-down or checkbox field into their user profile to determine whether it is coming from an internal or external users.
For more information, please see this article: Adding custom fields to users
I hope that helps. Thank you!
0
Mark
Is there a way to check whether the email originates from inside or outside the company, and send a different response based on that?
0
로그인하세요.