If you add an MQTT in node and set the topic to match what the PIR is using, then attach this to a debug node you will be able to see the messages that come in when the PIR is activated.
Once you know that you can progress furthur - Share here what you see in the debug output.
Keep in mind that most people on this forum don't use home assistant (they let node-red do everything instead). With a mqtt node connecting to the broker directly and listening on the zigbee2mqtt topic will work (I use it myself in the same manner).
Please don't forget my knowledge with Node-Red. It does not exist or hardly exists. HOW? Which node do you use for PIR? And where can i adjust the payload?
Found a solution by trying...^^
Starting with event state node. Changed nothing but choosing PIR entity, "If state = on", state type string
My solution between that and mqtt-out node is change node. (exactly i was looking for). Can set my msg.payload there. Of course 2 of them, on/off.