Provision a Variable and Run a Consuming Script
A 3-step recipe with Windmill. We can help you get access.
Recipe · 3 steps
Provision a Variable and Run a Consuming Script
with Windmill
Create a Windmill variable and run a script that consumes it.
- Create the variable at the supplied path. The response body is the created variable path as plain text.
- Read the variable value back to confirm it persisted as expected.
- Run the consuming script asynchronously. The response body is the new job UUID.
What you'll need to have ready
- token: Windmill API token presented as a Bearer credential.
- workspace: The Windmill workspace id.
- variablePath: The path to create the variable at (e.g. "u/admin/api_key").
- variableValue: The string value of the variable.
- isSecret: Whether the variable is a secret.
- description: A description of the variable.
- scriptPath: Path to the script that consumes the variable.
- args: The argument map passed to the script (referencing the variable).
For your developer
Arazzo workflow windmill:provision-variable-and-run-script, 3 operations: createVariable → getVariableValue → runScriptByPath. Specs on APIs.io.