AI code assistant | Online Help | Qntrl

AI code assistant in Qntrl

Qntrl allows users to write scripts at the client and server level to carry out validations, auto-populate field values, fetch data from third-party apps, and also maintain data integrity and security within Qntrl. To automate code generation while working on these scripts, Qntrl AI Hub hosts AI code assistant.
 
You can describe the script you require to AI code assistant, which processes your request to generate a code. You can simply copy this code and execute it to obtain the end results.
 
For example, if your form has a dropdown field with different countries listed as options, and a phone number field to collect the user’s contact, you can setup a validation to verify if the phone number format matches the country selected by the user.
 
Info
Where can I enable AI code assistant?

AI code assistant feature can be enabled in Qntrl AI Hub under Settings for the code suggestions to be populated while working with scripts. Learn More
 
Let’s explore the different areas in which AI code assistant is available.  
 

AI Code assistant in Client Scripts 

Client scripts are used to create custom actions like performing calculations, auto-populating data, tracking delays, performing field-level validations, and so on to support operations that are not natively supported in Qntrl. Client scripts run on the web browser instead of the server and are coded with JavaScript. AI code assistant in client scripts gets details from the user and generates a code that can be readily used as client scripts. Here’s how:
  1. Navigate to Settings and select Client Scripts under Customization.
  2. Click New Script.
  3. Provide a script name, select a board, execution location, and execution trigger.
  4. Click Qntrl AI Code Assistant at the bottom-right corner.
  5. Provide a description of the code you require and hit enter.
  6. A code will be generated based on your description. Click Copy Code to copy it.
  7. Paste the code in the script editor. You can either use Command+P or right-click and select Paste to paste the code.
  8. You can provide different prompts to AI code assistant to tweak the code and obtain the desired result.
  9. Once the script is complete, Publish it.
 

AI Code assistant in CodeX 

CodeX are server scripts that help you code company-specific business logic to manage database, perform time-consuming processes quickly, and automate activities in your business workflows. These scripts running on a web server help you retrieve, display, and auto-populate data based on the coded conditions. AI Code assistant in CodeX helps users generate code quickly by fetching detailed prompts of their business use case and providing executable chunks of code that can be used as server scripts.
 
  1. Navigate to Settings and select Scripts under CodeX in Advanced.
  2. Click New Script.
  3. Click Create in Start from scratch.
  4. Provide a script name, select an execution location, execution trigger, and board.
  5. Click Qntrl AI Code Assistant at the bottom right of the screen.
  6. Provide a description of the code you require and hit Enter.
  7. A code will be generated based on your description. Click Copy Code to copy it.
  8. Paste the code in the script editor. You can either use Command+P or right-click and select Paste to paste the code.
  9. You can provide different prompts to AI code assistant to tweak the code and obtain the desired result.
  10. Once the script is complete, Publish it.
 

AI Code assistant in Email In 

Email In allows users to create cards in Qntrl by just emailing the details of the card to Qntrl. Email In supports Scripts as an advanced option where server scripts can be created to parse different inputs from the email. AI code assistant in Email In helps users generate server scripts to be configured in Email In.
  1. Navigate to Settings and select Email In under Customization.
  2. Select a board in the left and navigate to the Advanced Options tab.
  3. Click Add Script.
  4. Click Create in Start from scratch.
  5. Click Qntrl AI Code Assistant at the bottom-right corner of the popup.
  6. Provide a description of the code you require and hit enter.
  7. A code will be generated based on your description. Click Copy Code to copy it.
  8. Paste the code in the script editor. You can either use Command+P or right-click and select Paste to paste the code.
  9. You can provide different prompts to AI code assistant to tweak the code and obtain the desired result.
  10. Once the script is complete, Publish it. 


    • Related Articles

    • Setting up Qntrl AI Hub

      How to set up Qntrl AI Hub Navigate to Settings and select Qntrl AI Hub in the left panel. Navigate to the AI tools tab to configure the tools you want to use in Qntrl. We support: Zia, Zoho’s AI assistant, which is enabled by default for all Qntrl ...
    • Introduction to Qntrl AI Hub

      While Qntrl’s workflow automation helps organizations automate recurring everyday processes, Qntrl AI Hub incorporates artificial intelligence into workflows to facilitate a sophisticated workflow management experience. AI in workflow management ...
    • Manage Client Scripts

      Client Scripts are used to incorporate additional validations to business data while they are recorded in Qntrl. In client scripts, you can code using JavaScript and run the code on the end-user’s browser while they are creating a new card or ...
    • AI suggested fields in Qntrl

      Fields are a significant part of Boards as they contain and organize the entire board’s data. It is important to add the right fields to your board as they shape your end-to-end workflow. One of Qntrl’s AI tools, Zia, assists you with field creation ...
    • Qntrl for Zoho Cliq

      Zoho Cliq is a team communication application that simplifies collaboration and promotes organized conversations in the workplace. Benefits of the Extension By integrating Zoho Cliq with Qntrl, users can create new cards and work on them in Qntrl, ...

    You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.