Sigfox Integration and Call Processing

Hi, A simple diagram showing the integration. My understanding:
Start Sigfox Plug-in - Create Device - do Call processing later - SAVE; setup callback on Sigfox back-end.
Some documentation says you need to create a bucket, some say it gets auto provisioned.
I messed around and now have a dashboard and the devices are connected, BUT the data is NOT decoded.
I have multiple devices requiring different decoding. The simplest one simply changes state to show if the device is wet or not (leak detection) and the data changes between 2 states: 55 (no water leak) and aa (water leak), all other bytes can be ignored. Now whilst I have some idea of Python, I haven’t found any useful documentation on the Call Processing - can someone assist - it seems like the simplest problem.
Of course once it works I’d like a Telegram message sent to my client - I have used the Telegram Botfather before, so that shouldn’t be a problem.
7b0602553810
7b0602aa3764
7b0602553810
7b0602aa3663

I’ve got my call processing working, but as the Telegram endpoint doesn’t work, I can’t send the message out to Telegram, as I can’t get the http to Telegram to send the result

module.exports.uplink = function(payload){

/* This works, clearly using hex requires a conversion of sorts
if (payload.data == 2) {payload.result = “OK: closed Contact/Alarm OFF”;}
else if (payload.data == 3) {payload.result = “ALARM: OPEN Contact/Alarm ON”;}
else payload.result = “HeartBeat”; */

/* or simply use as string */
const buffer = Buffer.from(payload.data, ‘hex’);
if (payload.data == “01000000”) {payload.result = “OK: closed Contact/Alarm OFF”;}
else if (payload.data == “01010000”) {payload.result = “ALARM: OPEN Contact/Alarm ON”;}
else payload.result = “HeartBeat”;

return payload;

}

Hi again, if I wanted to embed the result of my callback processing into the http POST to telegram, how would I do that?