Mapper
Description
Section titled “Description”The Mapper module allows transforming and mapping data between workflow nodes. It receives input data, applies a configured transformation (adding, removing or modifying fields) and passes them to the next node. It works as an intermediate node that combines the transformed payload with new fields defined in the configuration. Internally it uses a temporary storage system and a merge mechanism to recombine data from processed chunks.
Configuration
Section titled “Configuration”Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| valor | text | No | Default value for the new field added to the data. If not specified, ‘default value’ is used. |
Output
Section titled “Output”{ "nextModule": "siguiente_modulo", "data": { "campo_original": "valor_original", "nuevoCampo": "valor_configurado" }}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "label": "mapper", "valor": "campo_personalizado"}- The Mapper uses an internal temporary storage system (
temporalStorage) to save data chunks. - Internally invokes the
mergemodule to recombine data when working with iterations. - The configuration schema is open (empty), allowing complete field customization.
- Payload data is expanded and configured fields are added.
Related Nodes
Section titled “Related Nodes”- merge (merge module used internally)
- iterator (to iterate over data arrays)
- router (to route transformed data)