Environment Variables with Flow State
This flow will first define a common set of parameters which is triggered by an initial run of the first flow on Deploy. It is also using the most popular Meraki operations, such as listing out the organizations, networks, devices and details about the wireless and wired LAN.
flow.json
To simplify updating common parameters across all of your nodes we will
use the flow context state to store our values. This can be done in a number
of ways, but using the change nodes is a quick way to accomplish it.
The first flow line will use a change node to assign the flow context paramaters to values we define here.
The remaining flow lines will then apply the parameters from our flow
context to the msg
object when triggered.
To accomomplish this, we need to assign the msg
property to the flow
parameter value of the same name.