Generate Deluge Scripts Using Zia Assistance

Generate Deluge Scripts Using Zia Assistance

Notes
Note
Generated scripts may not always be accurate, as is common with any AI. However, we are constantly refining it to maximize its reliability.
Generated scripts are adaptive. The same prompt may generate different scripts at different times based on how much the machine has learned.

1. Deluge Zia Assistance in a Nutshell

Zia Assistance can generate Deluge scripts directly from the Deluge editor by understanding your requirements through conversational prompts. Zia Assistance leverages advanced technologies like Natural Language Processing (NLP) and machine learning, powered by GenAI, to make complex scripting more accessible and efficient. By following best practices in Deluge, it reduces potential errors and enhances the overall development process, providing optimized and reliable scripts to boost faster implementation.
Idea

2. Availability

  1. Available for paid plans of Creator
  2. Available across United States (.com), Europe (.eu), India (.in), Australia (.au), and Canada (.ca) data centers

3. Overview

Zia Assistance, powered by GenAI an advanced, reliable and cost efficient model that leverages Natural Language Processing (NLP). It generates Deluge scripts in Zoho Creator by interpreting your requirements through conversational prompts. Zia can be accessed directly from the Deluge editor within workflows or functions, offering real-time assistance for writing Deluge scripts. This accelerates and streamlines the scripting process. By analyzing the application's metadata, Zia generates optimized scripts that consider the existing relationships between forms. It also eliminates the unsupported tasks in the associated workflows or functions, making Deluge coding more user-friendly and error-free. 

To access Zia Deluge Assistance in your Creator's Deluge editor, you'll need to complete a one-time setup, which includes:
  1. Creating a API key - Since Zia operates on the multiple different APIs, you must create an API key from your desired GenAI account except when using Zoho GenAI as the LLM vendor.
  2. Configue Zia and enable Deluge Assistance - Zia must be configured with the generated API key to enable Deluge Assistance within Zoho Creator.

4. See How it Works


5. Business use cases

Case 1: Generate script to send invite mail

Consider a Zoho Creator Sales application used by an organization to manage sales activities. To enhance customer engagement, you can automatically send an invitation email whenever a new customer is added. Traditionally, this would involve configuring a workflow with an 'on success' action and writing a script using the send mail task. However, with Zia Assistance, this process is streamlined. By providing a natural language prompt, Zia generates the required script by analyzing the workflow and application metadata.
As you can see, Zia smartly accesses form fields using the input keyword, as the script is written in the 'on success' workflow action. It also includes sample email content within the generated script.
  1. Whenever new customer data is added to the form, send an invitation email to the customer's address.

Case 2: Calculate the number of days between two date fields

Assume a Creator Project Management application with a Project Details form used to store relevant project information for planning and allocating tasks across your organization. To ensure the project stays on schedule, it's crucial to calculate the number of available business days between the start and end dates in the Project Details form, excluding weekends and public holidays. For this, a Deluge script is needed to determine the exact number of working days for a particular task. With Zia AI Assistant, you can easily generate this script by providing a prompt, as shown below.
  1. Write a script to calculate the number of working days between Start_date and End_date.
Info
InfoStart_date and End_date are the two field link names of the date fields.

6. Set up Zia AI Assistant

Setting up Zia AI Assistance is a one-time process that grants access to all Zia features, including creating applications and forms, enabling next field suggestions, and generating scripts. If you've already set up Zia for Deluge Assistance on your Creator account, you can proceed directly to generate scripts with Zia.

6.1. Prerequisites

GenAI
  1. If you choose Zoho GenAI as the LLM vendor, no API key is required because it is already integrated with Zoho Creator. You can skip directly to the Configure Zia section.
