Skip to content

Flatten

Flatten nested JSON Objects and Arrays into a single JSON Object containing only top-level fields.

FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
fieldsflatten:fieldsThe fields that should be flattened (all or a subset).
preserve-empty-arraysboolean (bool)Preserve empty arrays.
preserve-empty-objectsboolean (bool)Preserve empty objects.
separatorstringSet the string to separate keys in the flattened object.