I am currently working on a project where I want to store settings (e.g. "filter_on = true") inside a textfile. I want to use these variables for later use in the flows, for example inside a switch-node.
Currently, I am using the flow context:
So my main idea is to trigger a flow at start, where I put all these variables into the context. But I would prefer to read the values when they are used inside the flow (especially when I am working with Docker secrets). Is it possible to do this? Or do I have to create a new node for this?
Is there a reason you don't want to use persistent context variables?
If you really do want to roll your own, put the data into a JS object so that you can store it as JSON (which is, I think, what the persistent context store does for you).