WorkflowNodes and connectionsNode reference
Code execution node
Input and configuration
| Setting | Purpose |
|---|---|
| Inputs | Names, types and upstream references |
| Language and code | Supported language and editor entry template |
| Outputs | Names and types matching the returned structure |
| Errors | Input validation versus runtime exceptions |
Input and output contract
| Item | Description |
|---|---|
| Input | Values mapped in the node input declarations |
| Output | Returned values matching the node output schema |
| Validation | Check object nesting, numeric types and nulls |
Example
For example, calculate total from amount and tax_rate; test 100 and 0.1 against an expected 110. Use the editor’s function template.
Output and inspection
Check types, nulls and output structure before runtime logs. Do not hard-code credentials.