Introducing Serverless Functions!!

Introducing Serverless Functions!!

Serverless architecture, also known as "Function-as-a-service"(Faas), provides a platform for developers to write functions to integrate the CRM and any third-party application. These codes, written in Deluge, can be triggered from any other third party services or it can be triggered directly from any web or mobile app. Most applications require a server that lets them host their applications, parsing, sharing and computing data.

However, having to set up a server just for the sake of providing a simple solution to their customers will not bode well for some. Furthermore, running a server also includes HTTP issues and scalability issues. As such, you can use Zoho CRM's serverless environment to run your application in sync with CRM without the need to put up a server.

If I had to give an example, setting a server is like setting up a restaurant and making people come over. But serverless architecture is like door-step delivery.





Here's how Serverless Architecture work

Let us assume that there is Zylker Inc. which is an online store that sells different products. They, however, are not the manufacturers, hence they need to procure the products from vendors and deliver it to the customers.

Here's how the usual process goes. The customer adds items to the cart, confirms the order, makes the payment and waits for the product to get delivered. Now speaking in the CRM's terminology, when the customer makes the payment, the sales guy gets the payment details and creates a deal record marking the deal stage as won. Then, the process involving Warehouse processing and Delivery gets started.

For the payment details and shipment details, there are different applications that handle the process. You can use the data from those applications and update the CRM through the use of webhooks.

With Middleware softwares:



And now with Serverless Functions:



Getting Started with the process:

1. Writing the Function:

Now that you're sure of what you need to do, you can write your business logic within functions. The code for the above logic would be something like this:



As you can see above, you define what the function needs to do when it is executed. As such, whenever the function is triggered from Zylker's application, the corresponding data in CRM is updated. But even so, there's a tiny problem. We do not know the format of the incoming data to CRM.

The types of input can be:

  • Parameters
  • Stream(Body)
  • File
  • Headers

Functions can parse most of the input types and process the information regardless. However, there needs to be some pre-defined lines of code that are to be given within the functions to facilitate this process. For instance, the function can get the entire Request Object and turn them into readable arguments, which can be used at your disposal. No matter what type the input is, you can use them to insert, update or make any other changes to your CRM as per your requirement. Not only can you get the entire request object, you can also set up what response the function, or in a way, the CRM, has to give out to the end user.

2. Authentication:

You need to properly authenticate your application with Zoho. There are 2 methods to do that.

  • OAuth
  • API Key

OAuth is a bit complex but the most widely used method that most applications adopt, whereas API Key is much more simple, but certain security inadequacies made it such that there are only some applications that use this method. Nevertheless, you can decide by yourself which one fits you best, based on the 3-party application.

3. Registering with Webhook

Now that you've created the function and made the function available as an API call. You need to register, or provide the URL to the other 3rd party application. This step is done so that the 3rd party application can be programmed to send a webhook based on certain conditions.

In this case, a webhook may be triggered when the shipment status is moved from "Packaged" to "Out-for-Delivery". When the webhook is triggered, the URL given within the webhook triggers the function within CRM. And based on the data received from the webhook, the shipment status of the customer within CRM can be changed accordingly.



Is it New to Zoho CRM?

I'm sure most of you are aware of "Functions", the one that lets you add additional functionality to your CRM. Those who are using “Functions” to write their own business logic to connect to third party apps, other Zoho services, web hooks, etc., have been using this serverless computing in a way.

Functions are designed to help people solve the issue of running servers, creating their business logic or integrating custom applications. Hence, it can be set to trigger based on events from within CRM or from external sources, without a server.

