Script
This screen allows creating a new bot by directly writing the source code and defining dependencies within the interface itself. It’s ideal for quick tests, prototypes, or simple automations that don’t require external repositories or file uploads.

Note
The orchestrator performs all compression and preparation steps for the files needed for bot execution, simplifying the process for the user.
Fields
Script
- Description: Field to directly insert the bot’s main code.
Dependencies
- Description: List of libraries needed for script execution.
| Field | Description | Notes |
|---|---|---|
| Name | Bot name. | Expected format: bot-xxx (example: bot-123). |
| Version | Specific version of the bot to be used. | Format X.Y.Z (example: 1.0.0). |
| Language | Programming language used in the bot. | Python, JavaScript (Node), Binary (EXE/ELF), Shell (Bash), Batch, PowerShell. |
| Agent | Defines the agent responsible for bot execution. | Only 1 agent can be selected during bot creation. If the list is empty, install an agent for Windows or Linux. |
| Mode | Indicates the automation execution format. | Headless, Headless Parallel, Headed 1920x1080, Headed 1280x720, Headed 1366x768, Headed 2560x1440, Headed 3840x2160, Headed 7680x4320. |
| Parameters (Json) | Custom parameters in JSON format. | Sent as environment variables during execution. Example: {"arg1": "1366", "arg2": "768"} |
| Description | Free text to describe the bot’s function and purpose. | — |
Code Examples
Here are code examples for each supported language.
Python
hello.py
def say_hello():
print("Hello!")
say_hello()requirements.txt
requests==2.28.1JavaScript (Node)
hello.js
function sayHello() {
console.log("Hello!");
}
sayHello();package.json
{
"name": "hello-world",
"version": "1.0.0",
"main": "hello.js",
"dependencies": {
"axios": "^1.4.0"
}
}Shell (Bash)
hello.sh
#!/bin/bash
echo "Hello!"Batch
hello.bat
@echo off
echo Hello!PowerShell
hello.ps1
Write-Host "Hello!"Last updated on