Zoho CRM: Automate using Custom Functions - An Introduction

Zoho CRM: Automate using Custom Functions - An Introduction



Hi folks!


With every growing business, the next step is what matters. Zoho CRM manages your business; makes it easy.  But say you want a little more ease in CRM, you want a tad more flexibility in a framework. For  example,  Let' s assume that a user needs to create  invoice copies of purchase orders to make accounting easier. However, this option is normally unavailable in your CRM account. So how do you do it?  Your solution: Custom Functions! 

 

What are Custom Functions?

  • Custom functions in Zoho CRM are pluggable workarounds that let you accomplish a task that is not doable out-of-the-box. 
  • They are powered by Deluge. So essentially all custom functions are written in Deluge. An intuitive drag and drop interface lets you set up your custom functions in no time.
  • They facilitate workarounds within CRM and, between CRM and other products.

#Supported Zoho CRM Editions -  Enterprise and Ultimate.


Why Custom Functions?  

  1. Custom functions provides immense flexibility and empowers you to explore alternative ways of solving a CRM problem. 
  2. They also eliminate the need to wait for a feature to be built into the product. You have more control on what you want to get done. After all, requirements differ from business to business.

How it works?

 

Without further ado, let me just give you a quick overview on what custom functions in Zoho CRM is all about.


Sample scenarios where you'd want to use Custom Functions:

  • Automatically update the address information of a contact based on the address information of the parent account.
  • Apply a discount to a particular customer if the revenue generated by the customer exceeds a certain limit.
  • Mark a deal as 'lost' if the status of the deal is not "Closed (Won)" after the closing date is passed.
  • After successful negotiation, create follow-up activities that you and your team need to do.
  • Create a project in Zoho Projects (preferably) or any third-party application when the potential is won and closed in CRM. And also, access the link from an Account or Potential record to monitor the project!

As you can imagine, the scope for custom functions is huge.  So we, at Zoho CRM are excited to bring you a series that will start with simple custom functions that help solve a few basic problems and then gradually progress to advanced functions that will work some magic into your CRM.

 

We'll be dishing out such custom functions every forthcoming week to aid you in managing your customer relations better. Rather than spend time coming up with a code to customize your CRM, you can now simply use these custom functions with tweaks required. Let's get you started.


How to get started?


Hop on to our documentation linked here for the detailed steps and the ways in which you can add custom functions.


https://www.zoho.com/crm/help/automation/custom-functions.html#Set_Up_Customfunction


