Save a scenario for a flow
workbench_flows_scenarios_createSaves a named scenario: values for the flow's variables, e.g. one demo customer. It shows in the test pane's Scenarios menu, and Caliper evals can run as it. Use the person's details from what the user shared (a CRM screenshot, a profile) and say which ones you made up. 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. | |
| scenarioName | Yes | What it's called in the menu, e.g. 'Lexi Taylor, Platinum'. |