Change a flow's scenario
workbench_flows_scenarios_updateRenames a scenario or changes its values. values MERGES into what's saved: pass only the variables that change, and null to clear one. Get the scenarioId from workbench_flows_scenarios_list. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | Flow id. | |
| values | No | Values by variable name, e.g. { member_first_name: "Lexi", plan_type: "Platinum" }. Names come from workbench_flows_scenarios_list's `variables`; a name the flow doesn't have is left out and reported back. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response. Omit on the first call. | |
| scenarioId | Yes | Scenario id, from workbench_flows_scenarios_list. | |
| scenarioName | No | New name. |