Automation - Assign ticket owner via e-mail command

Automation - Assign ticket owner via e-mail command




Hello there,

I've created a nifty custom function for Zoho Desk that simplifies ticket management. You send an email to the support address and you already know the perfect employee for the task at hand. But then comes the tedious part: after you send the email, you have to open Zoho Desk and manually assign the right agent. And that's where this nifty feature comes in! By using a command directly in the email, you can seamlessly determine and assign the agent without having to take that extra detour. How cool is that?

How it Works

You send an e-mail containing a command:
#ticket_owner="example@example.org"

A new ticket is created and the agent who has the e-mail address example@example.org is automatically assigned as the ticket owner.

A comment is created which informs you that the assignment was made on the basis of an automation/workflow rule.


Adjustment options / settings

You can choose the syntax of the command as you wish. 

#ticket_owner="~"
or
agent="~"
or however you like...

You can freely determine the content of the automatic comment. The ~ character is automatically replaced by the e-mail address. You can also determine whether the automatic comment should be written at all. If you find it useless, simply turn it off. 

Logging / error message

If something goes wrong and problems arise, you can be informed via email. You also have the option of logging the errors in an analytics table.



Setting it Up

  1. Go to Developer Space > Functions
  2. Create a new function – name it as you please
  3. Add the parameter for the ticket ID to the function and name it ticketId
  4. Copy-paste the code from my GitHub repository
  5. Add the missing settings and adjust the settings
    1. You can find more information about all settings in the documentation, also in my Github repository
  6. Save the custom function
  7. Go to Automation > Workflows > Rules
  8. Create a new workflow rule
    1. Module: Ticket
    2. Execute on
      1. Create
      2. You can of course select other triggers as required...
    3. Criteria
      1. "To Address" is not empty
    4. Actions
      1. Custom Functions (Link the newly created function here)


Regards,
Sven

      • Sticky Posts

      • Live Webinar - Work smarter with Zoho Desk and Zoho Workplace integration

        Hello customers! Zoho Desk and Zoho Workplace are coming together for a webinar on 14th May, 2024. Zoho Workplace is a suite of productivity apps for email, chat, docs, calls, and more at one single place. Zoho Desk is closely integrated with a few tools
      • Apple iOS 17 and iPadOS 17 updates for Zoho Desk users

        Hello Zoho Desk users! Apple recently announced the release of iOS 17 and iPad OS 17. These latest OS updates will help you stay productive and efficient, through interactive and seamless user experiences. Zoho Desk has incorporated the updates to help
      • Zoho Desk Partners with Microsoft's M365 Copilot for seamless customer service experiences

        Hello Zoho Desk users, We are happy to announce that Zoho Desk has partnered with Microsoft's M365 to empower customer service teams with enhanced capabilities and seamless experiences for agents. Microsoft announced their partnership during their keynote
      • Zoho Desk Cheat Sheet For The Year-End

        Check out these Zoho Desk best practices to end this year on a high and have a great one ahead! #1 Set Business (Holiday) Hours - If you have limited working hours, please make sure you restrict your business hours or set them as holidays for the coming days. Let your customers know when you will, and won't, be available. #2 Update the Annual Holiday List - Check the holidays for the new year and update the holiday schedule. Usually, holidays from the current year will be carried over for the next
      • Deprecation of older versions of ASAP Mobile SDK | Zoho Desk

        Hello, everyone.    Greetings from Zoho Desk ASAP!   In order to continue to deliver the best and most secure experience to our mobile SDK users. On account of the recent enhancements and updates to the mobile SDKs, we have planned to mark the older versions