# Execute Code

Runs JavaScript or Python in a sandboxed runtime and returns the result to the Process.

Type: reference · Mode: develop · Since: 2.0 · Status: unverified

---
Runs JavaScript or Python in a sandboxed runtime and returns the result to the Process.

**Step library location:** Logic

:::note[Planned for 2.0]
This step is planned for 2.0 and is not yet available. Its field labels may change before release.
:::

## When to use it

- Transformations too intricate to express with the data and toolkit steps.
- Reshaping a nested payload in one step rather than chaining several.

## When not to use it

- Anything the toolkit steps already do. Those are visible in the Process diagram; code is not.
- Calling external systems. Use Invoke REST API or the Database step so the call is logged and retried properly.

## Input Configuration

<div class="sym-spec-table">

| Field | Type | Need | Default | Notes |
| --- | --- | --- | --- | --- |
| **Language** | Enum | Optional | None | JavaScript or Python. |
| **Execution timeout** | Duration | Optional | None | Terminates the snippet at this limit. |

</div>

## Notes

Supports typed input and output parameter mapping, a package and dependency policy, and per-org secret injection. Each execution is cost-accounted.

<p class="sym-generated-note">Generated from step metadata (<code>src/data/process-steps.json</code>). Edit the metadata, not this page.</p>