FAQs: Zia Deluge Assistant bot | Zoho Desk

FAQs: Zia Deluge Assistant bot

What is the Zia Deluge Assistant and how does it enhance custom function creation?
The Zia Deluge Assistant is an AI-powered option that generates Deluge scripts based on user prompts. Instead of manually writing and debugging code, users can simply describe their automation needs, and Zia generates the corresponding script. This lowers the technical barrier, enabling users with limited coding experience to create custom functions quickly and accurately.
How does using Zia Deluge Assistant differ from traditional Deluge scripting?
Traditionally, creating custom functions required hands-on expertise in Deluge scripting, involving manual coding, testing, and validation.

With Zia’s assistant, users can generate scripts from plain language prompts, reducing the effort involved in initial coding while still allowing users to review, validate, and refine the output as needed.
In what scenarios is the Zia Deluge Assistant most useful?
It is especially helpful when users need to create or modify custom functions rapidly without deep coding knowledge, such as automating ticket updates, integrating external data, or implementing conditional logic in workflows.
Does the Zia Deluge Assistant write complete functions or only snippets?
Zia generates complete script blocks based on the prompt, which can serve as full custom functions or parts of larger scripts. Users can request additional logic or modifications by iterating prompts.
Is the generated script editable?
Yes, once the script is pasted into the Deluge Script Editor, users can manually edit, enhance, or optimize the code before saving or executing.
What happens after generating a script with Zia?
Users can either Save the script for later editing or Save and execute it immediately to validate the functionality within Zoho Desk. They can iterate the prompt to regenerate the code in case the desired outcome is not achieved.



How do I enable the Zia Deluge Assistant bot?
Zia Administrators can enable the Zia Deluge Assistant bot at the organization level based on their requirements.
To enable Zia deluge assistant bot
  1. Navigate to Set up > Zia > Generative AI
  2. Under Feature Preferences, enable Deluge Assistant Bot.
  3. In the Data usage of disclosure for AI alert click Accept.


What permissions are required to use the Zia Deluge Assistant?
Users with permission to setup Zia can enable Deluge Assistant Bot and Helpdesk Automation.
How to create a custom function using Zia Deluge Assistant?

To create a function  

  1. Navigate to Setup > Developer Space > Functions.

  2. Click New Function in the top-right corner.

  3. Under Basic Information:

    • Enter a Name and Description for the function.

    • Select the Module in which the function needs to be triggered.

  1. Under Argument Mapping:

    • Provide the Method Name.

    • To map the function to a custom value, enter the Argument Name and select the corresponding value.

    • Click the + icon to add more arguments, and repeat the same steps as required.

  1. Write the required logic in the Deluge Script Editor.

  2. Deluge script can be written manually or generate it using the Zia Deluge Assistant Bot.

    1. Click the Zia icon at the bottom-right corner of the Deluge Script Editor.

    2. Enter your requirement as a prompt and click the Send icon.

    3. Once satisfied with the generated script, click the Copy icon at the top-right corner of the script window.

    4. Paste the copied script into the Deluge Script Editor.

  3. Click Save to edit or execute the script later.

  4. Click Save & Execute Script to validate and run the code.




Can the Zia Deluge Assistant generate scripts for all modules or only specific ones?
Custom functions created with Zia are module-specific; users must select the module during function creation. Zia generates scripts appropriate for the selected module, including both standard and custom modules.