Restart flows using Node Red API

Hi @easyE4 .
If you still looking for solution. Please can you quote the solution you are referring to?
Is it a use of the PM2 or the example I posted?
The flows will be restarted after the RPI reboot. I'm assuming you would like to restart them again, but only once after node red starts. You can use the inject node as a trigger and use "Inject once after" option

The restart may be also triggered by the event.

Please try to be more specific about your case.