For every incoming email, Freshdesk checks 3 email markers to understand whether the email is a reply to an already-existing ticket. If the email is identified as a reply, Freshdesk performs additional sender email checks to make sure it's not spam.
Email Markers Check
Freshdesk looks for the following three markers in every incoming email. For an email to be threaded to a ticket, it has to pass one of the following checks:
Ticket ID
By default, when a ticket is created in your portal, a ticket ID is generated. The notifications that the customer and agent receive about the ticket updates will carry the ticket ID in the subject line. Freshdesk threads tickets by looking for the ticket ID in the subject line in this format - [#{{ticket.id}}]; so it is advisable to configure the subject line for your email notifications to carry the Ticket ID in the above format. When the customer or agent replies to these notifications, Freshdesk will check if the ticket ID matches and will thread the reply accordingly.
Almost all ticketing helpdesks follow the same nomenclature for the Ticket ID. When you use multiple helpdesks for your ticketing workflow, sometimes your tickets may get appended/threaded to the wrong ticket. To ensure that your ticket replies get threaded to the right ticket, you can configure a unique ticket threading identifier. To set this up:
- Go to Admin > Email > Advanced Settings > Configure prefix for Ticket ID.
- Provide a name that will get appended with your ticket ID, and hit Save.
Apart from setting up the prefix for the ticket ID, you can also add this prefix to all your outgoing email templates to additionally ensure that the emails get threaded to the right ticket. Some of these include adding them to your agent reply template emails, automation rules that send out emails to the requestor, and more.
For example, let us see how you can add this to your agent reply template:
- Go to Admin > Email Notifications > Templates tab
- Click on Edit next to the Agent Reply Template
- Input your prefix in the Subject box in this format "{{ticket.subject}} - [#Prefix{{ticket.id}}]", and hit Save
- Now, this prefix will be appended to the ticket subject automatically when an agent responds to a ticket
Freshdesk lets companies that want to send personal replies to their customers remove the ticket ID from the subject line. If the ticket ID is not present, the threading check is done in the following two ways:
Message-ID
Every email has a unique identifier assigned to it by the email provider called Message-ID. (You can read this article to know how you can find the Message-IDs of emails from various email providers).
Date: Tue, 23 Jul 2024 06:20:48 +0000
Message-ID: <SI2PR06M5549EBD803EECF882BB61C3A1A92@SI2PR06MB4554.apcprd06.prod.outlook.com>
References: <CA+mgTdfxHKfGLmR5E2noXQqo+kcr05WaSEYv4_irFjzam-nA@mail.gmail.com>
In-Reply-To: <CA+mgTdfxHKfGLmR5E2noXQqo+kcr05WaSEYv4_irFjzam-nA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-IN
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_SI2PR06MB45549EBD803EECF882B1C3A1A92SI2PR06MB4554apcp_"
MIME-Version: 1.0
Ticket Identifier
Apart from a unique identifier set by the email provider, Freshdesk also has a unique identifier for every email or the email notification sent. This is done using a hidden
<div> </div>
tag in the email. As long as the tag remains intact, the email will be threaded properly. For example, if the customer uses plaintext mode to reply, this ticket identifier will not be appended in the header.
Email ticket threading will also work when two different businesses use Freshdesk to work with each other. Specifically, each Freshdesk account will add an identifier as part of the email message in the hidden div tag so that ticket threading will work in Reply and Forward scenarios.
Helpdesk address as recipient check:
- If the customer sends an email to support@abc.com and billing@abc.com, then it will be created two separate tickets. That is, if the customer keeps two addresses configured in the helpdesk as recipients in the same email, then it won’t be merged or threaded under the same ticket.
- Also in the middle of a ticket conversation, if the customer replies adding another support address, then that reply will be created as a separate ticket, and also be displayed as a reply in the current ticket.
Requester Checks
- Requester email address of the ticket
- Agent email address of the ticket
- Email address(es) in the CC of the ticket
- Email address(es) to which the ticket was forwarded
So unless an email satisfies one of the email markers check and one of the sender email checks, it will be created as a new ticket in your helpdesk. If, however, the agent understands that the new ticket is a reply to an existing ticket, they can merge the tickets manually.
- Check if the option Create a new ticket for each customer response from Advanced Email settings to create every reply as a new ticket is enabled. If enabled, disable it
Occasionally, with some tickets, the user's response could be sent to a different support email address than the original one. This could occur if your helpdesk has multiple support email addresses and the agent, who is part of multiple products, responds to the ticket using the 'From' email address associated with a different product. In such cases, there are chances that the replies sent will not be properly threaded to the original ticket. You can avoid such issues by using the app from marketplace called "Customize From email address".