OpenAI
Info
If you've chosen OpenAI as the GenAI, ensure that you are on a paid plan and have sufficient API credits for your OpenAI API key to work.
  1. You must have a valid OpenAI account along with an API key from your OpenAI account to use this feature in Creator. To get the OpenAI API key,
    1. Navigate to Settings in your OpenAI account and select the Billing section.
    2. Click the Add Payment Details button in the Settings page and add your required details.

    3. Next, navigate to the API keys section and click Create new secret key.
    4. Enter a name (optional) and choose the required project.
    5. Click Create secret key. The key will be generated. You can copy and use it in Creator's Zia settings.

  2. Before you can create apps or forms using Zia, ensure to configure your OpenAI API key in Zia Settings and enable the Zia - Open AI integration for your Creator account.

Google

Infoinfo: If you've chosen Google as the GenAI, ensure you have a Google Cloud project with billing enabled and access to the Google AI API. This is required as the API is part of Google Cloud services, which need an active project and billing setup to manage usage and ensure access to generative capabilities.
To use Google with Creator, you’ll need a valid Google Cloud account. To get the Google AI API key:
  1. Go to the Google AI Studio.

  2. Create a new project or select an existing one. Click Get API key in the top menu bar.

  3. Click +Create API key to generate a new API key. Your existing keys will also be listed in this page.

  4. Copy and paste this key into Zia Settings in Creator when Google is selected as the vendor.

    NotesNote:
    - Make sure the Generative AI API has sufficient quota and is available in your region.
    - Check Google AI documentation for any access limitations. 

Anthropic

Info
If you’re using Anthropic you must be on a supported plan with API access.

To use Anthropic AI models in Creator, you’ll need an Anthropic account with API access and an Anthropic API key.
To get the Anthropic API key:
  1. Sign in to your Anthropic account.

  2. Click API keys after expanding the left pane.

  3. Click +Create Key.

  4. Enter your key name and click Add to continue.

  5. Copy the generated API key and paste it into the Zia Settings section in Creator when Anthropic is selected as the vendor.

Notes Note: Ensure your account has API access and is on a paid plan if required. Refer to Anthropic documentation for API usage limits and billing details. 

6.2. Configure Zia

Notes
Note: Only the super admin and admins can configure Zia in Creator.
  1. Navigate to Operations in your Creator account.
  2. Click Zia in the Applications card. The Settings screen will appear.
  3. NotesNote: If you have already added an API key or if you're using Zoho GenAI as the LLM vendor, then proceed to step 6.
  4. Select the preferred GenAI model is selected from the drop-down in the Configuration tab and click the Add API Key button. A popup will appear.
  5. Enter the API Key of the selected vendor and click Add
  6. To edit or update the key after adding it, click Edit. update the key in the pop-up that appears, and click Save.
  7. Toggle the Access button beside Deluge Assistance in the Enable Features section. This button will be disabled by default. Enabling it will allow you to use the combined capabilities of Zia and GenAI to generate scripts.

7. Generate a script with the help of AI

Notes
Note: You can generate scripts using Zia from the Deluge editor across any workflows or functions. For demonstration purposes, we've used the Deluge editor in the On Success workflow action to illustrate how to create scripts with Zia.
  1. Create a workflow to execute on a preferred event and click Add New Action > Deluge Script to open the Deluge Editor as shown in the video below.

  2. Click the Zia icon () in the editor to open the Zia Assistant chat window.
  3. Type your prompt in the window that slides up. The relevant script based on your prompt will be generated by the Zia Deluge Assistant.
  4. You can either copy the script by clicking the copy icon (), or drag and drop it into the editor from Zia.
You can review the generated script and either use it directly in your workflows or modify it to meet your specific requirements. It is recommended to test the script's functionality by triggering the workflow in the application's live mode. For more streamlined development, you can enable environments and test the script effectively using the live mode of the development or staging environment.
Notes
Note
- Once you exit the Deluge editor, the prompts and responses within the Zia Assistant chat window will be cleared.
- You can use the thumbs up or down buttons to provide feedback on the generated script. By doing so, your prompt and script are shared with us for improving Zia's performance.

