Workflow: How to block the email channel

In Zendesk, you can't block email requests. However, you can use a workaround to close email tickets and direct customers to your help center. Follow the workflow in this article to create a trigger to close email tickets and send an automated response that redirects customers to your help center. This article explains how to modify default settings to facilitate this workflow. This change impacts only customer emails. Agents can still use their email and the standard agent interface to communicate. This workflow includes the steps below:

Expand all tabs



document.addEventListener('DOMContentLoaded', function () {
const toggleBtn = document.getElementById('master-toggle');

toggleBtn.addEventListener('click', function () {
const action = this.getAttribute('data-action');
const headers = document.querySelectorAll('.accordion');

headers.forEach(header => {
const isActive = header.classList.contains('active');
const panel = header.nextElementSibling; // Grabs the corresponding .panel container

if (action === 'expand' && !isActive) {
// Open it by simulating a standard click
header.click();
} else if (action === 'collapse' && isActive) {
// Close it by simulating a standard click
header.click();
}
});

// Flip button text and states
if (action === 'expand') {
this.setAttribute('data-action', 'collapse');
this.textContent = 'Collapse all tabs';
} else {
this.setAttribute('data-action', 'expand');
this.textContent = 'Expand all tabs';
}
});
});
Option 1: Set up auto-replies
Step 1: Create a trigger
Create a trigger that closes out the ticket, tags it, and sends back an automated response to direct the user to your help center.
To create the trigger:

Create a new trigger

Under Meet ALL of the following conditions, add these conditions: Object > Ticket > Ticket | Is | Created and Object > Ticket > Channel | Is | Email


In Actions, add these actions: First, add Other > Notify by > User email | Object > Ticket > (requester), set the Email subject, and add the notification message to the Email body | Rich text:
Thanks for your email.
Please make sure to contact us through our help center.
Second, add Object > Ticket > Add tags | email_ticket. Third, add Object > Ticket > Status category | Closed.

Click Create trigger



Note: In accounts with custom ticket statuses deactivated, use the Ticket > Status condition instead of Ticket > Status category.
Now, when a customer sends an email, Support responds with an automated email that requests the user to create a ticket in your help center. The trigger closes the ticket automatically and applies a tag. This tag lets you track email tickets in your reports.
Step 2: Deactivate default triggers and ticket CCs


Deactivate the default triggers that send out emails to your customers and ticket CCs to prevent email responses from users

Deactivate CCs on tickets

Option 2: Use the blocklist feature
You can reject emails from a particular email domain. Instead of triggers, use your blocklist and add the domains you want to reject with the reject:domain.com format. Add multiple entries separated with a space.

Otherwise, you can reject all emails except those from your company domain:

Add your company email domain to the Allowlist of your account, for example mycompany.com

In the Blocklist, add a wildcard * sign


