Cayenne - Arduino - Neopixel controller

My utilization of the BLOG interface was not very successful. I intended to post this under a topic more appropriate for design questions. I am looking for a function or an example of code that would allow an input trigger to execute an existing sketch that could manage a string of neopixels in a pre-determined fashion. Can anyone provide me assistance?