node-RED Backup Flow

Probably something that the DSM node author @cflurin may be able to answer.
I'm not sure that the msg.payload is accessible from within the node itself.

I've just tried adding "sm.id = msg.payload;", but it didn't seem to like it!