Free usage is now available on puq.ai
Integrations Templates Blog Pricing

Code Executor

Add custom logic when no-code is not enough

Use JavaScript inside workflows for transformations, calculations, validation, formatting, and edge cases that need precise control.

Core Capabilities

What this feature helps your team do

JavaScript

Run custom logic

Transform data, validate fields, calculate values, and shape payloads.

Data

Work with workflow inputs

Use data from previous steps and return structured output for later actions.

Control

Keep execution bounded

Use code for targeted logic while workflow structure remains visible.

Code executor editor

Developer-friendly extension

Bridge the gap between visual automation and custom code

Most workflows should stay visual. Code Executor gives technical teams an escape hatch for the cases where exact logic matters.

  • Payload transformation
  • Validation and normalization
  • Custom calculations
  • Structured return values

How It Works

A practical path from setup to production

1

Add a code step

Place JavaScript where the workflow needs custom logic.

2

Read input data

Use outputs from earlier steps.

3

Return a result

Send structured data to the next workflow step.

4

Monitor execution

Inspect output and errors during workflow runs.

Common Use Cases

Where teams use Code Executor

Data normalization Custom scoring API payload shaping Field validation

Code Executor questions

Clear answers about how this capability fits into real workflow automation.

No. Use it only when visual actions and conditions are not enough for the logic you need.
Yes. Code steps can consume workflow inputs and return data for downstream steps.
Code Executor is designed for JavaScript logic inside workflows.
Yes. Code remains inside a specific step while the overall workflow structure stays visible in the builder.
Automate Every Job

Ready to automate?