Inject to Debug Flow
The simplest flow possible in Node-RED. Demonstrates how an Inject node can be triggered, and then the result is output to the Debug console.
[{"id":"64818a1e5ee8edd3","type":"inject","z":"bcaf1d5e01c74a74","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":60,"wires":[["2fbfa1996cbf1066"]]},{"id":"2fbfa1996cbf1066","type":"debug","z":"bcaf1d5e01c74a74","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":300,"y":60,"wires":[]}]