Question
When some of my users receive a notification from Zendesk, an auto-response sends a message back to Zendesk. This creates a new ticket and causes a loop. How can I stop an email loop?
Answer
Some Zendesk end-user emails have automated replies set up in their email client. There are two options on how to deal with this issue.
Option A: Use triggers to stop the loop
Create a trigger that adds a tag to the tickets created from the automated emails. Then, edit your existing notification triggers to ignore the tickets with the tag.
- Create a new trigger
- Under Conditions, add:
-
Ticket > Comment text | Contains the following string | enter a string of text that is part of your email template
-
Ticket > Comment text | Contains the following string | enter a string of text that is part of your email template
- Under Actions, add:
-
Ticket > Add tags |
automated_response
-
Ticket > Status category | Solved
Add any other required actions to solve your tickets.
-
Ticket > Add tags |
- Click Create
- Move the trigger near to the top of your trigger list to make sure it fires early
- Modify your existing triggers that send notifications to customers. Under Conditions, add:
-
Ticket > Tags | Contains none of the following |
automated_response
-
Ticket > Tags | Contains none of the following |
- Click Save
Note: In accounts with custom ticket statuses deactivated, use the condition Status instead of Status category.
Option B: Add the email to your blocklist
Block your support email address to hide the tickets from your queue. The tickets will appear in the Suspended tickets view.
- Add the support email address to your blocklist. Use the format,
reject:name@domain.com suspend:name@domain.com
. - Manually review the suspended tickets and delete those that are related to the automated responses. Proceed with caution, as there is a risk of deleting legitimate emails through this process.
For more information about mail loops and how Zendesk handles email, see the article: About mail loops and Zendesk email.
2 comments
Martin Bell
Hey Support,
I may be overlooking it but I remember prior to the condition change (the stacked/tiered selections) we could set a condition to be the requester email the ticket was created from. Currently I can only see the Agent list when selecting “Ticket>Requester” as an option, is this possible to do in the current build?
We have a specific supplier who sends surveys after every ticket closure, which have extremely generic subjects ("satisfaction survey") because of this we have a risk that triggering tickets to get ignored/deleted if they have this subject that we will miss some legitimate tickets.
Thanks.
0
Jonathan Stanwood
Not sure why I'm getting notifications for this, but I'll chime in. I see part of the problem being with Zendesk. I submit a ticket and then Zendesk sends an empty “we received your email” reply, which is kind of meaningless. I get too many emails as it is (as probably most people say) so I would prefer to hear so something of substance - like a solution rather than simply, “We'll get back to you.”
0