Automation#34 : Automate Email threading for Ticket notification

Automation#34 : Automate Email threading for Ticket notification


Hello Everyone,

It's been a while since we've presented an automation. However, our community has been buzzing with ideas, use cases, and discussions with our community experts and Ask the Experts session.
So, here we are again, presenting an automation focused on threading ticket notification emails. 
Let's see how this automation helped our folks at Zylker Techfix.
Zylker Techfix, a gadget service company, has grown significantly and now serves a large customer base. The support team receives tickets from various customers, some of whom send multiple emails regarding servicing multiple gadgets. With their expanding customer base, Zylker Techfix wanted to effectively track notification emails sent to customers for each respective ticket.
Additionally, Zylker Techfix aimed to inform customers about the engineer assigned to support them with their submitted gadget, helping establish a stronger connection with their customers.

In this post, let's explore how we can adopt Zylker Techfix's customization.

Notify Customers when a ticket is created

The notification rule has an option to notify your customers when a ticket is created.
You can add the details of the ticket owner within the Email template so customers will know the support executive who will be handling the ticket.

How to include Ticket Owner details within the Email template?

You could create a New Email template or use the Existing email template.

Create an Email template

You can either create a New Email template or edit an existing Email template.
To Add a New Template : Go to Setup (S) >> Customization >> Email Templates >> Select the required Department >> Click on Add >> New Template >> Select the Tickets module >> Enter Name > Select  Folder, From Address, Enter Reply to address if required, Add Subject and desired description.
To add Ticket owner's name, insert the placeholders First Name and Last Name (if required) ${Case Owner.First Name}${Case Owner.Last Name}, under Ticket Owner.

To Edit an Existing Email

To edit an existing Email, Go to Setup (S) >> Customization >> Email Templates >> Select the required Department >> Click on the Edit icon for the existing template or select the existing Template >> Edit description. To insert Ticket owner's name, insert the placeholders for first name and last name (if required) ${Case Owner.First Name}${Case Owner.Last Name}, under Ticket Owner.

Create a connection

1.1 Go to Setup(S) and choose Connections under Developer Space.
1.2 Click Create Connection.
1.3 Select Zoho OAuth under Default Connection.
1.4 Set the connection name as zohodeskconnection.
1.5 Under Choose Scopes, choose the below scope values:

Desk.settings.ALL
Desk.tickets.UPDATE
1.6 Click Create and Connect.
1.7 Click Connect.
1.8 Choose the Desk's organization to connect with Deluge, and click Submit.
1.9 Click Accept.
Connection is created successfully.

Configure Custom Function within the Workflow Rule

1. Go to Setup, choose Workflows under Automation.
2. Under Workflows, click Create Rule.
3. Under Basic Information, choose Tickets under Module, give a Rule Name and Description.
4. Click on the Active checkbox to activate the rule once created. Click Next.
5. Under Execute on, select Create.
6. Add Criteria, if required.
7. Under Actions, click on the drop-down in the + icon and select Custom Functions >> New.
    7.1 Under Basic Information, enter Name and Description. Choose Tickets under Module.
    7.2 Under Argument Mapping, give a desired Method Name. Map the arguments as below:
           7.2.1 In the Argument Name field, type ticketId and select Ticket Id in the Tickets Section.
           7.2.2 In the Argument Name field, type contactEmail and select Email in the Contacts Section.
           7.2.3 In the Argument Name field, type fromEmailAddress, click on Specify Custom Value and type the verified From Address of your department.

    7.3 In the script window, insert the Custom Function given below:
  1. //<<<< User Inputs Section >>>>----
  2. // Replace ".com" with appropriate domain extension based on customer's location/DC
  3. deskURL = "https://desk.zoho.com";
  4. templateId = "xxxxxxtemplateIdxxxxx";
  5. //<<<< Initial Configs >>>>----
  6. logs = Map();
  7. template = invokeurl
  8. [
  9. url :deskURL + "/api/v1/templates/" + templateId + "/render?entityId=" + ticketId
  10. type :POST
  11. connection:"deskconnection"
  12. ];
  13. if(template != null && template.containsKey("body"))
  14. {
  15. logs.put("template",template);
  16. emailContent = template.get("body");
  17. emailReplyParams = {"channel":"EMAIL","to":contactEmail,"fromEmailAddress":fromEmailAddress,"content":emailContent,"contentType":"html"};
  18. logs.put("emailReplyParams",emailReplyParams);
  19. sendReply = invokeurl
  20. [
  21. url :deskURL + "/api/v1/tickets/" + ticketId + "/sendReply"
  22. type :POST
  23. parameters:emailReplyParams + ""
  24. connection:"deskconnection"
  25. ];
  26. logs.put("sendReply",sendReply);
  27. }
  28. info logs;
