Creating nodes
1. Step-by-Step Node Creation
Step 1: Design Setup
- Click "Design" tab
- Fill in:
- Name (in required languages)
- Select category
- Set version (start with 1)
Step 2: Adding Inputs
- Go to "Inputs" tab
- Click "+ Add Input"
- Configure:
- Field Name (Latin characters)
- Title (display name)
- Type (select from dropdown)
- Mark "required" if mandatory
Step 3: Environment Setup
- Open "Environment"
- Add variables:
- Specify type (string/number/boolean)
- Choose scope (global for shared)
Step 4: Writing Script
- Navigate to "Script"
- Use template:
export async function run({ inputs, env }) {
// inputs contains all input parameters
// env - environment variables
// Your logic here
return {
// Matches outputs in YAML
}
}
Step 5: Publishing
- Test in "Test" tab
- Save with Ctrl+S
- Click "Deploy"
IN WORK