Hello,
I’m trying to organise my flows to make them easier to reuse - some things work well as sub flows, but sometimes I want to copy some nodes to another flow and customise them via environment variables.
I created function nodes to show the environment on each flow to help document what it does:
They just set the node status on start:
For a change node I can use the $ ENV option to inject the value
But in an events:node I can’t work out how to get an env variable into the event data json:
Returns ConfigError: Event data is not valid JSON