Skip to main content

Creating nodes

1. Step-by-Step Node Creation

Step 1: Design Setup

  1. Click "Design" tab
  2. Fill in:
    • Name (in required languages)
    • Select category
    • Set version (start with 1)

Step 2: Adding Inputs

  1. Go to "Inputs" tab
  2. Click "+ Add Input"
  3. Configure:
    • Field Name (Latin characters)
    • Title (display name)
    • Type (select from dropdown)
    • Mark "required" if mandatory

Step 3: Environment Setup

  1. Open "Environment"
  2. Add variables:
    • Specify type (string/number/boolean)
    • Choose scope (global for shared)

Step 4: Writing Script

  1. Navigate to "Script"
  2. 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

  1. Test in "Test" tab
  2. Save with Ctrl+S
  3. Click "Deploy"

IN WORK