Config File Reader
Reads key-value pairs from a JSON or INI config file and loads them into PAD variables at runtime.
Sign in or create a free account to copy this script.
Provided as-is, without warranty of any kind. Review and test each pattern in a non-production environment before deploying it to live automations. See our Terms.
Problem this solves
Hardcoded paths and settings break when flows move between DEV/UAT/PROD machines.
Usage Notes
- 1.Store the config file in a shared network location.
- 2.Use a base config plus an environment override.
- 3.Never store passwords directly in config files.
- 4.The config path can be driven by an environment variable.
- 5.Pair with Environment Detector for automatic env selection.
Requirements
- Power Automate Desktop 2.30+
- Variables: varConfigPath (Text), varConfigObject (Custom Object)