Node red setting thermostat temperature with alexa

Hi, I’m new here and I try to get as much node-red knowledge in my head as possible.
What I couldn’t do and didn’t find any topics that could help was about setting up the temperature of the thermostat trough Alexa. I tried using a function node tied up the Alexa and the call service node in the back. The call service node calls climate.heating but i can’t set up a custom temp json in that would call the bri generated by Alexa. I hope that makes sense. Any ideeas?