Saltar al contenido principal

Code Generator

Category: Agent Standards: Code review standards

Generate code for workflows and transformations (Python, JS, SQL)

What this node does

  • Python generation
  • JavaScript generation
  • SQL generation
  • Code explanation

How to use

  1. In the Agentic Studio, open or create a workflow
  2. In the node palette on the left, find Code Generator under the Agent category (or use the search bar)
  3. Drag the node onto the canvas
  4. Double-click the node to open its configuration dialog
  5. Fill in the required parameters (see Configuration below)
  6. Connect the Task Description input port from an upstream node
  7. Optionally connect the Programming Language port if needed
  8. Connect the Generated Code and Code Explanation output to the next node downstream

Inputs

PortTypeRequiredDescription
Task DescriptiontextPlain text string
Programming LanguagetextOptionalPlain text string

Outputs

PortTypeDescription
Generated CodetextPlain text string
Code ExplanationtextPlain text string

Configuration

Open the configuration dialog by double-clicking the Code Generator node on the canvas.

ParameterWhat to enter
languageConfigure language in the node settings
includeTestsConfigure includeTests in the node settings
includeCommentsConfigure includeComments in the node settings
llmConfigConfigure llmConfig in the node settings

When to use this node

  • Generate data transformations
  • Create custom validators
  • Build workflow logic

Need help configuring this node?

Go to Settings → Connectors to set up the connection this node depends on, then reference the connector ID in the node configuration dialog.