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