Run a saved workflow or a local YAML file
pw workflows run <name-or-file> [flags]
# Run a saved workflow by name
pw workflows run my-workflow
# Run a marketplace workflow by slug
pw workflows run marketplace/my-marketplace-item
# Run a workflow from a local YAML file
pw workflows run ./my-workflow.yaml
# Run with input parameters
pw workflows run -i '{"param1": "value1"}' my-workflow
# Run with inputs from a JSON file
pw workflows run -i inputs.json my-workflow
# Run without interactive watch mode
pw workflows run --no-watch my-workflow
# Validate workflow without executing (dry run)
pw workflows run --dry-run my-workflow
# Run with a custom display name
pw workflows run --name "Test run with new params" my-workflow
# Output as JSON
pw workflows run -o json my-workflow
--dry-run Validate only, don't execute
-h, --help help for run
-i, --inputs string JSON string or file path with input values
--name string Custom display name for the run
--no-watch Skip interactive watch, just print summary and exit
-o, --output string Output format (json, table)
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
-v, --verbose Enable verbose logging