JSON payload transformation and enrichment

In this example we make use of the transformer sensor with this inputs

{
   value1: ${nodes.dice_1.rawData.randomValue},
   value2: ${nodes.dice_2.rawData.randomValue}
}

image

Debug actuator is formatted with the following message

Val1: ${nodes.transformer.rawData.value1}
Val2: ${nodes.transformer.rawData.value2}