7.1. Prompt guidelines

  1. It is recommended to use clear and appropriate language when entering prompts. The use of harsh or unclear language will result in inaccurate responses. For example, if you want to send an email to specific email addresses stored in a field of a form, it’s advisable to clearly mention the form name, the email field name, the criteria for selecting the emails, and the subject content in the prompt to generate a more precise and accurate script.
  2. You can specify the component name, link name, field name, or field link name along with the prompt to effectively utilize your created components for generating accurate scripts.
  3. Examples of well-structured prompts:
    1. “Create a script for sending email notifications to the address in the 'Email' field of the 'Orders' form to track the delivery of a product.”
    2.  “Write a script to update an element in the collection variable and return the updated variable.”

8. Manage API Usage

To view the monthly API usage of the selected LLM vendor:
  1. Navigate to Operations > Zia > Usage and click the button. You will be redirected to the selected GenAI developer platform login page. You can login and view the monthly usage of APIs in your organization from the GenAI vendor Dashboard.

9. Limitations

  1. The script generated may not be accurate, which is also the case with any GenAI. However, we are working on improving this.
  2. The generated scripts are adaptive, indicating the same prompt may yield different responses at various times based on how much the machine has learned.
  3. Based on your prompt and requirements, Deluge Zia assistance can generate scripts with capabilities like deleting records or modifying critical data. It is recommended to carefully review the generated code before execution to prevent unintended data loss or changes.
  4. OpenAI API Rate limits: Zia does not consumes any AI calls or API calls from Zoho Creator. However, API rate limits may still apply. These limits are restrictions that the LLM provider imposes on the number of times a user or client can access their services within a specified period of time and vary based on their usage tier and the model consumed.
  5. Rate limits for LLM providers can be found in their respective official documentation.
    1. OpenAI rate limits
    2. Google Gemini rate limits
    3. Anthropic rate limits
    NotesNote: Attempting to create multiple apps at once can result in rate limit errors. For instance, if you're creating multiple apps in quick succession, you may exceed the 15 RPM limit and cause an error.
    While generous, these limits can still impact high-frequency operations, especially in rapid app creation scenarios.
  6. Along with your prompts, our system will add supplementary prompts to enhance the accuracy of the script generation process. These system prompts will also contribute to your GenAI usage.
  7. A user can only give up to 20 prompts per minute.
  8. Zia Deluge Assistance is not available in page scripts and application IDE.
  9. The script generated by Zia will not include custom functions calls, App variables, Connections, and User details in your Zoho Creator Account.
  1. Understand Zia features in Creator
  2. Create forms using Zia assistance
  3. Generate field suggestions for AI assisted forms


        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 FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile 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 FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                    All-in-one knowledge management and training platform for your employees and customers.

                                              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

                                                                                                                                • Understanding Zia features in Creator

                                                                                                                                  In a nutshell Zia brings GenAI-powered assistance directly into Zoho Creator to accelerate app development. Instead of manually designing forms, writing scripts, or defining logic from scratch, you can describe your requirements in a natural ...
                                                                                                                                • Zoho Creator : Best practices to build better apps

                                                                                                                                  What does this page cover This page outlines recommended best practices for building efficient and scalable applications in Zoho Creator. It covers guidelines for designing apps, structuring forms and fields, organizing data, writing optimized Deluge ...
                                                                                                                                • AI capabilities in Creator - powered by Zia

                                                                                                                                  Note: Rate limit restrictions Zia does not consumes any AI calls or API calls from Zoho Creator. However, API rate limits may still apply. These limits are restrictions that the LLM provider imposes on the number of times a user or client can access ...
                                                                                                                                • Creating applications with AI using Zia App Builder

                                                                                                                                  What does this page cover Learn about Zia App Builder and how it leverages AI to assist you in creating functional applications from user prompts by generating practical use cases and building working components. Before you proceed, learn how Zia App ...
                                                                                                                                • Create Forms Using Zia Assistance

                                                                                                                                  1. What Does This Page Cover? Learn how you can build a Creator form using Zia AI's assistance by simply communicating your app's requirements to the AI, thereby accelerating form creation. You also get in-form guidance using natural language ...
                                                                                                                                  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