Docs/Logic & Transform/Code

Code

Logic & Transform

Code Node

Overview

Supports the following operations: Python 3, JavaScript.

Configuration

PropertyTypeDefaultDescription
languagestring—Configuration field for language
codestring—Configuration field for code

Output Variables

Reference these variables in downstream nodes using the {{node.field}} syntax.

{{code.output}}
anyOutput field: output
{{code.result}}
anyOutput field: result

Examples

Basic Usage

Example configuration:

{
  "language": "value",
  "code": "value"
}

Tips & Best Practices

  • •Ensure all required fields are configured.
  • •Check the output variables to see available data.

Try Code in Your Workflow

Create a free account and start building AI-powered workflows with the Code node.

Open Workflow Editor