How to Create New Custom Functions using Deluge in Zoho Writer?

How to Create New Custom Functions using Deluge in Zoho Writer?

Overview

Custom functions are useful when a series of actions are to be executed after the document is merged, filled or signed, allowing you to automate custom workflows involving Zoho Writer Documents.

Custom Workflow Use Case

For example, after a quote document is merged in CRM, the custom function should:
  • Store the document in WorkDrive
  • Send it to the client via email
  • Update the send mail status at the CRM record level
Sample Script

Steps

Step 1: Open Deluge Editor

Open the Deluge Editor from your document or template. The Deluge editor can be accessed from all three automation templates in Zoho Writer—fillable, merge, and sign templates.
  • For Merge Templates: Choose the required Merge Output Option > Enable Execute Custom Function > Click Configure

  1. For Fillable Templates: Under On Submission, choose Trigger Webhook and Custom Function
  2. For Sign Templates: Go to Send for Sign > Enable Execute Custom Function > Click Configure
Step 2: Create a New Function
  • Use the Deluge script editor to write your custom logic.
  • Save the function for use in automation workflows.


Additional Notes

Built-in Functions in Deluge

Deluge provides many built-in functions to perform common operations like mathematical calculations, text manipulation, etc. These simplify coding tasks. Learn More

Writer Tasks in Deluge

Zoho Writer Integration Tasks are predefined actions that let you:
  • Merge templates
  • Store files
  • Trigger e-sign workflows
  • Connect to external systems

InvokeURL Task to Call REST APIs

Deluge allows REST API calls using the invokeUrl task. For example, you can use it to push a document to Google Drive (since there's no native Google Drive task like WorkDrive).


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Intake FormsLegalMobile App
                              Form DesignerHRMobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsEncrypted Forms

                              Secure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now






                                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                            Manage your brands on social media


                                                              • Desk Community Learning Series


                                                              • Digest


                                                              • Functions


                                                              • Meetups


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner


                                                              • Word of the Day


                                                              • Ask the Experts


                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox Resources





                                                                                                  Zoho DataPrep Demo

                                                                                                  Get a personalized demo or POC

                                                                                                  REGISTER NOW


                                                                                                    Design. Discuss. Deliver.

                                                                                                    Create visually engaging stories with Zoho Show.

                                                                                                    Get Started Now









                                                                                                                        • Related Articles

                                                                                                                        • How to Create a Connection via Deluge in Zoho Writer?

                                                                                                                          Overview Deluge connections in Zoho Writer allow you to securely integrate external services using authentication protocols. These connections can be leveraged in custom functions to retrieve or send data across platforms, enabling powerful ...
                                                                                                                        • How to Set Up Custom Workflows with Deluge Script in Zoho Writer?

                                                                                                                          Overview Custom Functions in Zoho Writer allow you to add automation, logic, and integrations to document workflows. Using Deluge scripts, you can program actions to occur immediately after a document is merged, filled, signed, PDF combined or when a ...
                                                                                                                        • How to track merge status and handle errors in Zoho Writer

                                                                                                                          Overview You can track the status of the merge jobs using email notifications and the merge logs. While email notifications help you track the merge initiation and completion status, the merge logs help you track the status of jobs in progress, along ...
                                                                                                                        • How to create workflow rules in Zoho CRM to perform mail merge tasks

                                                                                                                          You can automate your Writer's mail merge tasks by creating Workflow rules in your Zoho CRM. Say, for example, you want to automate the merge and send task for every lead entry in your Zoho CRM account (merge every lead entry send an email ...
                                                                                                                        • How to configure submit actions in fillable templates

                                                                                                                          Overview Zoho Writer lets you automate what happens after a respondent submits a fillable form using Submit Actions. These actions help streamline document handling, data collection, and follow-up processes without manual effort. Steps Configure ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            Resources

                                                                                                                            Videos

                                                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                            eBooks

                                                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                            Webinars

                                                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                            CRM Tips

                                                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                                                              Zoho Show Resources