Scenarios are reusable, administrator-managed workflows that turn a repeated workspace action into a controlled sequence of steps. Use them when a team wants one button to run the same agent prompt, pause for the same human review, call the same nested workflow, and use the same runtime resources every time. A scenario is not just a saved prompt. It uses a template, installation, and run-time snapshot model:
LayerWhat it storesWhat you can changeWhat it affects
Template versionThe linear step recipe: launch inputs, prompts, gates, scenario calls, and runtime requirementsCreate a new private version by authoring or editing a copy. Existing versions are immutable.What future installations of that version will do
InstallationA saved copy of one template version in an organization or workspace scopeDisplay name, runtime setup, default launch inputs, enabled state, toolbar visibility, and uninstallWhether the scenario can run and how future runs resolve inputs and resources
RunA frozen execution snapshot created when the scenario startsContinue, retry, resume, or cancel from the workspace timelineOnly that active or historical run
Running scenarios keep snapshots of the template version, compiled workflow, runtime mappings, runtime presets, and launch inputs that were used at start. Later edits to templates or installations affect future runs, not runs that already exist.

Who Can Manage Scenarios

Scenario management uses the same organization-admin boundary as workspace runtime presets.
RoleCan view scenario settingsCan install, configure, or author
AdminYesYes
MemberYes, read-only where the UI allows itNo
Read-onlyYes, read-only where the UI allows itNo
Admins use Settings → Scenarios. The section is split into two subtabs:
SubtabPurposeWhat belongs here
My scenariosConfigure scenarios that are already installedScenario detail, read-only flow preview, runtime setup, launch defaults, publish checklist, toolbar visibility, readiness check, and uninstall
Templates & BuilderBrowse, install, and author template versionsTemplate library, version preview, install, edit copy, visual linear flow builder, and advanced JSON import

The Most Important Boundary

Flow builder v1 is intentionally linear. Every scenario is a single ordered chain:
Inputs → Step 1 → Step 2 → Step 3 → Done
The visual builder does not expose manual edges. The backend also rejects non-linear dependency graphs.
Supported in v1Not supported in v1
Linear sequence of stepsDAG/canvas graphs
Agent prompt stepsBranches and routers
Human gate stepsConditions
Scenario call stepsLoops
Runtime preset mappingsCode steps
Private organization versionsMarketplace publishing
This means a scenario can feel like a workflow builder, but it still behaves as a simple, predictable chain.

Quick Start: Install and Configure a Scenario

1

Open Templates & Builder

Open Settings → Scenarios → Templates & Builder. Select the organization and host that should provide scenario templates.
2

Choose a template

Pick a template from Template library. The Versions and flow preview panel shows the template version, checksum, and a visual preview of the linear flow.
3

Install the version

Click Install. Jaidu creates an installation that is disabled and hidden from the chat toolbar by default.
4

Configure the installed copy

Switch to My scenarios, open the installed scenario, then use Configure launch to rename the installed copy, map runtime requirements to organization runtime presets, and add launch defaults.
5

Publish it to chat

Use Publish to review the checklist, refresh readiness if needed, enable Allow new runs, then turn on Show in chat toolbar once backend preflight says the scenario is runnable.

What You Can Influence

The table below is the shortest way to understand what each control changes.
SurfaceControlYou influenceYou do not directly influence
Templates & BuilderTemplate selectionWhich template version can be installed or edited as a copyRuntime preset availability on the host
Templates & BuilderEdit copyThe draft for a new private versionThe source template/version; it remains unchanged
Templates & BuilderLaunch inputsWhich fields a run can receive before prompts renderThe actual values used by an already-started run
Templates & BuilderStep orderThe linear order in which steps executeBranching, fan-out, fan-in, or custom edges
Templates & BuilderAgent promptPrompt text and optional isolated runtime requirementWhether the mapped runtime preset actually contains required resources
Templates & BuilderHuman gateThe review message shown before continuingAutomatic approval; the run waits for a user action
Templates & BuilderScenario callWhich nested scenario version is called and which launch inputs are passedArbitrary dataflow between previous step outputs
My scenariosName in toolbarThe display name for this installed copyThe source template name
My scenariosRuntime setupWhich organization runtime preset satisfies each requirementThe contents of a runtime preset; edit those in Runtime presets
My scenariosLaunch defaultsFallback input values for future runsValues already frozen into a run snapshot
My scenariosAllow new runsWhether this installation may runWhether it appears in the toolbar; that also needs toolbar + readiness
My scenariosShow in chat toolbarWhether a runnable enabled scenario appears in workspace chatLaunch while backend preflight is blocked
Workspace chatStart scenarioCreates a run snapshot from the current installation and chat contextThe saved installation configuration
Workspace chatContinue/retry/resumeProgresses or repairs the active runThe template version used by that run