So, here we go folks! We are all set to create awesome custom functions that will make your CRM proactive and efficient. We'll share a custom function every Tuesday in this section of our community. To stay notified as and when new posts and comments are made, make sure you follow this forum. We look forward to having a lot of conversations with you all around building simple, yet powerful custom functions as we go! Catch you next Tuesday!

    Access your files securely from anywhere







                          Zoho Developer Community






                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • Sticky Posts

                                                          • Zoho CRM Functions 53: Automatically name your Deals during lead conversion.

                                                            Welcome back everyone! Last week's function was about automatically updating the recent Event date in the Accounts module. This week, it's going to be about automatically giving a custom Deal name whenever a lead is converted. Business scenario Deals are the most important records in CRM. After successful prospecting, the sales cycle is followed by deal creation, follow-up, and its subsequent closure. Being a critical function of your sales cycle, it's good to follow certain best practices. One such
                                                          • User Tips: Auto-Create Opportunity/Deal upon Quote Save (PART 1)

                                                            Problem: We use quotes which convert to sales orders but Users / Sales Reps do not create opportunities / deals and go straight to creating a quote. This leads to poor reporting. Implementing this solution improves reporting and makes it easier for users.
                                                          • Custom Function : Automatically send the Quote to the related contact

                                                            Scenario: Automatically send the Quote to the related contact.  We create Quotes for customers regularly and when we want to send the quote to the customer, we have to send it manually. We can automate this, using Custom Functions. Based on a criteria, you can trigger a workflow rule and the custom function associated to the rule and automatically send the quote to customer through an email. Please note that the quote will be sent as an inline email content and not as a PDF attachment. Please follow
                                                          • Function #50: Schedule Calls to records

                                                            Welcome back everyone! Last week's function was about changing ownership of multiple records concurrently. This week, it's going to be about scheduling calls for records in various modules. Business scenario Calls are an integral part of most sales routines.. Sales, Management, Support, all the branches of the business structure would work in cohesion only through calls. You could say they are akin to engine oil, which is required by the engine to make all of it's components function perfectly. CRM
                                                          • Function #37: Create a Purchase Order from a Quote

                                                            Welcome back everyone! Last week, we learnt how to calculate the total number of activities for a lead and further take note of the activity count for particular dates. For instance, from the period of Demo to Negotiation. This week, let's look at a function that lets you create a Purchase Order instantly from a Quote. Business scenario: In any form of business, one of the most important things to do is to document the transactions. Naturally, negotiation, signing an agreement, placing an order,


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources


                                                                                            Zoho Writer Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ




                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方




                                                                                                          • Recent Topics

                                                                                                          • Steuerberater der Zoho benutzt in Deutschland

                                                                                                            I write in English because the issue is related to German regulations. Wir sind ein Unternehmen, welches aktuell keine Pflicht zur doppelten Buchführung hat. Aktuell bucht unser Steuerberater jeden Beleg, auch unsere Auslagen. Wir würden dies gerne selbst
                                                                                                          • GraphQL in new Send Webhooks feature

                                                                                                            Hello, is it possible to use GraphQL apis in the new Send Webhooks feature?
                                                                                                          • # 2 Why do we need a billing system when accounting covers billing?

                                                                                                            In today's evolving financial tech stack, businesses use a mix of tools to manage their day-to-day operations, from invoicing to full-fledged accounting. While accounting platforms typically come with built-in invoicing features, specialized billing systems
                                                                                                          • How to insert an Excel/Zoho Sheet table in a chat?

                                                                                                            Hello, is there a way to paste an excel/zoho sheet table to a conversation without loosing table lines. I tried to paste a piece of a table and all the columns and rows were gone. How to easily paste a table without a need of sending a file? Katarzy
                                                                                                          • Mass Update Application Status

                                                                                                            How to update application statuses of Multiple Applications at once? Is that possible? If not then why please consider adding it It can save hours of manual work Thats the only Option I see
                                                                                                          • Free webinar: Streamlining customer service paperwork with the Zoho Sign extension for Zoho Desk

                                                                                                            Hi there! Wondering how to bridge the gap between digitized customer service and business paperwork? Attend our free webinar to learn how you can do this by connecting Zoho Sign, our digital signature app, with Zoho Desk, our online customer service help
                                                                                                          • Mail Search Not Working

                                                                                                            Hello, Mail search is not working at all. I've tried Chrome and Mozilla. I can try and search for an exact term, or even an email that is 1st in my email list. All search does is sit and spin, or it comes up with no results. I've also tried it on my android
                                                                                                          • Cannot Send Email to a Gmail Account

                                                                                                            Hello, I have a zoho-hosted email account, alex@chirochannelnetwork.com that has trouble sending to gmail accounts.  But not all gmail accounts, only some of them. I've tried to figure this out with clients, and they don't appear to be going into their
                                                                                                          • Unblock ME

                                                                                                            info@pentekykloi.gr Unable to send message;Reason:554 5.1.8 Email Outgoing Blocked. Learn more. I purchase additional storage
                                                                                                          • Cannot Print Landscape with Zoho Sheet

                                                                                                            I am noticing that when using the Zoho Sheet desktop for Mac, that even when selecting landscape as the print option, once you choose "Print", a second system dialog opens that automatically makes the view portrait again, and does not allow printing in
                                                                                                          • Power of Automation : Enhancing custom date field calculations by excluding Weekends and Holidays

                                                                                                            Hello Everyone, A Custom function is a user-written set of code to achieve a specific requirement. Set the required conditions needed as when to trigger using the Workflow rules (be it Tasks / Project) and associate the custom function to it. Requirement:
                                                                                                          • Stock count by bin location

                                                                                                            Is there a configuration to make a stock count by bin or area and not by product. these is useful to manage count by area Regards
                                                                                                          • Temporary Outage in Zoho Cliq Affecting US Users – July 23, 2025

                                                                                                            We experienced a service disruption in Zoho Cliq that impacted core functionality for users in the US region. The issue occurred between Jul 23, 2025, 06:54:00 PM IST and 07:13:13 PM IST, lasting approximately 19 minutes. To restore service stability,
                                                                                                          • portal.assignUserInProfile - Não esta adicionando

                                                                                                            Estou encontrando problema com este comando portal.assignUserInProfile Não esta incluindo o usuário no portal Alguém pode me dizer o que pode ser thisapp.portal.assignUserInProfile("teste@gmail.com","Customer");
                                                                                                          • CRM emails vs Campaigns

                                                                                                            Please help me understand this. I am having a difficult understanding of "Campaigns" sent through CRM (real emails) or Zoho One (blast "potentially junk" emails) This is what I currently think emails sent via CRM are "real" emails sent through linked real personal email accounts and therefore are more likely to get delivered.  We use this for critical updates for our "Approved " accounts and certain other preferred statuses emails via Campaigns are sent through the Zoho server (like MailChimp, Campaign
                                                                                                          • Setting up property management in Zoho Books

                                                                                                            Hi, I run a property management business that manages property complexes. There are multiple owners, some owning more than one property on the same complex. My role is to manage the fees they pay for maintenance of common areas, such as the swimming pool
                                                                                                          • Reverse proxy

                                                                                                            We have a web application in the creator platform. When I launch a particular DNS, I would like that DNS to redirect to the web page of the application in creator app. Has anyone achieved it and if yes, please share how to do it.
                                                                                                          • Still client need to download .exe?

                                                                                                            Hello, the client for use zoho assist need everytime download .exe file and launch it?
                                                                                                          • Splitting a ticket's entire thread

                                                                                                            Hi, When you split a ticket it only splits the individual reply that you clicked "Split as new ticket" on. Is it not possible to split the entire ticket thread from that point into the new ticket (every reply from the split point forward)? Or is there
                                                                                                          • Editing the text on the Help Center home page

                                                                                                            Is it possible to edit the "Welcome to Help Center" message anywhere? This one: We'd like to be able to tailor it a little more ourselves.
                                                                                                          • WHMCS for Zoho Flow

                                                                                                            Can we use WHMCS for Zoho flow?
                                                                                                          • Online meetings through Calendar Booking form with options

                                                                                                            This is great to see and particularly for those users who don't have Zoho BOOKINGS. The shame of it all though is that it could have been better. Why do we have to set up separate booking forms for each type of meeting and for each online conferencing
                                                                                                          • Agents permission per department

                                                                                                            Hi Team, can I setup permission for each agent what they can do in each department, for example I want account department agents to only have view access to support department tickets and not allowed to assign or reply to clients. I am sure this would
                                                                                                          • CRM notes

                                                                                                            I want to be able to add notes to a task that do not necessarily get rolled up into an account or contact.   For example, I tasks to work on a Court Order for John Doe divorce account.  There might be lots of updates (in the form of notes) that employees
                                                                                                          • Introducing parent-child ticketing in Zoho Desk [Early access]

                                                                                                            Hello Zoho Desk users! We have introduced the parent-child ticketing system to help customer service teams ensure efficient resolution of issues involving multiple, related tickets. You can now combine repetitive and interconnected tickets into parent-child
                                                                                                          • Function #8: Add additional charges to invoices

                                                                                                            Here goes one of the highly sought-after custom functions in Zoho Books. If you find yourself needing to apply additional charges to customers on their invoices (say credit card surcharges, or fuel charges applicable to customers from a certain region,
                                                                                                          • Alternative / optional Position

                                                                                                            How do you create an alternative position or an optional position (article) in offers?
                                                                                                          • جمود في الصفحة عند حفظ عمل

                                                                                                            عندما اقوم باضافة ايقونة الى صفحة النموذج تجمد الصفحة ولا تعمل وتصبح مثل المظلة احدث الصفحة لا تعمل انتظر قليلا لا تعمل اقوم بنسخ رابط الصفحة والصقه في الرابط فيعمل
                                                                                                          • ZOHO Books Canadian payroll Integration

                                                                                                            Hello, I know ZOHO books doesn't have Canadian payroll and I dont believe its coming anytime soon. My question is there a Canadian payroll software that could be integrated with Zoho Books? Thank you HD
                                                                                                          • Zoho Desk Time Tracking and the Salary Privacy Issue

                                                                                                            Hello colleagues, Just wondering if anyone did hit the same wall? In the Desk, when the agent-specific hourly rates are enabled (Zoho Desk → Setup → Time Tracking → Billing Preferences), these Time Entries are being displayed in the Ticket History tab.
                                                                                                          • How to Delete, Disable, or Remove Streams from the Mail App?

                                                                                                            Is there a way to remove Streams from the mail app sidebar? I get too many notifications, it doesn't add any value to Zoho's functionality (especially since you can just make comments inside an email), and is distracting. I do not want notifications/alerts
                                                                                                          • Delay in MX updates

                                                                                                            Hi, I set MX Records 12 hours ago, and I am receiving email normally, but I still get notification MX record is not pointing correctly. Error: The MX records of your domain is not yet pointed to Zoho Mail. Why there is a delay in detecting MX records,
                                                                                                          • Bigin iOS and macOS app update: Link email messages to pipeline records.

                                                                                                            Hello everyone! In the latest version of the Bigin iOS(v1.11.9) and macOS(1.8.9) app, we have brought in support for an option to link email to pipeline records. This helps you to view emails specific to a deal, especially when a contact is associated
                                                                                                          • make.com integration

                                                                                                            Just wondering if anyone on Zoho One account connecting apps to Make.com We're on Canadian server (.com) and when connecting to Make.com, it keeps having error of Invalid Client ID. I have contacted both Zoho and Make and both sides said it's not an error
                                                                                                          • Article Numbers for KB articles

                                                                                                            Hello, I was wondering if it's possible to turn on article numbers/ part numbering for KB articles. If this is not already a feature, we'd like to request it. Frequently a solution will require multiple articles so tracking which articles are referenced
                                                                                                          • Refund Request ,Zoho Mail Subscription (zoho suport is not replying)

                                                                                                            Hi Zoho Team, I recently subscribed to the Zoho Mail yearly plan, but after evaluating it, I found that the interface does not suit my workflow. I’ve already canceled the subscription from my end. As I’m well within your 30-day refund window, I’m requesting
                                                                                                          • File Encryption - Zoho Desk iOS app update

                                                                                                            Hello, Everyone! We have now introduced the 'File Encryption' option within the Zoho Desk app as part of the HIPAA Compliance. This option allows the user to encrypt the attachments within the Desk mobile app, which acts as an additional layer of security.
                                                                                                          • Data encryption - Zoho Desk iOS

                                                                                                            Hello, Everyone! In the recent iOS version(v2.8.23) of the Zoho Desk app, we have supported data encryption. As a part of HIPAA Compliance, the Zoho Desk mobile app now allow users to encrypt the Desk mobile database as an additional layer of security.
                                                                                                          • Notify Admin when a user forgets to check-in or check-out at the designated time.

                                                                                                            Hello, I would like notify the Admin via email when a user forgets to check-in or check-out at the designated time. What is the best way to setup this email notification?
                                                                                                          • Assistance Needed with Prospect Conversion Issue

                                                                                                            Hi, I attempted to convert a prospect to an account, but received a pop-up notification indicating that the contact information matches an existing contact. I selected the option to add it to the existing contact, but it appears the prospect was not successfully
                                                                                                          • Next Page