Skip to main content
PUT
Update workflow

Authorizations

cc-key
string
header
required

API key-based authentication. Provide your CloudCruise API key in the cc-key header.

Path Parameters

workflow_id
string<uuid>
required

The ID of the workflow to update

Body

application/json

Payload for updating an existing workflow via PUT. The workflow ID is provided in the URL path. The recommended approach is to first fetch the current workflow via GET /workflows/{workflow_id}, modify the desired fields, and then submit the full payload here.

name
string
required

Display name of the workflow

nodes
object[]
required

Array of workflow step nodes. Each node represents an action in the workflow (e.g., click, type text, navigate, extract data). Pass an empty array [] to clear all nodes.

edges
object
required

Map of edges connecting workflow nodes. Keys are source node IDs, values define the outgoing connections. Pass an empty object {} to clear all edges.

input_schema
object
required

JSON Schema defining the workflow's input variables

Example:
output_schema
object
required

Selects which fields the run returns in its result and webhook payload. Only the fields named under properties are returned; pass an empty object {} to return the whole run context instead, excluding the run's inputs. A schema that names no properties - {"type": "object", "properties": {}} - is stored and applied as {}.

Example:
max_retries
integer
required

Maximum number of retry attempts for failed workflow steps

Example:

0

description
string | null

Optional description of the workflow

version_note
string

Optional note describing what changed in this version

Example:

"Updated login selectors"

extract_network_urls
string[] | null

URL patterns to extract from network traffic during execution

encrypted_keys
string[] | null

References to encrypted vault keys used by this workflow

popup_xpaths
string[] | null

XPath selectors for popups that should be automatically dismissed

vault_schema
object | null

Schema defining vault credentials required by this workflow

Example:
proxy_setting
string | null

Proxy configuration setting

proxy_value
string | null

Proxy value (e.g., proxy URL or region)

enable_popup_handling
boolean

Whether popup handling is enabled

enable_action_timing_recovery
boolean

Whether action timing recovery is enabled

enable_xpath_recovery
boolean

Whether XPath recovery is enabled

run_window
object | null

Run window for the workflow. Leave it out on save to keep the current one, send null to remove it. See Run Window.

desktop_image_id
string<uuid> | null

ID of the desktop image the workflow runs on. Set it for a workflow that runs on a Windows desktop: each run starts on a machine built from this image. The image must be saved and belong to this workspace. Leave it out on save to keep the current one, send null to remove it. See Desktop Images.

enable_error_code_generation
boolean

Whether error code generation is enabled

enable_service_unavailable_recovery
boolean

Whether service unavailable recovery is enabled

enable_incorrect_form_input_recovery
boolean
deprecated

Deprecated, no effect

enable_password_update_recovery
boolean

Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.

error_actions
object | null

What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action

enable_tfa_setup_recovery
boolean
deprecated

Deprecated, no effect

enable_decision_required_recovery
boolean

Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.

decision_timeout_seconds
integer | null

Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.

Required range: 30 <= x <= 600
decision_mention_slack_ids
string[] | null

Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.

Pattern: ^[UWS][A-Z0-9]{2,}$
decision_operating_hours
object | null

Deprecated, no effect. Set a schedule on a notification rule for run.decision_required instead.

manual_captcha_solve
boolean

When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. Omit to keep the current value.

allow_requeue
boolean

Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.

deny_requeue_past_dry_run_marker
boolean

When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.

enable_network_listener
boolean

Whether the network listener is enabled

skip_udp_proxying
boolean

Whether UDP proxying is skipped during workflow execution

origin_catalog_workflow_version_id
string<uuid> | null

Specific origin catalog workflow version ID used as the base

origin_base_version_number
integer | null

Base version number used when deriving from a catalog workflow

component_imports
object[]

Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).

local_components
object[]

Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type "local").

base_version_id
string<uuid>

The version_id your edit is based on. If a newer version exists on the target branch, the save is rejected with 409 WORKFLOW_VERSION_CONFLICT. Omit to save on top of the branch's latest version.

branch_id
string<uuid>

Branch to save to. Defaults to the workflow's default branch.

release_version
string

Tag the new version with this exact version instead of the computed one. Must be higher than the version the save is based on and not already used by this workflow.

Pattern: ^\d+\.\d+\.\d+$
Example:

"2.0.0"

bypass_protection
boolean

Save to a branch protected by a workspace rule. Only allowed for roles the rule lets bypass it.

Response

Workflow updated successfully. Returns the full workflow with the new version.

Full workflow definition including nodes and edges

id
string<uuid>
required

Unique identifier for the workflow

name
string
required

Name of the workflow

created_at
string<date-time>
required

Timestamp when the workflow was created

workspace_id
string<uuid>
required

ID of the workspace this workflow belongs to

created_by
string<uuid>
required

ID of the user who created the workflow

nodes
object[]
required

Array of workflow step nodes

edges
object
required

Map of edges connecting workflow nodes

description
string | null

Description of the workflow

updated_at
string<date-time>

Timestamp when the workflow was last updated

version_id
string<uuid>

ID of the current workflow version

version
string

Semantic version (major.minor.patch) of this version

Example:

"2.1.0"

major
integer

Major part of version

minor
integer

Minor part of version

patch
integer

Patch part of version

bump_type
enum<string> | null

How version was derived from its parent, or null when it was chosen explicitly or has no parent

Available options:
major,
minor,
patch
branch_id
string<uuid> | null

Branch this version was saved to

default_branch_id
string<uuid> | null

The workflow's default branch, used by runs and reads that name no branch

parent_version_id
string<uuid> | null

The version this one was saved on top of

merge_parent_version_id
string<uuid> | null

For a merge, the head of the branch that was merged in

input_schema
object | null

JSON schema defining the workflow's input variables

vault_schema
object | null

Schema defining vault credentials and their configuration

component_imports
object[]

Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).

local_components
object[]

Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type "local").

enable_popup_handling
boolean

Whether popup handling is enabled for this workflow

enable_xpath_recovery
boolean

Whether XPath recovery is enabled for this workflow

run_window
object | null

Run window for the workflow. Leave it out on save to keep the current one, send null to remove it. See Run Window.

desktop_image_id
string<uuid> | null

ID of the desktop image the workflow runs on, or null for a browser workflow. See Desktop Images.

enable_error_code_generation
boolean

Whether error code generation is enabled for this workflow

enable_service_unavailable_recovery
boolean

Whether service unavailable recovery is enabled for this workflow

enable_incorrect_form_input_recovery
boolean
deprecated

Deprecated, no effect

enable_password_update_recovery
boolean

Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.

error_actions
object | null

What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action

enable_tfa_setup_recovery
boolean
deprecated

Deprecated, no effect

enable_decision_required_recovery
boolean

Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.

decision_timeout_seconds
integer | null

Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.

Required range: 30 <= x <= 600
decision_mention_slack_ids
string[] | null

Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.

Pattern: ^[UWS][A-Z0-9]{2,}$
decision_operating_hours
object | null

Deprecated, no effect. Set a schedule on a notification rule for run.decision_required instead.

manual_captcha_solve
boolean

When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. A new workflow created without this field gets true. Existing workflows keep their stored value.

allow_requeue
boolean

Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.

deny_requeue_past_dry_run_marker
boolean

When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.

enable_action_timing_recovery
boolean

Whether action timing recovery is enabled

enable_network_listener
boolean

Whether network listener capture is enabled for this workflow version