Suites and Environments
Description
Suites organize flows and store environment variables for different deployment targets.
Motivation
By switching environments you can run the same flow against staging or production using separate credentials.
Example
{
"suite": "Payments",
"env": {
"staging": {"base": "https://staging.example.com"},
"prod": {"base": "https://example.com"}
}
}
Questions & Answers
Q: Can I trigger flows for all environments automatically?
A: Yes. The cron system and API allow specifying the environment.
Comments
Store secrets such as API keys in environment variables rather than hard coding them within flows.
Other Uses
Use environments to test feature branches that run on dynamic URLs.