Using the Mail API to update ticket properties from your inbox

Return to top
Have more questions? Submit a request

79 Comments

  • RTB_IT

    Is there any option to have this viable for set users without them being agents?

     

    Example: A company is using a third party helpdesk and wants them to be able to send emails into a mailbox that generates zendesk tickets w/the appropriate fields using the mail API. This third party helpdesk would be whitelisted for zendesk incoming ticket creation but would not be agents themselves or do anything within the actual ticketing system.

     

    Thanks

    0
  • Dan Ross
    Community Moderator

    hey RTB,

    As the docs mentioned, the Mail API is only usable by agents in your Zendesk instance. To do what you're looking for, I suspect you would want to connect a mailbox to ZD for this partner and have fields assign by business rules. This could get tedious if there's a lot of conditions/cases you need to check. 

    If the 3rd party uses Zendesk, you can also use ticket sharing. 

    0
  • RTB_IT

    The third party uses there own proprietary ticketing system which we will not have access to. We really don't need the T1 support group to have access to our ticketing system at all we just need an easy method for them to submit the tickets to us and pre-populate a few ID fields. 

    If we make them all agents we are using licenses that cost $$ just to forward us data and create a ticket.

    I figured mail api would be simple and easy but if they require the use of a license that is a pricey method of ingesting data.

     

    0
  • Brett - Community Manager
    Zendesk Community Team

    Hey RTB,

    It may be worth setting up a ticket form for this 3rd party to submit tickets through so they can populate the fields themselves.

    Otherwise, they'd need to forward the information to your support address you've set up on your account and your agents will need to populate the fields themselves.

    Let me know if you have any other questions for me!

    0
  • RTB_IT

    Thanks Brett, I will review the ticket form option.

    As an alternative do you see any issues with simply having our third party support team create a shared exchange account and we could add that account as an 'agent' thus allowing them to send from that mailbox to our ingestion box using mail api? This would allow the 1-3 tech's to send us mail using the mail api format without the mail being rejected presumably while retaining the simplicity of using a mail api template.

    Thanks

    0
  • Brett - Community Manager
    Zendesk Community Team

    Hey RTB,

    That could work, however, you'll want to designate one user to this agent license so they can use the mail API. Giving multiple users access to a single agent license goes against our Master Subscription Agreement so you'll just want to be careful with that.

    Let me know if there's anything else I can assist with :)

    0
  • Dave Kaminsky

    Hello,

    Is there a method to merge tickets via the Mail API?  

    0
  • Brett - Community Manager
    Zendesk Community Team

    Hey Dave,

    At this time there's no way to merge tickets using the Mail API. You'll most likely need to use the Support API to merge tickets in this case.

    Let me know if you have any other questions!

    0
  • Alex Pos

    Hi, any update on the ability to add a #cc tag?

    Currently the only way to cc a client into a ticket from an email is to add them to the cc field in the actual email. They will then get two emails:

    • The email they're actually cc'd into, sent to zendesk, which will include the various tags
    • The email sent from Zendesk to them for them being cc'd into the ticket. 

    A #cc tag would mean you don't need to cc the email itself to them, which would mean they only get the email generated from Zendesk. 

    1
  • Brett - Community Manager
    Zendesk Community Team

    Hey Alex,

    No update to provide currently but I do agree this is an excellent idea! I'll be sure to pass this feedback along to the appropriate team :)

    Cheers!

    1
  • Alex Pos

    Hi Brett, 

     

    That's great to hear. 

    Perhaps a request too far, but it would be nice if at the same time as the #cc tag above, cc'ing someone into the actual email didn't cc them into the zendesk ticket. 

    An example of our ideal workflow is:

    • Receive an email from a client to our general support email, in which they have cc'd other clients
    • One of our support people takes up the issue, and forwards the ticket to zendesk. They cc our general support email so we know the email has been responded to (without cc'ing everyone into the ticket itself), and use the #cc tag to assign the other clients to the zendesk ticket. 

    Currently, our workflow is:

    • Receive an email from a client to our general support email, in which they have cc'd other clients
    • One of our support people takes up the issue, and forwards the ticket to zendesk. They cc our general support email so we know the email has been responded to (however this will also cc everyone into the ticket itself, and they will receive two emails). They then open the zendesk ticket, un-cc support (so we don't receive further updates), and cc in the other clients (they could have been cc'd into the original email, but then they would also receive two emails). 

    Thanks Brett,

    Cheers,

    Alex.

    1
  • Brett - Community Manager
    Zendesk Community Team

    Appreciate the additional information Alex! I'll mark this as feedback so our Product Managers can take a look.

    Cheers!

    0
  • Alex Pos

    Hi Brett,

    Please disregard that second request, I've just realised that we can bcc the email to our general support email - this will send the email to them, but not cc them into the zendesk ticket (the effect we were after).

    The first request for the #cc tag would be great though!

    Cheers,

    Alex.

    1
  • Bart Brosens

    Hi there!

     

    Is there a way to ADD a tag to a ticket through the mail API without removing the existing ones?

    Currently, using  #tag  removes all other existing tags in the process.

     

    thank you

     

    0
  • Dan Cooper
    Community Moderator

    Bart Brosens,

    I'm not aware of a way to add a tag without replacing the existing set using the Mail API directly, but you can use triggers that look for certain keywords in your message to apply those tags once the message is received.

    It may be worth submitting this as a feature request in the Support Product Feedback topic in the Community. 

    0
  • RJ Hines

    Good afternoon,

    Our agency started using Mail Commands a while back to great success. However, as of this afternoon suddenly, the Commands are showing up in Public Comments received by customers, contrary to what this article says should be the norm. Here is an example (fairly basic):

    Original message (via Outlook):

    Here is what the customer saw below:

    Any advice on what may be suddenly causing this?

    0
  • Ben Van Iten
    Zendesk Community Team

    Hi RJ Hines,

    Is the email address that is sending in the message tied to an end-user or agent? Often times in these cases it is an agent that is using an alternate email address that is not tied to their agent profile, and the Mail API is only for users with agent permissions.

    Thanks!

    0
  • RJ Hines

    Good morning Ben,

     

    The email address sending the messages are licensed Agents.

    0
  • Ben Van Iten
    Zendesk Community Team

    Hi RJ,

    Well that is odd. I'm going to create a ticket for you so that our Support team can take a closer look.

    Thanks!

    0

Please sign in to leave a comment.

Powered by Zendesk