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

                                                                                                          • Documents unable view and need to downlad

                                                                                                            I can't view .doc files in Zoho mail unless I download them, but I can view PDF files without downloading.
                                                                                                          • we encountered a problem while sending your email. please try again later.

                                                                                                          • Adding and removing people from groups

                                                                                                            We're having problems adding people to a group. Apparently Zoho has one email address and will not recognize a different email address.
                                                                                                          • MAIL SEARCH IS NOT WORKING

                                                                                                            THIS ISSUE HAS BEEN BUGGING ME SINCE MORNING, PLEASE RESOLVE THIS AT THE EARLIEST
                                                                                                          • URL Parameter on Help Center SIgn in link

                                                                                                            Is it possible to add a url parameter to the sign in link on the Help Center?
                                                                                                          • migrating from HelpScout

                                                                                                            I am attempting to import a conversation file from helpscout into desk and am receiving size errors. What is the current file size restriction. Does anyone have any tips for a successful migration?
                                                                                                          • Layout Rules Don't Apply To Blueprints

                                                                                                            Hi Zoho the conditional layout rules for fields and making fields required don't work well with with Blueprints if those same fields are called DURING a Blueprint. Example. I have field A that is used in layout rule. If value of field A is "1" it is supposed to show and make required field B. If the value to field A is "2" it is supposed to show and make required field C. Now I have a Blueprint that says when last stage moves to "Closed," during the transition, the agent must fill out field A. Now
                                                                                                          • Article Name Sorting in Zoho Desk Knowledge Base (agent / admin side)

                                                                                                            Dear Zoho Desk Support, We are writing to request an enhancement to the Knowledge Base management feature within Zoho Desk. Currently, there is no option to sort articles by their name, which significantly hinders efficient article management, especially
                                                                                                          • How to parse JSON data with SQL in Zoho Analytics?

                                                                                                            Hi all, I have a column with JSON data. I want to show this column in a chart, but it is very messy, and no JSON parsing function is supported on Zoho Analytics. data example: {"id": 5, "status": "false", "date": "15/10/22"} what I want to do in SQL is
                                                                                                          • Ability to turn off "Would you like this amount to be reflected in the Payment field?" message

                                                                                                            Team, Is there any way to turn off the message" Would you like this amount to be reflected in the Payment field?" when I make a payment? This is so annoying. This happens EVERY TIME I put an amount in the Payment Made field.
                                                                                                          • Add an Equation Field (Or update the Formula Field)

                                                                                                            Hi, I would like to be able to have one field as a Text Field with QR Code, and then have multiple Equation/Formula Fields that then take parts of that fields data with LEFT, MID, RIGHT, REGEX, etc. Thanks Dan
                                                                                                          • How to parse column having JSON data using SQL?

                                                                                                            We have a daily sync from a PostgreSQL database that brings data into Zoho Analytics. Some of the columns store raw JSON data. We need to build SQL queries on top to parse data from JSON and store them in discrete columns. There is no option for "Data
                                                                                                          • Enable report button based on the current user role

                                                                                                            Greetings  i have a report that contains action buttons, i want these buttons to appear as enabled only when the current logged in user has a certain role, for example only CEO role users will be able to use this button. but when setting the conditions
                                                                                                          • 500 Internal Error In Mail API

                                                                                                            I'm getting 500 Internal Error when using mail API. I'm getting this error for this one account, it works fine for other Account IDs which I have in my system.
                                                                                                          • Piss poor service in Support in Domains and email

                                                                                                            Srijith Narayanan B contacted me today. Very pleasant fellow. Just didn't want to tell him how bad your support service is. You help the person, but you leave before we can finish the next stage. Which causes a lot of frustration. It's been 8 days now
                                                                                                          • Zoho live chat widget in React Js

                                                                                                            I am trying to test Zoho live chat widget code in react js, below is the sample code void(0)} onClick={()=>window.$zoho.salesiq.floatwindow.visible("show")}>LIVE CHAT window.$zoho = window.$zoho || {};window.$zoho.salesiq = window.$zoho.salesiq
                                                                                                          • Are there any plans to add Triggers for Subform edits?

                                                                                                            By The Grace of G-D.  Hi, How are you? Can you tell me if you have any plans to support subform edit as a workflow trigger? And what about have them trigger an "onChange" client script?
                                                                                                          • Zoho commerce

                                                                                                            i am facing issue with order summary emails.i am getting 1 continuous email for order received yesterday and today.ideally 1 email should be received for a particular date ie for 02/08 i should received 1 email from 12.01am till 11.59pm but it is being
                                                                                                          • Feature Request: Improve Category Page Sorting for "Out of Stock" Products

                                                                                                            Hi there, I'm writing to request a new feature that I believe would significantly improve the user experience in my online store. Currently, on category pages, products are sorted by popularity. However, when a popular product goes "Out of Stock," it
                                                                                                          • POSTMAN - There was an error in evaluating the Pre-request Script:Error: Cannot read properties of undefined (reading 'json')

                                                                                                            I am beginning the journey to learn how to use the API for Zoho Sign. I am getting the following error when I try to use postman. To walk you through how I am getting this error... I wanted to start with a simple GET and expand my learning from there.
                                                                                                          • How do i integrate shipstation with zoho inventory

                                                                                                            Wanting to set up my own delivery driver in ship station so we can get real time tracking of where the package is but then i want it to automatically update zoho inventory packages/shipments how can i do this
                                                                                                          • Invalid value passed for salesorder_id

                                                                                                            Hi, I am using sales return API, details are given below: API: https://inventory.zoho.com/api/v1/salesreturns?organization_id=700571811 Post Json Data: { "salesreturn_number": "", "date": "2020-11-12", "reason": "Testing from API", "line_items": [ { "item_id":
                                                                                                          • Create Invoice and Invoice Items from Sales Order via API

                                                                                                            Currently, when creating an Invoice associated with a Sales Order via the API, it appears that I must manually include all of the items (line_items) even though they are already part of the Sales Order. My question is this: is it possible to raise an Invoice via the API based on all of the information associated with a Sales Order--such as the  items? In other words, do I always have to manually include the items (line_items) when raising an Invoice via the API when the Invoice is associated with
                                                                                                          • Outlook 2013 Calendar Syncs but "Related To" Field in Zoho is blank

                                                                                                            Outlook 2013 Calendar Syncs but Related To Field in Zoho is blank I expect the "Realted To" field to be populated with the calendar participants
                                                                                                          • Export a Course

                                                                                                            Is it possible to export a course from Zoho Learn to a SCORM file?
                                                                                                          • Add and Remove Agents from Departments and Groups in Zoho One

                                                                                                            Hi Zoho Flow Team, We hope you're doing well. Currently, Zoho Flow provides an action to add an agent to a group in zoho one, but there is no action to remove an agent from a group or a department. Another action that we find missing is the option to
                                                                                                          • Zoho learn Custom portal - networkurl & CustomPortalId

                                                                                                            I want to get my individual account’s networkurl and customportalId to use in this API: https://learn.zoho.com/learn/api/v1/portal/<networkurl>/customportal/<customportalId>/manual How can I retrieve the networkurl and customportalId using the API? I
                                                                                                          • Consumer Financing

                                                                                                            Does Zoho currently have a payment gateway (such as Stripe, Square, etc) which offers financing for customers? So, let's say the estimate we give the customer is greater than what they can afford at the time, but we can sell the service now, letting them
                                                                                                          • Intégration de la gestion des Passkeys dans Zoho Vault

                                                                                                            Zoho Vault est depuis plus d’une décennie une solution fiable pour les entreprises : pour la gestion, le partage et le stockage des mots de passe. En 2018, nous avons fait un pas en avant en proposant la connexion unique (SSO). Nous sommes fiers de franchir
                                                                                                          • Scan & Fill with double quote key/value pairs

                                                                                                            Hi, An old Ticket moved to a Topic/Idea: I love the idea of the new Scan & Fill as it nearly covers my previous request for a QR Scanner to read a multi-part QR Code. My QR Codes are hard-coded as below: {"key1":"value1","key2":"value2","key3":"value3"}
                                                                                                          • Analytics SQL Queries should allow # as comment

                                                                                                            # and // are very common for commenting in SQL. Not sure why analytics only allows /* and */ for commenting. Especially when # grays the line as if it's being commented out. This should be added for sure.
                                                                                                          • SalesIQ Operator Activity Reports in Zoho Analytics

                                                                                                            I'm busy building a dashboard in Zoho Analytics and I want to include SalesIQ stats in the dashboard, but I'm unable to get the statistics mentioned in the attached image. Any idea where I can get the stats for Operator Activity?
                                                                                                          • Default in fields on Form B based on the user selection in Form A

                                                                                                            Hi Everyone, I have added an action button to a form report to bring up a new form based on user selection, see it indicated in red below: Then when the ne form loads, I want to default in some of the fields based on the record the user was selected on.
                                                                                                          • No longer can indent

                                                                                                            Hey there! Is it just me or were we used to be allowed to used tab or indent when writing. It’s not working right now, has this always been the case?
                                                                                                          • Free webinar alert! Seamless Transition with Lossless Migration: Zoho One + Zoho Mail

                                                                                                            Hello Zoho Mail Community! 🚀 Attention IT Admins and Email Administrators! Are you planning to migrate your organization's email to Zoho Mail within the Zoho One ecosystem? 📧 Join our exclusive webinar, Seamless Transition with Lossless Migration: Zoho
                                                                                                          • Add Resource to Export

                                                                                                            The Export Data feature does not include a column for the Resource field. Without this column, Zoho Bookings cannot be used by any business for resource-based services or event types e.g. room bookings, equipment bookings. It seems to be an oversight,
                                                                                                          • Client Script | Update - Client Script Support For Custom Buttons

                                                                                                            Hello everyone! We are excited to announce one of the most requested features - Client Script support for Custom Buttons. This enhancement lets you run custom logic on button actions, giving you greater flexibility and control over your user interactions.
                                                                                                          • Mandatory field via deluge code

                                                                                                            I would like to ask you if it is possible to make a field mandatory via deluge script. For example, if I have a decision box and I click on it then I want a single line field to be mandatory. If uncheck the decision box then to do the single line as optional. I think it is not possible to do that and I have to do it via validation in 'on validate' field. 
                                                                                                          • Revenue Management: #1 What does it mean to "recognize" revenue?

                                                                                                            Earning revenue isn't just about collecting cash from your customers. It's about recording the income correctly and consistently. Revenue recognition is the process of deciding when and how to record revenue in financial statements so that they reflect
                                                                                                          • Power of Automation :: Auto-Populate Integration Field in Projects with CRM Account Data

                                                                                                            Hello Everyone, A custom function is a software code that can be used to automate a process and this allows you to automate a notification, call a webhook, or perform logic immediately after a workflow rule is triggered. This feature helps to automate
                                                                                                          • Next Page