Templates & Builder

Use Templates & Builder for template work. Template work is about what a scenario does. It is separate from installation work, which is about whether a saved scenario can run in your organization or workspace.

Template Library

The library shows templates returned by the selected host and organization. First-party templates are seeded by the host. A template can have multiple versions.
Field or actionMeaning
Template cardSelects a template so you can inspect its versions
Version statusOnly active versions are installable or editable as a copy
ChecksumIdentifies the immutable manifest content for that version
Visual previewShows launch inputs, the linear step chain, runtime requirements, and step details
InstallCreates a disabled installation for that version
Edit copyForks that version into the private visual editor
Installing a template does not make it runnable immediately. New installations start disabled and toolbar-hidden so an admin can configure runtime setup and defaults first.

Edit Installed Scenarios Safely

Use My scenarios → Edit flow when you want to change a downloaded or installed scenario. The action opens an editable copy in Templates & Builder. Saving the result creates a new private immutable version. It does not mutate the source installation, source version, or active runs. When the source is an installed scenario, the editor can offer these save options:
Save optionResult
Save private versionSaves only a new private template version
Save & install as new disabled scenarioSaves the private version and creates a new disabled, toolbar-hidden installation
Copy runtime setup and launch defaults from source installationCopies configuration onto the new installed copy, then relies on backend readiness to verify it
Replace source installed scenario after saveSaves and installs the new private version, copies the source configuration, then removes the old installed copy from future use
Replacing an installed scenario still preserves existing run snapshots. The replacement starts disabled and hidden from chat until readiness passes.

Flow Board Builder

The builder is the main no-JSON path for building organization-private linear templates. It looks like a Zapier/Activepieces-style board, but it still writes a strict v1 linear manifest. Start and Done are fixed boundary nodes; only the step cards between them can be inserted, reordered, or removed.
Editor areaWhat you setBehaviour
Top builder barScenario name, description, source-copy status, and save actionEdits template-draft metadata only; installation configuration stays in My scenarios
Flow boardStart → step cards → DoneShows the whole linear sequence on a canvas-like surface
Plus connectorsInsert Agent prompt, Human gate, or Scenario call at an exact positionThe new card is inserted into the sequence; no manual edges are created
Step cardsSelect, drag, move up/down, or remove stepsThe saved manifest regenerates strict previous-step dependencies from card order
Start inspectorLaunch input key, label, and required markerPrompts and scenario calls can read these fields
Selected step inspectorEdits the selected step onlyChanges update the board card and generated manifest
Variable pickerInserts {{ input.<key> }} into agent promptsOnly launch inputs are exposed; previous-step output mapping is not exposed in v1
Done inspectorRead-only summaryConfirms step/input/runtime counts and that v1 has no branches or custom edges
Runtime modeWorkspace default or isolated preset requirementControls whether an agent prompt needs a runtime mapping after installation
Input bindingsParent launch input to nested scenario inputPasses launch inputs into scenario-call steps without JSON
Save behaviourSave private version, install after save, copy source configuration, or replace source installationControls what happens after the immutable version is created
Advanced template identity, schema, and runtime resourcesTemplate id, version, input schema JSON, required skills, and MCP serversDeveloper/admin escape hatch for technical details
Generated manifest previewCollapsed technical viewFor inspection only; not the main authoring path
The board deliberately does not store node positions in the manifest. Zoom, canvas background, plus popovers, and drag handles are authoring UI only.

Launch Inputs

