How to Add Default Values to Your Existing Data

This article explains how to add more data to your existing data.

Goal: we want to add value 

"store_id": 1

to the existing (initial) data

Initial data:

{

  "row_total": 250,

  "qty": 67

}

Create a new transformer: Connections -> transformers -> + for a new one

Data, transform data using mappers and conditions 

Transformer: List mapper -> key assessor 

Mapper: List:inherit from supplied data -> Array* - 

{

  "store_id": 1

}

Result:

{
"row_total": 250,
"qty": 67,
"store_id": 1
}