Why do emails thread to the wrong ticket?

Return to top


  • Americo Pagliuca

    We have an instance where we have an external support provider that sends us ticket notifications [via ConnectWise, I believe] which always come with the subject:


    Each time their ticketing system generates a response [whether to us or another third party or to their own office] it creates a new ticket.

    How can I have a trigger based on subject to check if the Ticket#XXXXX exists and thread into that if so?

  • Marco Malbas
    Zendesk Customer Care

    Hi Americo,

    That's a good question. Right now, business rules in Zendesk (triggers and automations) do not have the function to thread emails to existing tickets. Also, while triggers are able to check the subjects of tickets, it would only be for checking it for a specific word or thread. There is no way for a trigger to check the subject and cross-reference it with all the existing tickets.

    I would suggest posting this as a feature request though, as I do see how this can be useful. Feel free to post this here: https://support.zendesk.com/hc/en-us/community/topics/200132066--Feedback-on-Support


    Marco M. | Zendesk Support

  • CJ Johnson

    How can we check the message ID,  when the issue is replies from email to a chat conversation, where we cannot check any message ID on the original message because it originated from Zendesk? 

  • Rad
    Zendesk Customer Care
    Hi CJ,
    To check the message ID of an email, you can open a ticket created by inbound email and you have the option to view and download the original email.
    Please see Viewing the HTML and original source for incoming tickets for more information.
    Trust this helps.
  • CJ Johnson

    Hi Rad, 

    Those instructions do not work for the situation I have laid out, thus my question. 

  • Jessica G.
    Zendesk Customer Care

    Hello CJ Johnson
    Thanks for the follow-up! We're sorry to hear the initial instructions were not ideal for your use case.
    I'd like to refer you to this other article regarding Customers not receiving emails. The events should show a Trigger notification with a number that Advocates can use to track down logs internally. Although we wouldn't be able to check logs every time, if you're having specific issues, feel free to contact us via WebWidget Messaging and we'll be happy to help further.

    In short, "Message-IDs" are only available for inbound email messages, not outbound, but if you replied to an actual email, the Message-ID should remain the same for the entire thread, and that's how Zendesk links all messages in the same ticket. Hope that makes sense! :) 



  • Vladimir Shkuratov

    Hi Anna Lainfiesta

    We have external system sends emails to Zendesk and every time in generates new ticket in Zendesk despite the Subject, Sender and Receivers are the same?

    Can you recommend  the way to configure in a way that Original ticket gets updated instead of generating new ones every time.


  • Dane
    Zendesk Engineering
    Hi Vladimir,
    As explained in this article, if In-Reply-To and References lines are different it will be threaded on a different ticket or create a new one. It's possible that your external system is changing these values. Due to this, the only recommendation we can provide it to work with the system admin to make sure that no changes will be made to the emails they will send to Zendesk.
  • Jacqueline Yeo

    Hi Zendesk Team,

    I have one ticket (#abcd) in particular where Requesters had history of sending new ticket to support+idabcd@mycompany.com, which we have already advised requester to send to support@mycompany.com instead. 

    Requesters Forwarded the email (where he sent to support+idabcd@mycompany.com) to the correct support@mycompany.com without the wrong address, but the new email still threaded to #ticketabcd.

    Please advise if this should be the correct behavior?

  • Brett Bowser
    Zendesk Community Manager
    Hey Jacqueline,

    It looks like you have a ticket open with our Customer Care team regarding this issue. They will follow up with you as soon as they can to troubleshoot further so stay tuned.
  • Longboard

    Is there any way to have an email reply processed by Zendesk as a comment on an existing ticket, without the original message-id in the In-Reply-To header?

    We tried adding the ticket email address to the "References" header, but that just resulted in the message being flagged with the error "Permission denied due to unauthenticated email update".

  • Gabriel
    Zendesk Customer Care
    Hello Longboard, 

    The message-id is required for the email operation on an existing ticket. As you can see addressed in the article: When a new email is received, Zendesk scans the message-ID on the email. If that message-ID matches an existing ticket then the email is added as a comment on the existing ticket. Zendesk does this regardless of the support address the email is received at.

    I hope this answers your question! Thanks!

  • Longboard

    It also mentions using the References header. If the References header has a value such as support+id1234@domain.tld, does Zendesk honour that as a link to the original ticket of 1234 for comment? Or does it only use the original message-id and only in the In-Reply-To header?

  • Longboard

    Quoting from the article above, "If one of these lines uses a static message-ID or email address", where "these" refers to the In-Reply-To and References headers.


Please sign in to leave a comment.

Powered by Zendesk