Node-red Node Development

Hey everyone,
Let me say first, so stoked to be here. Feels like this community is really fun loving.
I’m working on an off-line voice assistant. cause who isn’t these days.
I’m using Node-red to do a great deal of the intent and response work.
Here’s my thing and for the most part my coding is fine for making new nodes. calling sensor data using JS is super is easy and 100% compatible.
But I’m running into issues trying the everloop code. My goal is to make a node capable of taking in an input from say a color selector and send that over to the matrix creator rgbw.?
Any code suggestion or starting points for this would be great. Thanks