Formsort
Search…
Setting the environment
When loading a flow, the production environment is loaded by default.

Setting the environment using a URL parameter

The URL parameter formsortEnv is special and will specify which environment a flow loads.

In the preview window

The preview window normally does not load any integrations or send data to any environment, but you can use the dropdown there to load the flow in a specific environment.

Defaulting a custom domain to an environment

Custom domains may specify default URL parameters, which can be used to set ?formsortEnv by default.
This is useful to create domains like staging.{your_site}.com that default to a particular environment.

Accessing the formsortEnv variable within a flow

If you would like to use the formsortEnv variable from within your flow, to e.g. implement conditional logic based on environment, use the Formsort environment library variable. The value of Formsort environment will correspond to the value of formsortEnv .
Last modified 5mo ago