Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Uipath maestro flow/Transform
Reference · Uipath maestro flow

Transform

Part of Uipath maestro flow. Install the skill and your agent reads this page when it needs the depth.

Transform

Exact signatures, fields, and defaults: transform().

Transform applies filter, map, or group-by operations to an array.

Signature: transform({ collection, operations, variant?: 'filter' | 'map' | 'group-by' }). Operations are the SDK's filter, map, and groupBy discriminated shapes.

.step('active', transform({ variant: 'filter', collection: input('rows'),
  operations: [{ type: 'filter', filters: [
    { field: 'status', condition: 'equals', value: 'active' },
  ] }] }))

At a glance

Filter, map, group, or chain operations over an array without custom JavaScript.

Prefer a named variant for one operation and generic Transform for a chain; verify chain order against real fields.

Choosing the shape

Prefer a named variant for one standard operation so the canvas communicates intent. Use generic Transform for a chain; use Script when the requested calculation does not fit the transform operations.

Data-dependent review

Operations run in order. A map can remove a field that a later filter or group expects, and a plausible misspelled field on untyped input can yield empty rows without a structural failure. Review the chain against representative items and assert the resulting values, not merely that the node ran.

Omit variant for the generic node. Set variant: 'map' | 'filter' | 'group-by' for a single-purpose node; operations must then contain exactly one entry.

Use transform() for every Transform node. To use a newer registry version, pass it on the step: .step('g', transform({ ... }), { version: '1.1' }). The factory writes collection as a plain $vars path and puts each operation's settings under config. A rawNode copy of the manifest keeps v() as an expression object, and the runtime reads that as an empty collection.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.