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

NameTypeRequiredDescription
DataListYesA list of objects, or a single object, to clean
Paths listListYesThe paths of the fields to keep in the result

Outputs

NameTypeDescription
SuccessBooleanWhether a result was produced
ResultListThe cleaned object or list, containing only the requested fields

Notes

  • Works on either a single object or a list of objects.