> ## Documentation Index
> Fetch the complete documentation index at: https://docs.workmore.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Data

> Steps that shape information as it moves — filtering, sorting, reformatting, calculating.

Steps that shape information as it moves — filtering, sorting, reformatting, calculating.

## Code

<code>logic.code</code> · action

Run custom JavaScript. Access upstream data via nodes.nodeId.field.

**Settings**

| Setting | Required | What it does                                                                                                    |
| ------- | -------- | --------------------------------------------------------------------------------------------------------------- |
| Code    | Yes      | Write JavaScript that returns a value. Use Insert Data or type nodes.nodeName.field to access upstream outputs. |

**Produces**

* `result` — Result

***

## Continue If

<code>data.continueIf</code> · action

Only proceed if condition is met. Execution stops if false. Use to prevent downstream nodes from running on empty/invalid data.

**Settings**

| Setting             | Required | What it does |
| ------------------- | -------- | ------------ |
| Guard Configuration | Yes      |              |

**Produces**

* `continue` — Continue

***

## Filter

<code>data.filter</code> · action

Split array into passed/rejected using structured conditions.

**Settings**

| Setting              | Required | What it does |
| -------------------- | -------- | ------------ |
| Filter Configuration | Yes      |              |

**Produces**

* `passed` — Passed
* `rejected` — Rejected

***

## Format Text

<code>data.formatText</code> · action

Convert array to human-readable text using templates. Perfect for Slack/email output.

**Settings**

| Setting              | Required | What it does |
| -------------------- | -------- | ------------ |
| Format Configuration | Yes      |              |

**Produces**

* `result` — Formatted Text

***

## Pick Fields

<code>data.pickFields</code> · action

Pick specific fields from objects or arrays.

**Settings**

| Setting               | Required | What it does |
| --------------------- | -------- | ------------ |
| Extract Configuration | Yes      |              |

**Produces**

* `result` — Extracted

***

## Set Fields

<code>logic.setFields</code> · action

Set key-value fields for downstream use.

**Settings**

| Setting         | Required | What it does |
| --------------- | -------- | ------------ |
| Entries         | No       |              |
| Expose as array | No       |              |

**Produces**

* `vars`
* `list`

***

## Sort

<code>data.sort</code> · action

Sort array items by a specified field.

**Settings**

| Setting            | Required | What it does |
| ------------------ | -------- | ------------ |
| Sort Configuration | Yes      |              |

**Produces**

* `result` — Sorted
