How to start the execution of functionality in node red using the api?

If you give the node a name, in the node's config, it will always keep that name.

If it's an inject node, we have explained a few times how you could trigger it yourself using an http request.

If you have any more questions, please do ask.