How to publish MQTT Sparkplug B message

Hi there,

I'm trying to publish a Sparkplug B message from node-red, but I don't get how I'm supposed to do that. This is my flow:

image

msg.topic = "spBv1.0/namespace/group/device/edgeNode/sensor1";
msg.payload = {
    "bn": "sensor1/",
    "n": "value",
    "t": 1,
    "v": Math.random() * 100
};
return msg;

But, the output I get in the debug is this:
image