Notes
Note
a. In Line 3, replace .com in the address with .in/.eu/.ca based on your DC.
b.In Line 4, enter the template id within " " of the Email template you created or edited.
To fetch Template id, go to Setup (S) >> select Email Templates under Customization >> click on the Email template and on the Address bar, copy the numeric value at the end of the URL.
8. Click Save to save the custom function.
9. Click Save again to save the workflow.
Now, along with your ticket conversations, you can also track the emails sent as notifications within your ticket conversations.

Share your thoughts in the comments below or knock at our mailbox: support@zohodesk.com

Until the next post,
Lydia | Zoho Desk



      • Sticky Posts

      • Register for Zoho Desk Beta Community

        With the start of the year, we have decided to take a small step in making the life of our customers a little easier. We now have easy access to all our upcoming features and a faster way to request for beta access. We open betas for some of our features
      • Share your Zoho Desk story with us!

        Tell us how you use Zoho Desk for your business and inspire others with your story. Be it a simple workflow rule that helps you navigate complex processes or a macro that saves your team a lot of time; share it here and help the community learn and grow with shared knowledge. 
      • Tip #1: Learn to pick the right channels

        Mail, live chat, telephony, social media, web forms—there are so many support channels out there. Trying to pick the right channels to offer your customers can get pretty confusing. Emails are most useful when the customer wants to put things on record. However, escalated or complicated issues should not be resolved over email because it's slow and impersonal.  When you need immediate responses, live chat is more suitable. It's also quick and convenient, so it's the go-to channel for small issues. 
      • Welcome to Zoho Desk Community - Say hello here!

        Hello everyone! Though we have been here for a while, it’s time to formally establish the Zoho Desk Community; we’re really happy to have you all here! This can be the place where you take a moment to introduce yourself to the rest of the community. We’d love to hear all about you, what you do, what company or industry you work for, how you use Zoho Desk and anything else that you will like to share! Here’s a little about me. I am Chinmayee. I have been associated with Zoho since 2014. I joined here
      • Webinar 1: Blueprint for Customer Service

        With the launch of a host of new features in Zoho Desk, we thought it’ll be great to have a few webinars to help our customers make the most of them. We’re starting off with our most talked about feature, Blueprint in Zoho Desk. You can register for the Blueprint webinar here: The webinar will be delivered by our in-house product experts. This is a good opportunity to ask questions to our experts and understand how Blueprint can help you automate your service processes. We look forward to seeing

        • Recent Topics

        • How do you list multiple contacts for a lead?

          My sales team wants to be able to add additional contacts for leads, how do we do that? Is there a different way we should be using the lead / contact functionality?
        • Field Not Updating in FSM Script - Service and Parts module.

          Dear Team, I am reaching out regarding a script I have implemented in Zoho FSM to automate the calculation of the End of Service date based on the End of Sale date in the Service and Parts module. Overview of the script: Fetches the End_of_Sale__C and
        • Seriously - Create multiple contacts for leads, (With Company as lead) Zoho CRM

          In Zoho CRM, considering a comapny as a lead, you need us to allow addition of more than one contact. Currently the Lead Section is missing "Add contact" feature which is available in "Accounts". When you know that a particular lead can have multiple
        • The Social Wall: August 2025

          Hello everyone, As summer ends, Zoho Social is gearing up for some exciting, bigger updates lined up for the months ahead. While those are in the works, we rolled out a few handy feature updates in August to keep your social media management running smoothly.
        • Ugh! - Text Box (Single Line) Not Enough - Text Box (Multi-line) Unavailable in PDF!

          I provide services, I do not sell items. In each estimate I send I provide a customized job description. A two or three sentence summary of the job to be performed. I need to be able to include this job description on each estimate I send as it's a critical
        • ZOHO BOOKS - EXCESSIVELY SLOW TODAY

          Dear Zoho Books This is not the first time but it seems to be 3 times per week now that the system is extremely slow. I work on Zoho Books 95% of my day so this is very frustrating. Zoho you need to do something about this. I have had my IT guy check
        • Allow to pick color for project groups in Zoho Projects

          Hi Zoho Team, It would be really helpful if users could assign colors to project groups. This would make it easier to visually distinguish groups, improve navigation, and give a clearer overview when managing multiple projects. Thanks for considering
        • Zoho Books - Quotes to Sales Order Automation

          Hi Books team, In the Quote settings there is an option to convert a Quote to an Invoice upon acceptance, but there is not feature to convert a Quote to a Sales Order (see screenshot below) For users selling products through Zoho Inventory, the workflow
        • Can't find imported leads

          Hi There I have imported leads into the CRM via a .xls document, and the import is showing up as having been successful, however - when I try and locate the leads in the CRM system, I cannot find them.  1. There are no filters applied  2. They are not
        • Custom Button Disappearing in mobile view | Zoho CRM Canvas

          I'm working in Zoho CRM Canvas to create a custom view for our sales team. One of the features I'm adding is a custom button that opens the leads address in another tab. I've had no issue with this in the desktop view, but in the mobile view the button
        • The connected workflow is a great idea just needs Projects Integrations

          I just discovered the connected workflows in CRM and its a Great Idea i wish it was integrated with Zoho Projects I will explain our use case I am already trying to do something like connected workflow with zoho flow Our requirement was to Create a Task
        • Rich Text For Notes in Zoho CRM

          Hello everyone, As you know, notes are essential for recording information and ensuring smooth communication across your records. With our latest update, you can now use Rich Text formatting to organize and structure your notes more efficiently. By using
        • Clone a Module??

          I am giong to repurpose the Vendors module but would like to have a separate but very similar module for another group of contacts called Buyers. I have already repurposed Contacts to Sellers. Is it possible to clone (make a duplicate) module of Vendors
        • Updating Subform Record from other Form

          Just wanted to ask how to properly approach this. I have 2 forms and would like to trigger an auto update on the subform once record submitted. block below only updates 1 row for each recordRow in input.AV_System { AssetRecord = Site_Asset_Services[SOR_No
        • Zoho Projects MCP Feedback

          I've started using the MCP connector with Zoho Projects, and the features that exist really do work quite well - I feel this is going to be a major update to the Zoho Ecosystem. In projects a major missing feature is the ability to manage, (especially
        • Function #10: Update item prices automatically based on the last transaction created

          In businesses, item prices are not always fixed and can fluctuate due to various factors. If you find yourself manually adjusting the item rates every time they change, we have the ideal time-saving solution for you. In today's post, we bring you custom
        • Office 365 and CRM mail integration: permission required

          Has anyone run into this weird problem? My email server is Office 365. When I try to configure Zoho CRM to use this server, a Microsoft popup window opens requesting user and password. After entering that, I get a message in the Microsoft window saying
        • Introducing Profile Summary: Faster Candidate Insights with Zia

          We’re excited to launch Profile Summary, a powerful new feature in Zoho Recruit that transforms how you review candidate profiles. What used to take minutes of resume scanning can now be assessed in seconds—thanks to Zia. A Quick Example Say you’re hiring
        • Inventory to Xero Invocie Sync Issues

          Has anyone had an issue with Invoices not syncing to Xero. It seems to be an issue when there is VAT on a shipping cost, but I cannot be 100% as the error is vague: "Unable to export Invoice 'INV-000053' as the account mapped with some items does not
        • email template

          How do I create and save an email template
        • Enhancements in Portal User Group creation flow

          Hello everyone, Before introducing new Portal features, here are some changes to the UI of Portals page to improve the user experience. Some tabs and options have been repositioned so that users can better access the functionalities of the feature. From
        • Archiving Contacts

          How do I archive a list of contacts, or individual contacts?
        • How do I filter contacts by account parameters?

          Need to filter a contact view according to account parameter, eg account type. Without this filter users are overwhelmed with irrelevant contacts. Workaround is to create a custom 'Contact Type' field but this unbearable duplicity as the information already
        • Can I add Conditional merge tags on my Templates?

          Hi I was wondering if I can use Conditional Mail Merge tags inside my Email templates/Quotes etc within the CRM? In spanish and in our business we use gender and academic degree salutations , ie: Dr., Dra., Sr., Srta., so the beginning of an email / letter
        • Zoho CRM button to download images from image upload field

          Hello, I am trying to create a button in Zoho CRM that I can place in my record details view for each record and use it to download all images in the image upload fields. I tried deluge, client scripts and even with a widget, but feel lost, could not
        • Unveiling Cadences: Redefining CRM interactions with automated sequential follow-ups

          Last modified on 01/04/2024: Cadences is now available for all Zoho CRM users in all data centres (DCs). Note that it was previously an early access feature, available only upon request, and was also known as Cadences Studio. As of April 1, 2024, it's
        • blank page after login

          blank page after logging into my email account Thanks you
        • Introducing the revamped What's New page

          Hello everyone! We're happy to announce that Zoho Campaigns' What's New page has undergone a complete revamp. We've bid the old page adieu after a long time and have introduced a new, sleeker-looking page. Without further ado, let's dive into the main
        • Function #9: Copy attachments of Sales Order to Purchase Order on conversion

          This week, we have written a custom function that automatically copies the attachments uploaded for a sales order to the corresponding purchase order after you convert it. Here's how to configure it in your Zoho Books organization. Custom Function: Hit
        • RingCentral/Zoho CRM integration

          Hi I would like to know if our RingCentral/Zoho CRM integration will record incoming calls from clients to my mobile number. I have both Ringcenral and Zoho CRM apps on my iPhone. I know it records the outgoing calls I make and shows them in Zoho CRM
        • Free webinar: Security that works: Building resilience for the AI-powered workforce

          Hello there, Did you know that more than 51% of organizations worldwide have experienced one or more security breaches, each costing over $1 million in losses or incident response? In today’s threat landscape, simply playing defense is no longer enough.
        • Range names in Zoho Sheet are BROKEN!

          Hi - you've pushed an update that has broken range names. A previously working spreadsheet now returns errors because the range names are not updating the values correctly. I've shared a video with the support desk to illustrate the problem. This spreadsheet
        • Cliq iOS can't see shared screen

          Hello, I had this morning a video call with a colleague. She is using Cliq Desktop MacOS and wanted to share her screen with me. I'm on iPad. I noticed, while she shared her screen, I could only see her video, but not the shared screen... Does Cliq iOS is able to display shared screen, or is it somewhere else to be found ? Regards
        • Retainer Invoice.

          Why ZOHO not have facilities to deduct partially advance payment from an invoice.
        • Cant Save Gauge on Creator Page

          How to Save Gauge on Creator Page see movie https://vimeo.com/1116410860?share=copy#t=0
        • Granular Email Forwarding Controls in Zoho Mail (Admin Console and Zoho One)

          Hello Zoho Mail Team, How are you? At present, the Zoho Mail Admin Console allows administrators to configure email forwarding for an entire mailbox, forwarding all incoming emails to another address. This is helpful for delegation or backup purposes,
        • Apply Advance option not shown in report

          We are facing an issue in Zoho Expenses. While approving an Expense Report, the "Apply Advance" option is not appearing under the three dots (More Options). Details: Module: Expense Reports Issue: "Apply Advance" option not visible Status of Report: Awaiting
        • Introducing Assemblies and Kits in Zoho Inventory

          Hello customers, We’re excited to share a major revamp to Zoho Inventory that brings both clarity and flexibility to your inventory management experience! Presenting Assemblies and Kits We’re thrilled to introduce Assemblies and Kits, which replaces the
        • Auto Capitalize First Letter of Words

          Hi I am completely new to ZOHO and am trying to build a database. How can i make it when a address is entered into a form field like this: main st it automatically changes is to show: Main St Thank You
        • Follow-up emails via Workflow Automation not staying in the same thread

          Dear Zoho Support Team, I am currently using Workflow Automation in Zoho Campaigns to send follow-up emails. In my test case, I noticed the following behavior: All emails in the automation have the same subject line. If the follow-up email is sent within
        • Next Page