Episode I : Exploring the World of Custom Functions in Zoho Desk
Episode I : Exploring the World of Custom Functions in Zoho Desk
Hello Again! Welcome to an Automation Adventure in the World of Zoho Desk Join us on a journey to explore how custom functions can enhance and extend the capabilities of Zoho Desk.
Automation is everywhere. From robotic arms assembling products on factory floors to automating tasks in the software world, automation has revolutionized how we work out stuff. But what does this have to do with Zoho Desk?
Anline, a curious resident in the Zoho Desk world, is exploring how automation can transform her workflow.
Anline’s Quest in the Zoho Desk World
Anline is building her own world within Zoho Desk, but she’s hit a few roadblocks. She wants to perform specific operations; like updating ticket statuses, fetching data from external services, and automate repetitive tasks. She knows Zoho Desk has the tools she needs, but where does she start?
DeskAutomate Services is here as a guide to the Automation City. The citizens of Zoho Desk World operate based on their licenses. Each license unlocks different levels of automation capabilities.
Anline has the Enterprise edition, which grants her the access to the most powerful tools: Custom Functions. How can this empower Anline?
The Power of Custom Functions
Custom Functions are like magic spells in the Zoho Desk world. They give users flexibility to tailor automation to their exact needs. While basic automation features are available to all license holders, Custom Functions are exclusive to Enterprise users. These functions let Anline go beyond the basics and create automations that meet her unique requirements. What makes them even more accessible is Deluge, Zoho’s in-house scripting language.
But there’s a catch: Anline isn’t a coding expert in Deluge. How can she harness the power of Custom Functions without getting lost in complex scripts? DeskAutomate guides Anline to the prebuilt functions and a user-friendly framework, simplifying the coding process.
Whether you’re new to coding or an experienced developer, Deluge simplifies the process of creating Custom Functions with its intuitive interface and drag-and-drop functionality.
The Deluge Script Editor: Your Coding Playground
To access the Custom Function window, go to Setup (S) >> Developer Space >> Functions >> New Function.
When you open the Custom Function window in Zoho Desk, you’ll find a user-friendly interface designed to help you build scripts using drag-and-drop options. Here’s what you’ll discover: Each section has predefined variables which you can drag and use based on your requirements.
1. Basic Commands The Basic section includes essential commands like setting variables, adding comments, and inserting informational text into your script. These foundational elements help you structure your Custom Function logically.
2. Conditional Logic The Condition section allows you to add conditional operators such as if, else if, and else. These operators let you program decision-making logic into your Custom Function. Example:
if (TicketStatus == "Open")
{
info "This ticket is still open.";
}
3. Notifications The notifications section lets you enter values to send emails or post messages via Cliq. Example:
message : "Thank you for your enquiry. A ticket has been created and our experts will respond to you."
];
4. Integrations Zoho Desk makes coding easy for integrations. With drag-and-drop options, you can create webhook integrations and API calls without writing complex code from scratch. The Custom Function window provides all the necessary code snippets, so you can customize them to fit your requirements.
5. Collections The Collections feature lets you gather and manage strings of data or specific information within your Custom Function. This is particularly useful when you need to process or analyze multiple data points. Example:
myList = Collect();
myList.insert("ID1");
myList.insert("ID2");
myList.insert("ID3");
for each ID in myList
{
info ID;
}
You can also enable the Syntax Builder within your Coding playground. Enabling this option will help you choose variables from the drop-down windows having prebuilt variables/Fields.
Mapping Parameters and Testing Your Script
Once you’ve built your Custom Function, the next step is to map it to your Zoho Desk environment:
1. Edit Arguments The Edit Arguments option lets you map params within your Custom Function to fields in your tickets. For example, you can link the Ticket ID, Ticket Owner, or Case ID to the corresponding fields in your Zoho Desk setup. This ensures that your Custom Function interacts seamlessly with your data.
2. Authentication and Connections Zoho Desk uses OAuth tokens to establish secure connections for Custom Functions. Commonly, this involves using Zoho OAuth to make API calls within Zoho's scope. You can choose the appropriate scopes during authorization to ensure your Custom Function has access to the necessary data and functionalities. Note: If you choose third-party applications, please create a connection using the required default or custom services.
3. Save and Test
After saving your script, use Save & Execute Script to test it with sample inputs. This lets you test the function, ensuring functionality, debug, and refine your code before deployment. In the upcoming episodes, we'll dive into how Custom Functions work and contribute to expanding the capabilities within Zoho Desk. See you in the next episode, Regards, Lydia | Zoho Desk.
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
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.
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.
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
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
Dear users, Your business can have robust task, issue, and resource management systems but it still silently bleeds time and money as documents stay stuck at stakeholder approval. Document signatures introduce indefinite wait times, and nobody inside
Healthcare recruitment goes beyond finding the right nurse. Recruiters must also verify that a nurse's professional licenses are valid and in good standing before they can begin work. This process is often manual, requiring recruiters to switch between
I had mentioned this to ZOHO, but I mainly wanted to see if others in the Community are also facing this problem. I created a Canvas ListView for a Custom Module, and then created a Canvas Home page (technically on a tab item, but I'm not sure if that
The latest version of the Zoho Cliq desktop app (v1.8.0) will no longer be supported on macOS 10.15 Catalina and earlier versions. This is because the framework we use (Electron) no longer supports some older macOS versions. If you’re using macOS 10.15
In most of our projects we collaborate with our Vendors. Being able to integrate only Accounts and not Vendors from CRM, is a huge limitation for our perspective and needs. We would really love to see this feature in the CRM-Projects integration.
Coming up with one great social media idea is hard enough. Turning that idea into content for every social network can feel like starting all over again. But what if you didn't have to? A single idea can become multiple posts when you adapt it to the
Hello Everyone, This week's edition introduces a custom function designed to automate Guided Conversations in Zoho Desk, based on your business hours. With this feature, you can align the bot's behavior with your business schedule, ensuring a smooth and
We've rolled out several updates and enhancements to the Trips and Advances modules in the Zoho Expense Android app, making it easier to view, manage, and act on your trips and advances. Here's what's new: Unified Module List Pages We've unified the design
Hello everyone, Meta has announced changes to the pricing of WhatsApp service messages (non-template messages) sent through the WhatsApp Business Platform. Starting October 1, 2026, service messages will become chargeable. This change applies to service
Is there really a need to add comment to every single forum post - regardless of previous outcome, status or age - with the same tiresome "3 or 4 point suggestion + summary" structure, that in most cases simply repeats what was already determined?
Refashioned Zoho Books integration with Zoho CRM Dear Customers, We're pleased to announce a significant upgrade to the Zoho Books integration in Zoho CRM, offering greater convenience. TL;DR: Zoho Books record's information is now accessible directly
I have a regular drop-down pick-list and we realized that we need this info as a multi-select pick-list. I don't think there is a way to convert from one type to the other, but what is the simplest way of moving the data over? Meaning, whatever value
System-wide keyboard navigation problem with searchable dropdown fields Zoho Books needs better keyboard support when completing forms. This is not limited to one screen or one specific workflow; it appears to be consistent behavior throughout the application.
CRM workflow conditions work great in majority cases, e. g. I want to send an email upon a particular data event. Now, there are cases where I want the workflow, email, email template to sit on a module A (let's say Companies) but the condition depends
In continuation of the previous post on how to compute revenue recognition, let's explore a solution that helps businesses handle real-world complexities. While the Accounting Standards provide a clear framework for recognizing revenue, the real challenge
Currently the only workaround is to clone an order and manually delete items from each order. A simple split function would allow users to choose lines or quantities and move them into a new sales order. Examples: Customer wants available stock shipped
I am happy with the clean interface of the Client Portal. However, I am running into a challenge: my customers would like to be able to add tips/gratuities when making payments. Currently, this is very clunky because they have to 1) manually over-pay,
The Zoho Team has implemented many updates, but these updates should be optional. Before rolling out any new feature, they should already have a solution in place that allows users to remove or disable it if they choose not to use it. Just yesterday,
Hello Zoho Desk Team, Greetings, and hope you are doing well. We would like to submit a feature request regarding the ability to control ticket movement between departments in Zoho Desk. Current Limitation: At present, Zoho Desk allows agents to move
Hi, Is there a way to hook Venmo into zoho books? I have a Venmo business account and want to be able to sync that. I know you can do it with the paypal integration but I dont want to use paypal for the fees and that doesnt allow me use/integrate my current
Hi, I am the super administrator for our company's email account. I just created 4 new email accounts, and my users have downloaded the zoho mail app. However they are unable to login to their email on the app. It kept saying "User does not exist". Please help! Thank you.
Not everyone using Zoho Invoice is registered for tax. Maybe you have just started your business. Maybe you are still below the registration threshold. Or tax registration simply does not apply to your current setup. In that case, an invoice that says
Alberta has just made the decision to get rid of daylight savings. This means that as of November 1, 2026 we remain on UTC-6 year-round. We have timing errors in meetings scheduled after that For example, we scheduled meetings in late November at 9:00
1/ The fact that CRM variables are deployable from sandbox to production goes against the principle of environment separation. We are at risk of overwriting production with sandbox values; or vice versa when rebuilding the sandbox as production vars will
Hi Campaigns Team, I have noticed that the social icons you provide to users do not have transparent backgrounds. When a dark background is used in the footer, with the exception of X they all have white corners even though they are circular icons.
Hello, I could have sworn this used to work, so I'm not sure when it stopped, but I have a canvas view on my Account record detail page and I have a lookup field with its 3 mirror fields on said page. If I just put the fields separately, they render fine.
Dear customers, We're excited to share some significant improvements to our Office 365 calendar synchronization features, aimed at providing you with more control and a more personalized experience. What’s new Choose your Office 365 calendar: During the
I purchased the zoho books before and again i purchased zoho inventory after 2 day while syncing the orzaniazation i deleted the trial account of inventory and started the new organization on same user. The problem is that the new inventory organization
Hi Zoho Team, I've noticed that Cadance data is not currently available in Zoho Analytics. Is there a timeline for when this will be available? Thanks, Ashley
Dear Zoho, Can it be made possible to create a package from a picklist? The reason our company makes a picklist is for that to become a package Our sales orders have 600-1000 items I hope that makes it clear that it's hard to delete 990 items when we
Employees in an organization work across several projects simultaneously. Their work hours are split among multiple tasks from different projects. Logging time for each task manually can lead to inconsistency, and the effort rarely gets divided equally.
Hello everyone! The first half of September brought subform-level workflow rules, emoji reactions on notes, and the new zoho-crm skill for AI-assisted CRM development. Given how much there is to it, we've followed the announcement with two Kaizens: one
Hey All, I started seeing this GUI pop up recently when mapped buttons have a parameter that is null. (It might be a new behavior, or perhaps I'm only recently coding where I'm running into it now where I was not prior.) Instead of passing the null through
Hello Zoho CRM Product & Engineering Team, Requested Feature: Introduce an afterRowCommit (or post-commit onRowSave) subform event in Client Scripts that fires immediately after an inline subform row has been successfully committed to the database, passing
Hello. I have a form that takes a prefill querysting parameter for a product stock code and uses it to populate a single line textbox. I'd like to be able to use that value to create a link in a description field using the token like: ${zf:SingleLine1}.
Liebe deutschsprachige Zoho Community, Vor dem Hintergrund der sich weiterentwickelnden Anforderungen an die elektronische Rechnungsstellung in Deutschland ist jetzt der richtige Zeitpunkt, um zu verstehen, welche Vorbereitungen Ihr Unternehmen treffen
Hello everyone, We are excited to invite you to another edition of the Learning Table Series webinar. Building an application involves more than just development. It starts with understanding business requirements and planning the solution before building