
Scripts module is not enabled for all users. If you’d like to try it out, please email our support team for early access.
To create a new script:
Click the settings gear iconat the left pane.
Navigate to Bridge >> choose Scripts.
Click the New Script.
Feed in the required new script details.
Name: Give a name with a file extension to identify the script (Ex: display.sh/display.ps1).
Description: Provide a description that serves for later reference.
Script Type: Choose the type of script.
Shell Script - For UNIX-based systems
PowerShell Script - For Windows operating systems
LDIF - For Windows Active Directory operations
Script File: If the script is available in a local file you may attach it in this field, and it will be executed in the message.
AI Script Assistant: Alternatively, generate scripts using AI by providing a natural language prompt. You can insert the generated script directly into the editor or copy it for further modification. For more information, refer to AI Script Assistant.
Click Save or Save and Execute. A new script will be created.

Use the AI Script Generator to create script content from natural language prompts without manually writing commands.
The generated script is based on the selected Script Type (Shell Script, PowerShell Script, or LDIF).
Pre-requisite
To generate script using AI:
Click the AI Script Assistant in the lower-left corner.
Enter a prompt describing the script you want to create
Click the Send icon.
The generated script is displayed based on the selected Script Type.
After the script is generated, you can:
Insert - Click + Insert, to insert the generated script directly into the Content editor.
Copy Code - Copies the generated script for further modification.
Reset - Click the Reset icon to clear the prompt and generated output and generate a new script.
Minimize - Click the Minimize icon to collapse the AI Script Generator panel.
Click Save or Save and Execute.
Script Type | Request Parameter |
Shell Script | "command": "sh <SSH_DIR>/<scriptFileName>" (Ex: "sh <SSH_DIR>/display.sh") |
PowerShell Script | "script-name": "<scriptFileName>.ps1" (Ex: "script-name": "display.ps1") |
LDIF | "script-name": "<LDIF-File name>.ldif" (Ex: "script-name": "display.ldif") |
To update an existing script:
Navigate to(settings) >> Bridge >> select Scripts.
In the list of scripts loaded, click on the script name you want to edit.
Make the required modifications and click Save.
To remove a script from Qntrl,
Navigate to(settings) >> Advanced >> Bridge >> select Scripts.
Hover over the name of the script you want to delete, click the mouse over action menu, and select the Delete menu item.
Confirm the delete action.