Create a ticket by an email but keep it internal
Answered
Posted Sep 15, 2023
Hello,
I have a use case which creating a Zendesk ticket by sending an email from a third party but need to keep the email internal note as the email contains sensitive data, so that I do not want expose to customers.
I have tested sending email from a third party, but it always creates a ticket with a public reply. When I change a requester to send it to customers, all the previous public replies are also sent. I do not want those are exposed to them.
Could you give me any insights or workarounds? Thanks in advance.
0
4
4 comments
Peter Hochstrasser
Hi Chungjung Lee
It seems that you try to do something that is outside of the standard capabilities of Zendesk.
A mail by a third party that is not in your team members will always create a public comment on the ticket.
However, answers to mails are sent only at your discretion, and, if you look at the events view (as opposed to the conversation view) of a ticket, you see that new public comments have the link
"Convert to internal note".
Since the API lets you execute this action, you'd need to write a trigger that
This is the core of the setup, you'd need to adapt the mail sending triggers such that they are not executed if the tag mentioned above is on the ticket, and, to prevent this ticket from being completely muted for the rest of its life, create another trigger, to be executed first on each run through the trigger list, that clears this tag if it is present, as there is no provision equal to a finally clause in an exception handling statement in Zendesk.
Yours truly
Peter
1
Chungjung Lee
Thanks for the suggestion Peter Hochstrasser. The two questions came up with your reply.
Sincerely,
Chungjung
0
Peter Hochstrasser
Hi Chungjung Lee
Yes, you can add the 3rd party to your team members, however,
You want to suppress outgoing mails on the ticket before the comment has been reclassified as an internal comment. Therefore, I'd use a tag to prevent the usual mail sending triggers to execute on that ticket (otherwise, you sensitive information may be sent out).
Once you have the comment in private mode, if you send it out, only your team members will receive mails, as customers will only get public comments.
1
Stephan Marzi
Hi Chungjung Lee,
If the responsible person is added as a light agent he will also be considered for internal comments only. Please have in mind that if the user is also a member of your company etc. it can cause different and unusual ways of ticket amendments. So please have it in mind, but be careful if it is of interest.
Regards, Stephan
0