Pick Fields

data · C345 · starter-package 7.0.1

Keeps only selected top-level fields.

Use it when

Create a smaller record containing selected existing fields in the requested order.

Inputs and output

  • Record is the source record.
  • Fields is a list of unique field names.
  • Record contains the requested fields that exist.

Rules

Missing requested fields are skipped. Output values are copied defensively.

Example

Picking ["name", "id"] from { id: 7, name: "Ada", secret: true } produces { name: "Ada", id: 7 }.

Duplicate or unsupported field names and values stop the workflow with a clear message.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputrecord — Recordrecordyes
Inputfields — Fieldslistyes
Outputresult — Recordrecordon success