How do I set a variable (using set variable transformer) based on the value in the payload ? where payload is of json format.
if payload.segmentation = local, then value of variable should be "material_reg"
if payload.segmentation = network, then value of variable should be "material"