Sub Mappings
You're reading Integration 5.0.0. The newest release is 5.1.0, and Cloud has the newest features. Go to the newest release
When the same logic is needed in multiple output fields, define a sub mapping. A sub mapping consolidates the related inputs and logic into a single named expression that can be reused across the data mapper.
Create a sub mapping
- In the data mapper canvas, select + Add Sub Mapping.
- Configure the sub mapping name, type, and the inputs to use.
- Map the fields inside the sub mapping view as you would in any data mapper.

Use a sub mapping
Once defined, the sub mapping appears under Sub Mappings in the left panel. Map it to any compatible output field as you would any other input.

What's next
- Mapping capabilities — Connect fields, write expressions, and use AI-assisted mapping.
- Array mappings — Map between arrays using iteration, joins, and aggregation.
- Generic type mappings — Generate types from a sample JSON or XML payload.
Was this page helpful?