Action Junction

Dear forum

I am trying to make a flow, but I am running huge

I have with the eighth node and this data. {“brightness_step_pct”: “20”} the lamp at 20% and any value with that you set or +or - at the 20. Is it in steps the do but I want the number from the payload message as the value is

For example {“brightness_step_pct”: “payload”}

But this does not work can someone help with this

Regards jurgen

In the Action Node

In the Data field

Using J: expression (for JSONata expression)

{"brightness_step_pct": payload}

Other methods (templates) are available, but JSONata is recommended in this case.