Is there a way to pass notify entities to an Action Node? I’m working on some alarm system code, and want to use a function node to pass the “recipient” to the Action Node (or a different node, if that’ll make it work).
For instance, in the image below, I want to pass in mobile_app_james_iphone via json, if that makes sense…
Well, kicking myself, but I figured it out. In my function node, I was setting the payload to a string that represented the json object. I assumed the action node would parse that string.
I instead created a true json object in the function node, and set payload to equal the object. Works perfectly!