Hey Stewart,

Assuming that your hex string is on the payload at `working.hex`

, here’s a Function Node that will result in a string of ones and zeros:

```
let data = Buffer.from(payload.working.hex, 'hex');
let bufferToBinaryString = (buf) => {
let binaryString = "";
for (let offset = 0, length = buf.length; offset < length; offset++) {
binaryString += buf
.readUInt8(offset)
.toString(2)
.padStart(8, "0");
}
return binaryString;
}
payload.working.binary = bufferToBinaryString(data);
```

The Buffer object has lots of operations to work with binary data, but coverting it to a string of ones and zeros is unfortunately not one of them. The `bufferToBinaryString`

function above was pulled from the BitString npm module.