younifyd
Menu

Preview Mapping

Run a field mapping against sample data without halting the workflow — useful for testing a mapping before deploying it.

Use it in a workflow

  1. Add a step and choose the Mapper connector.
  2. Pick the Preview Mapping action (under data).
  3. Fill in the fields below, then reference the result from later steps as {{previewMapping.response.data}}.

Fields

datastringrequired

Sample JSON data to test the mapping against.

mappingsarray<object>required

Define how source fields map to target fields. An 'Array Group' produces a list in the output, one entry per source item. An 'Object Group' produces a single nested object built from its child fields.

kindstringrequired

Pick by what the OUTPUT needs. 'field': one value. 'arrayGroup': a LIST in the output, one entry per item of a source list — requires sourcePath, and child paths in `mappings` are relative to each item. 'objectGroup': ONE nested object in the output, built from the child mappings in `mappings` — sourcePath is optional, and blank means the children read from the whole payload. A list is never an objectGroup and a single object is never an arrayGroup.

One offieldarrayGroupobjectGroupDefault "field"

mappingsarray<object>

Required on arrayGroup and objectGroup — the mappings applied inside the group. Omit on a plain field.

sourcePathstring

Leave blank for a static/constant field with no real source — pair with the 'defaultValue' transform to supply the literal value. On an Object Group, blank means the children read from the current scope, which is how a flat payload is gathered into an object.

targetPathstringrequired

Need more? See the Mapper guide for connection setup and behaviour shared by every action.

Was this page helpful?
Preview Mapping — Mapper — Documentation