Learn more from our resources - Serverless Functions.



    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





                                                            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

                                                                                                            • Organization Emails in Email History

                                                                                                              How can I make received Org Emails to show up here?
                                                                                                            • Signature field is showing black

                                                                                                              Hello, When customer signed the service form, it is showing as below picture Phone model: iPhone 16 Pro We tried delete and install application, but it not solved. This has on phone of a few person. There is any advice to solve this?
                                                                                                            • Zoho CRM Android app updates: record sharing, user image upload, Zoho Survey integration, and more

                                                                                                              Hello everyone, We've made some important improvements to Zoho CRM's Android app, and we'd like to walk you through the latest updates. Here's what's new: Record sharing with org users User image upload Zoho Survey integration support Venue preference
                                                                                                            • How to Delete/hide Google adwords section from Layout?

                                                                                                              Hi people, maybe someone can tell me how to remove or hide the Google adwords section from my layout? Im not using it and it takes too much space.
                                                                                                            • WIDGET in related record list ZOHO CRM; how to get and put data to subform custom fields?

                                                                                                              he need: Read and write two custom subform line-item fields on Quotes: Segment_wyceny (picklist/text) and W_pakiecie (number). Write works; read does not return these fields via SDK. Environment Zoho CRM Widget Zoho Embedded App SDK v1.2 Module: Quotes
                                                                                                            • 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
                                                                                                            • Not all emails from outlook365 migrated to my new zoho account

                                                                                                              I recently setup a new email address hosted by zoho. I migrated all my folders and email from my Outlook365 account to my new zoho account, but not all my emails migrated. Looks like only the past 12 months, or so, made the move. How do I get the rest
                                                                                                            • Way to update CRM records in quik view

                                                                                                              I have custom module in zoho crm and that module have 500 records. I want a quick way or UI so that user can easily update the record information in quick view without going to record detail view or edit view. I tried zoho sheet option but in zoho sheet
                                                                                                            • Writer sing up problom

                                                                                                              Zoho writer sing up prolom face
                                                                                                            • Where to integrate Price Book and Product List Price

                                                                                                              Hello, We sync zoho crm all modules with all data to zoho analytics. In zoho crm, we have "Price Books" and "Products" modules, where each product is assigned to a few price books with different list prices. From zoho crm, I am able to export a dataset
                                                                                                            • Form / CRM Integration Not entering into workflow

                                                                                                              I have a simple form setup with company name, first name, last name and lead source. Each of the fields are mapped to CRM Leads module. When the form is submitted, the lead is populated properly. I also have a workflow created that when the lead source
                                                                                                            • Automating CRM backup storage?

                                                                                                              Hi there, We've recently set up automatic backups for our Zoho CRM account. We were hoping that the backup functionality would not require any manual work on our end, but it seems that we are always required to download the backups ourselves, store them,
                                                                                                            • Zoho Slowness - Workarounds

                                                                                                              Hi all, We've been having intermittent slowness and Zoho just asks for same stuff each time but never fix it. It usually just goes away on it's own after a couple weeks. Given that speed is a very important thing for companies to be able to keep up with
                                                                                                            • First day of trying FSM in the field.

                                                                                                              What we found. 1. with out a network connection we were unable to start a service call? 2. if you go to an appointment and then want to add an asset it does not seem possible. 3. disappointed not to be able to actually take a payment from within the app
                                                                                                            • Don't understand why Forms Mobile Scan and Fill not working

                                                                                                              I have configure enabled mobile scan and fill, I have enabled QR and Bar code on two fields name and position, I have mapped seq 1 to Name and seq 2 to position, I have created a 2d QR code with the person names and position, seperated by a comma. When
                                                                                                            • Recurring Supervisor Rule Reminders for Open/In-Progress Tickets

                                                                                                              Hello Zoho Support Team, I would like to suggest a potential improvement regarding reminders for tickets and activities in Zoho Desk. Currently, it is possible to set reminders only once. In the Supervisor Rules section, it is possible to configure reminders
                                                                                                            • Template usage

                                                                                                              Hi, We are using some templates as a response to customer questions. Is it possible to analyze the usage of these templates? We want to know if the use of our templates has increased over time
                                                                                                            • Round robin

                                                                                                              Hi, I'm trying to set up a round robin to automatically distribute tickets between agents in my team but only those tickets that are not otherwise distributed by other workflows or direct assignments. Is that possible and if so which criteria should I
                                                                                                            • How to mute chat notification sound by default in Zoho SalesIQ?

                                                                                                              We’ve recently embedded the Zoho SalesIQ chatbot on our website, and we’ve noticed that notification sounds sometimes play even when the visitor hasn’t interacted with the chat widget yet. We’re trying to understand two things: Why do these sounds occur
                                                                                                            • Ticket Status Colors

                                                                                                              Can i change the colors of Ticket Status in the admin panel? Or even change the background of the entire cell of a Critical ticket? This way its easy for my agents to see a urgent ticket when it comes in. Right now everything is black text. Here Right
                                                                                                            • Sync Lookup Fields from Zoho CRM

                                                                                                              HI Team, I have synced a lookup field from my CRM data to Campaigns. When I view the synced data the field appears to display a Zoho CRM record ID rather than the text value. Is it possible to get the sync to import the text value rather than the CRM
                                                                                                            • New From Address cannot verify

                                                                                                              I have created a new From Address, which is the support@ address for my domain, that forwards to the default support mailbox. Presumably then, the verification email that is sent, should turn up as a ticket, but it does not. How can I verify my from address so that I can use my own domain?
                                                                                                            • Closing Accounting Periods - Invoice/Posting dates

                                                                                                              Hi, I have seen in another thread but I'm unsure on how the 'transaction locking' works with regards to new and old transactions. When producing monthly accounts if I close December 24 accounts on 8th Jan 25 will transaction locking prevent me from posting
                                                                                                            • How to update/remove file in zoho creator widgets using javascript API

                                                                                                              Hi Team, I have developed a widget which allows inserting and updating records I have file upload field with multiple file upload. Now while doing insert form record, I am using uploadFile API to upload files for that record. I am using updateRecord API
                                                                                                            • issue with image thumbnails not showing in Image Selector

                                                                                                              We have been using Zoho Campaigns for over a year, maybe close to two years, and this issue just started happening in the last month. I wanted to wait to see if it would resolve on it's own, and it doesn't seem to be. The thumbnail images for all new
                                                                                                            • Deluge Script for adding tag

                                                                                                              Trying to create a custom function where a tag is added to a record - but for the life of me, I cannot figure out how. Help please! Moderation Update: Adding the help doc and sample to add Tags to records via deluge here for everyone's benefit. tag1 =
                                                                                                            • Automatically embed short AI-generated product videos in Zoho Mail campaigns

                                                                                                              Hi Zoho team, I've been experimenting with AI-generated product videos and wanted to suggest an automation idea for Zoho Mail and CRM campaigns . For example, here's a quick demo video I created automatically using AI — no filming or editing required:
                                                                                                            • Unlock your Zoho Vault with OneAuth, Windows Hello, TouchID, YubiKey, and many more!

                                                                                                              Hello everyone, We are thrilled to introduce one of the most highly requested features – the ability to unlock your Zoho Vault using various authenticators. The primary purpose of a password manager is to remember just one master password and securely
                                                                                                            • Blueprint or Validation Rules for Invoices in Zoho Books

                                                                                                              Can I implement Blueprint or Validation Rules for Invoices in Zoho Books? Example, use case could be, Agent confirms from client that payment is done, but bank only syncs transactions tomorrow. in this case, Agent can update invoice status to done, and
                                                                                                            • Creator roadmap for the rest of 2022

                                                                                                              Hi everyone, Hope you're all good! Thanks for continuing to make this community engaging and informative. Today we'd like to share with you our plans for the near future of Creator. We always strive to strike a good balance of features and enhancements
                                                                                                            • How can I get base64 string from filecontent in widget

                                                                                                              Hi, I have a react js widget which has the signature pad. Now, I am saving the signature in signature field in zoho creator form. If I open the edit report record in widget then I want to display the Signature back in signature field. I am using readFile
                                                                                                            • Add Setting Values to the Rules

                                                                                                              Hi, It would be great to use the rules to set values in fields for submission, such as if a Type is X then set the Field Y to 10. Thanks Dan
                                                                                                            • So we ran with it for the week

                                                                                                              In our company i bit the bullet and ran with FSM for a whole week. Service calls, deliveries and surveys. Covering about 30-120 miles a day to domestic properties. Loved the appointment list and satnav integration. Loved the timer to measure the appointments.
                                                                                                            • Is there a way to set Document Owner/Sender via the API

                                                                                                              When sending requests for zoho sign, it would seem zoho uses the id of the person that created the zoho api cred to determine the owner_id, is there a way to set a default for this?
                                                                                                            • What's New - September 2025 | Zoho Backstage

                                                                                                              September has been a different month for Zoho Backstage. Instead of rolling out a long list of new features, we focused on something just as important: Performance, reliability, and stability The event season is in full swing, and organizers are running
                                                                                                            • Prevent stripping of custom CSS when creating an email template?

                                                                                                              Anyone have a workaround for this? Zoho really needs to hire new designers - templates are terrible. A custom template has been created, but every time we try to use it, it strips out all the CSS from the head.  IE, we'll define the styles right in the <head> (simple example below) and everything gets stripped (initially, it saves fine, but when you browse away and come back to the template, all the custom css is removed). <style type="text/css"> .footerContent a{display:block !important;} </style>
                                                                                                            • Stock Quotes/Spreadsheet

                                                                                                              It would be nice if we could download security and mutual fund prices from Yahoo Finance (or?) in order to maintain an up to date investment portfolio on Zoho. Any chance?
                                                                                                            • link to any Belgian bookkeeping software?

                                                                                                              Hello, Does anyone on this Forum can help me with the question whether the ZOHO CRM (Invoices) or ZOHO Book can be linked to software that is used for Belgian Bookkeeping/accountancy? By linking, I mean either with the help of a middleware program or either by the ability to export the custom made reports as CSV-files... If someone has an experience with online CRM-Accountancy in Belgium, with ZOHO (or other), it would be great to read it... Thank you
                                                                                                            • marketing automation

                                                                                                              wants to know about the zoho marketing automation
                                                                                                            • Problems with email templates (HTML - Outlook)

                                                                                                              Hi there, I've been trying to create a newsletter from the template "Business 4". Everything looks great in the preview, but when I send it to my Outlook inbox, the layout doesn't seems to stick. More particularly: - The line-height is way more reduced, even though I used the line-height tool from the template - Columns but they are sometimes misaligned - Font size is not always the one I've selected. Could you help? Thanks!
                                                                                                            • Next Page