Trigger resources

The following articles describe an overview of the different types of triggers in Zendesk products and where they are created and managed.
About Zendesk triggers and how they work
Opening and viewing your triggers lists
To learn more about creating and using a specific type of Zendesk trigger, expand the sections below.


Ticket trigger resources





For an example of creating a trigger, you can watch this
video. Then refer to the following articles to learn more.


Video: Automatic notifications with triggers [2:02]



Using and managing ticket triggers



About the standard ticket triggers


Creating triggers for ticket updates and notifications


Triggers conditions and actions reference


Creating categories to organize triggers


Managing triggers


Searching triggers


Reordering and sorting triggers



Advice and troubleshooting for ticket triggers



I can't I reassign a ticket


My customers are receiving email responses even when I don’t add a public comment


How can I tell if my email notifications are being sent to the end-user?


How do I disable all emails to agents?


Avoiding conflicting triggers



Best practices for ticket triggers



Understanding how to format email notifications


How do I add a hyperlink to a trigger?


Automations vs. Triggers - When To Use What


Automatically tagging tickets from specific users and organizations


Organizing incoming tickets with multiple email addresses


The importance of the 'Ticket is' condition



Fine tuning ticket triggers



Fine Tuning: Brick by Brick- How to build your ideal workflows


Zendesk on Zendesk: Escalating tickets to developers


Zendesk on Zendesk: Bump Bump Solve


Fine Tuning: Agent Productivity


Fine Tuning: Effective team communication in your support organization



Ticket trigger recipes



Sending holiday notifications using triggers


Can I configure a trigger to add a comment to a ticket?


How can I route tickets to groups based on the support address they are received at?


Notifying external email addresses


How do I prevent email notifications from being sent out on SMS tickets?


How can I prevent agents from reassigning tickets to other agents?


Ticket trigger recipes reference



Community tips and recipes



How to set a reminder on a ticket


How to change the ticket subject using a trigger


Using Liquid Markup to A/B Test Your Triggers


Creating a notification to identify tickets that are stuck at the back of the queue due to no SLA being applied









Chat trigger resources




To learn more about how to use and manage chat triggers in
the Chat dashboard, refer to the following articles:


Using and managing chat triggers



About the standard chat triggers


Zendesk chat and messaging triggers conditions and actions reference


Creating chat triggers


Editing and managing chat triggers


Automatically route chats to departments


Using proactive chats to target key customers


Managing chat triggers when migrating from Chat to messaging



Best practices and recipes



Recipe: Identifying visitors' search engines


Recipe: Route a chat to a department based on the country the visitor is chatting from


Recipe: Route a chat to a department based on the URL of the website


Recipe: Send messages to your customers waiting in the queue



Advice and troubleshooting



Department routing isn't working correctly in Chat


Should I use the department, department status, or visitor department condition in my chat trigger?







Messaging trigger resources




Management of messaging triggers is currently migrating from
the Chat dashboard to Admin Center. If you already have access
to the Messaging triggers page in Admin Center, use the following
articles to learn about creating and managing your messaging
triggers. Otherwise, refer to the
Chat trigger resources.



About messaging triggers


Working with messaging triggers


Zendesk chat and messaging trigger conditions and actions reference







Object trigger resources




To learn about object triggers and how you can use them with
custom objects,
refer to these articles:



Understanding object triggers


Creating object triggers to update records and send notifications


Object trigger conditions and actions reference


Managing object triggers


Understanding how to format email notifications



Additionally, you can reference custom objects in ticket
triggers. For more information, see
Using custom objects in ticket triggers.








//

// import Bootstrap JS
const script = document.createElement('script');
script.src = 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js';
script.integrity = 'sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz';
script.crossOrigin = 'anonymous';
document.body.appendChild(script);

// import Bootstrap CSS and add custom styles
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css';
link.integrity = 'sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH';
link.crossOrigin = 'anonymous';
document.head.appendChild(link);

const style = document.createElement('style');
style.innerHTML = `
.accordion {
--bs-accordion-active-bg: #fff;
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(246, 240, 230, 0.9);
padding-bottom: 2rem;
display: flex;
flex-direction: column;
}
.accordion-item {
width: 100%;
}
.accordion-button {
color: #0b3b29;
font-size: 1.2rem;
}
.accordion-button:not(.collapsed) {
color: #0b3b29;
}
.accordion-button:focus {
z-index: auto;
}
.accordion-body h3 {
font-size: 1.25rem;
}
.what-plan-p {
line-height: 3rem;
}
img {
vertical-align: baseline;
}
#articlePage {
scroll-padding-top: 113px;
}
`;
document.head.appendChild(style);

// adjust scroll after clicking regular anchor link
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
const targetElement = document.querySelector(targetId);
if (targetElement) {
const headerOffset = 130; // height of sticky header for headings
const elementPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;
const offsetPosition = elementPosition - headerOffset;
window.scrollTo({
top: offsetPosition,
behavior: 'smooth'
});
}
});
});

// open accordion panel and adjust scroll after page opens with anchor in url
document.addEventListener("DOMContentLoaded", function() {
function adjustScroll() {
const headerOffset = 175; // height of the sticky header
const documentTop = window.pageYOffset || document.documentElement.scrollTop;
const elementTop = document.querySelector(hash).getBoundingClientRect().top;
const calculatedOffset = documentTop + elementTop - headerOffset;
window.scrollTo({
top: calculatedOffset,
behavior: "smooth"
});
}
const hash = window.location.hash;
if (hash && document.querySelector(hash)) {
let collapseElement = new bootstrap.Collapse(document.querySelector(hash), {
toggle: true
});
collapseElement.show();
collapseElement._element.addEventListener('shown.bs.collapse', adjustScroll);
} else if (hash) {
// If it's just a regular anchor link, adjust the scroll
adjustScroll();
}
});
//

