Nested flows with secrets, passing variables to nested sub-flow

TL;DR how to I pass variables from one sub-flow to a child sub-flow?

I am using a flow that already uses sub-flows; secrets and other config are passed to the sub-flows via environment variables (using the config panel.)

I want to be able to deploy this in different environments, so different secrets are required.

My initial thought was to take the entire flow, and extract that as a sub-flow to have all the variables and secrets defined in one place. However I don't know how to pass those variables through the the sub-flows.

Apologies if this doesn't make much sense. Any help would be greatly appreciated.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.