How can I combine a topic and payload into a function node? (Solved)

I am trying to create a notification for my Govee thermometer batteries when their power levels drop below a certain level. I can use a function node to send either the topic (Govee device name) or the payload (battery level), but how can I send both with a function node ?

image

image

msg.payload = {
    data: {
        title: "Govee Low Battery Alert",
        message: msg.topic
    }
}

return msg;

Fixed it with this

msg.payload = {
    data: {
        title: "Govee Low Battery Alert",
        message: msg.topic + ', ' + msg.payload + '%'
    }
}

return msg;