Launch inputs define the fields a scenario can receive at start time. The visual editor supports the common case: string fields with a key, label, and required flag. Prompts can reference launch inputs with template placeholders, for example:
Use the objective below and complete the requested work.

{{ input.objective }}
Input settingWhat it changes
Field keyThe name used by prompt placeholders and scenario-call bindings
LabelThe human-readable name in the editor
RequiredIndicates that the input should be provided before a reliable run
Input schema JSONOptional advanced escape hatch for custom cases
Keep input keys stable after a template is in use. If you rename objective to goal, update every prompt and scenario-call binding that referenced objective.

Step Types

A v1 scenario can contain only these step types.
Step typeWhat it doesUser-controlled fieldsRuntime effect
Agent promptSends a prompt to Codex as part of the scenarioName, prompt template, runtime mode, and advanced step id/runtime requirement keyUses workspace default runtime unless an isolated preset requirement is set
Human gatePauses the workflow for human review before continuingName, review message, and advanced step idThe run waits in the workspace timeline until a user continues or retries
Scenario callCalls another scenario version as a nested workflowName, target scenario id/version, input bindings, and advanced step idThe called scenario expands into the run preview/timeline using the selected version

Agent Prompt Runtime Requirements

An agent prompt step can either use the workspace default runtime or require an isolated runtime preset.
Runtime modeResult
Workspace defaultThe step uses the workspace default runtime path and does not need an installation runtime mapping
Requires isolated presetThe step stores a runtime requirement key. Installed configuration must map this key to an organization runtime preset
The advanced runtime resource fields define the resources expected by every runtime requirement key in that draft:
Advanced fieldMeaning
Required skill canonical namesSkills the mapped preset must contain
Required MCP canonical namesMCP servers the mapped preset must contain
For isolated requirements, backend preflight checks that the mapped preset has the required resources and does not include unexpected extra resources.

Scenario Call Input Bindings

A scenario call passes launch inputs from the current scenario into the nested scenario.
Binding fieldMeaning
Nested scenario inputThe input key expected by the called scenario
Use launch inputThe current scenario input to pass into that nested input
Advanced scenario call inputsJSON escape hatch for literal or imported custom bindings
Example:
Nested scenario inputUse launch inputEffect
objectiveobjectiveThe child scenario receives the parent objective
implementation_promptimplementation_promptThe child scenario receives the parent implementation prompt

My Scenarios

Use My scenarios for configuration of scenarios that already exist in your organization or workspace. Installed configuration answers: Can this scenario run here, and with which resources/defaults?

Installed Scenario Detail

Each installed scenario opens into a detail panel with five views.
ViewPurpose
OverviewShows the scenario layer summary, runtime/default counts, publish state, and readiness checklist
FlowShows a read-only backend preview of the installed copy, including nested calls and runtime nodes
Configure launchEdits the installed copy name, runtime setup, launch defaults, and backend preview
PublishControls Allow new runs, Show in chat toolbar, readiness refresh, and uninstall
VersionsShows the immutable template version, catalog item, installation id, scope, and safe edit path
Flow recipe editing stays separate. Use Edit flow to fork the immutable source version into Templates & Builder.

Scenario Detail Controls

ControlWhat it doesWhen it is available
Allow new runsAllows the installation to be considered runnableOnly after backend preflight is OK, or when disabling an already-enabled installation
Show in chat toolbarRequests chat-toolbar visibility for the scenarioRequires allowed runs, backend preflight OK, and runnable state
Open detailsOpens the scenario detail panelAny visible installation
Configure launchOpens runtime setup, launch defaults, and backend previewAdmin only
Edit flowOpens a safe editable copy in Templates & BuilderAdmin only
Refresh readiness checkRe-runs backend compatibility checksAny visible installation
UninstallRemoves this installation from future useAdmin only

Runtime Setup

