Clean List or Object
Trims a list or object down to only the fields you specify. Use it to keep just the data you need before passing it on in a flow.
Trims a list or object down to only the fields you specify. Use it to keep just the data you need before passing it on in a flow.
What it does
- Takes a list of objects (or a single object) and a list of field paths to keep.
- Returns a cleaned version containing only those fields.
- Reports success when a result was produced.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Data | List | Yes | A list of objects, or a single object, to clean |
| Paths list | List | Yes | The paths of the fields to keep in the result |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether a result was produced |
| Result | List | The cleaned object or list, containing only the requested fields |
Notes
- Works on either a single object or a list of objects.