My approach to using Node-RED for AI has been to build re-usable sub flows with high-level functionality (parser, chunker, etc.).
You can go a _long_ way with the split/join nodes and a little ingenuity to work around any issues with streaming.