Runtime setup connects template requirements to organization runtime presets. A mapping does not create skills or MCP servers. It selects a preset that should already contain the resources required by the template.
Requirement stateWhat happens
No preset mappedPreflight reports missing_runtime_mapping and the scenario cannot be enabled for launch
Preset was deleted or is unavailablePreflight reports unknown_preset
Preset belongs to another organizationPreflight reports wrong_preset_organization
Required skill missingPreflight reports missing_required_skill
Required MCP server missingPreflight reports missing_required_mcp
Exactly-one skill policy is not satisfiedPreflight reports exactly_one_policy_violation
Isolated preset has extra resourcesPreflight reports extra_resource_for_isolated_preset
Nested scenario cannot expandPreflight reports scenario_call_expansion_failure
See Workspace Runtime Presets for how runtime presets select skills and MCP servers.

Default Launch Inputs

Launch defaults are saved on the installation. They provide fallback values for future runs.
BehaviourResult
A default input key exists and launch provides no valueThe default value is used
Launch provides a value for the same keyThe launch value overrides the default
You edit defaults after a run startsOnly future runs see the new default
You need complex valuesUse Advanced default inputs JSON
For installed scenarios launched from workspace chat, Jaidu builds launch inputs from the installation defaults and the current workspace/chat context. The launch preview shows the exact default and launch input object before you start.

Backend Preview and Readiness

The configuration panel shows a backend preview because the server is the source of truth for runtime compatibility.
Preview areaWhat to look for
Runtime flowExpanded step order, nested scenario calls, mapped/unmapped runtime nodes
Preflight errorsBlockers that prevent enabling or launching
Preflight warningsIssues to inspect before launch
Runtime requirementsWhich keys must be mapped to presets
Mapped preset idsWhich preset will be snapshotted for runtime-isolated steps
Saving runtime setup may temporarily disable the installation and hide it from the toolbar until backend preflight validates the new configuration.

Toolbar Visibility Rules

An installed scenario appears in the workspace chat toolbar only when all required conditions are satisfied.
ConditionIf false
Installation belongs to the current organization/workspace scopeHidden from that workspace
Installation allows new runsHidden with reason: disabled in scenario settings
Toolbar visibility is enabledHidden with reason: hidden from chat toolbar
Backend preflight is OKHidden or disabled with the first preflight blocker
Backend preflight is runnableHidden or launch-blocked until runnable
Current Codex attempt is idleThe toolbar action is disabled with a wait message while an agent run is active
The My scenarios tab also shows Toolbar-hidden scenarios so admins can see why an installed scenario is not appearing in workspace chat.

What Changes Affect Future Runs

ChangeAffects existing active runsAffects future runsNotes
Install a templateNoYes, after configuration and enablementInstallation starts disabled and toolbar-hidden
Edit runtime setupNoYesBackend preflight decides whether enable/toolbar can remain on
Edit default launch inputsNoYesLaunch-time values override defaults
Allow or block new runsNoYesDisabled installations cannot start new runs
Toggle toolbarNoYesControls visibility, not installation existence
Edit copy and save private versionNoOnly if installed and configuredSource version is unchanged
Replace source installed scenario after saveNoYes, through the new installed copyThe old installed copy is removed from future use
UninstallNo direct mutation of run snapshotsPrevents future use of that installationExisting run history keeps its snapshots
Edit runtime preset contentsNoYes, after preflight sees the new preset resourcesCan make mappings valid or invalid

Troubleshooting

Check Settings → Scenarios → My scenarios. The installation must allow new runs, toolbar visibility must be on, and backend preflight must be OK and runnable. Also confirm that the installation is not scoped to a different workspace.
Toolbar visibility requires allowed runs and runnable backend preflight. Open Configure launch, fix runtime setup or default inputs if needed, refresh readiness, then try again from Publish.
The template has an agent prompt with an isolated runtime requirement key. Map that key to an organization runtime preset in My scenarios → Configure launch.
The mapped runtime preset does not contain the canonical resource required by the template. Edit the runtime preset or choose a different preset.
Flow editing creates a new private version. Install or replace the installed copy from the save options, then configure and publish the resulting installation. The source version remains immutable.
Confirm that the launch input key exists, the default launch input has a value, and the prompt uses the same key, such as {{ input.objective }}.
The import path is still constrained to v1 linear manifests. JSON with DAG, fan-out, fan-in, unsupported step types, invalid dependencies, or invalid runtime requirements is rejected.