Skip to main content
POST
/
workflows
/
update
Update a workflow
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/update \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>",
  "name": "Updated Workflow Name",
  "isAuthenticationRequired": false,
  "autoSaveEnabled": true,
  "timeoutMs": 1800000,
  "shouldPauseOnError": false,
  "shouldSelfHeal": true,
  "shouldSaveResultFile": false,
  "model": "gpt-4.1-2025-04-14",
  "webhookUrls": [
    "https://example.com/webhook1",
    "https://example.com/webhook2"
  ],
  "useProxy": false,
  "operatingSystem": "Windows",
  "fingerprintBrowser": "Safari",
  "maxConcurrentSessions": 10,
  "useLoginDetection": true,
  "retryConfiguration": {
    "delay": 1000,
    "retryCount": 3
  },
  "blockRetryCount": 3,
  "blockBackoffStrategy": "exponential"
}'
{
  "id": "<string>",
  "name": "<string>",
  "isAuthenticationRequired": true,
  "autoSaveEnabled": true,
  "timeoutMs": 1800000,
  "shouldPauseOnError": false,
  "shouldSelfHeal": true,
  "shouldSaveResultFile": false,
  "maxConcurrentSessions": 10,
  "model": "gpt-4.1-mini-2025-04-14",
  "useProxy": false,
  "useLoginDetection": true,
  "operatingSystem": "Windows",
  "fingerprintBrowser": "Safari",
  "blockRetryCount": 3,
  "blockBackoffStrategy": "exponential",
  "message": "Workflow updated successfully"
}

Body

application/json
workflowId
string
required

ID of the workflow to update

name
string

New name for the workflow

Example:

"Updated Workflow Name"

isAuthenticationRequired
boolean

Whether authentication is required for this workflow

Example:

false

autoSaveEnabled
boolean

Whether auto-save is enabled for this workflow

Example:

true

timeoutMs
integer | null

Timeout in milliseconds for workflow execution

Required range: x > 0
Example:

1800000

shouldPauseOnError
boolean

Whether to pause workflow execution on error

Example:

false

shouldSelfHeal
boolean

Whether to automatically clean up cache when workflow execution fails

Example:

true

shouldSaveResultFile
boolean

Whether to save result files for this workflow

Example:

false

model
enum<string>

The LLM model to use for this workflow

Available options:
gpt-4.1-mini-2025-04-14,
gpt-4.1-2025-04-14,
gpt-5-2025-08-07,
gpt-5-mini-2025-08-07,
gpt-5-nano-2025-08-07
Example:

"gpt-4.1-2025-04-14"

webhookUrls
string<uri>[]

List of webhook URLs to receive notifications when this workflow completes

Example:
[
"https://example.com/webhook1",
"https://example.com/webhook2"
]
useProxy
boolean

Whether to use proxy for this workflow

Example:

false

operatingSystem
enum<string> | null

Operating system for browser sessions

Available options:
Windows,
MacOS,
Linux
Example:

"Windows"

fingerprintBrowser
enum<string>

Browser fingerprint to use for sessions

Available options:
Chrome,
Safari
Example:

"Safari"

maxConcurrentSessions
integer | null

Maximum concurrent executions for this workflow

Required range: x > 0
Example:

10

useLoginDetection
boolean

Whether to use login detection for this workflow

Example:

true

retryConfiguration
object | null

Retry configuration for failed blocks. Set to null to remove retries.

blockRetryCount
integer | null

Number of retries for failed blocks

Required range: x >= 0
Example:

3

blockBackoffStrategy
enum<string> | null

Backoff strategy for block retries

Available options:
exponential,
linear
Example:

"exponential"

Response

Workflow updated successfully

id
string
required

ID of the updated workflow

name
string
required

Updated name of the workflow

isAuthenticationRequired
boolean
required

Whether authentication is required for this workflow

autoSaveEnabled
boolean
required

Whether auto-save is enabled for this workflow

model
enum<string>
required

The LLM model used for this workflow

Available options:
gpt-4.1-mini-2025-04-14,
gpt-4.1-2025-04-14,
gpt-5-2025-08-07,
gpt-5-mini-2025-08-07,
gpt-5-nano-2025-08-07
message
string
required

Success message

Example:

"Workflow updated successfully"

timeoutMs
integer | null

Timeout in milliseconds for workflow execution

Example:

1800000

shouldPauseOnError
boolean

Whether to pause workflow execution on error

Example:

false

shouldSelfHeal
boolean

Whether to automatically clean up cache when workflow execution fails

Example:

true

shouldSaveResultFile
boolean

Whether to save result files for this workflow

Example:

false

maxConcurrentSessions
integer | null

Maximum concurrent executions for this workflow

Required range: x > 0
Example:

10

useProxy
boolean

Whether to use proxy for this workflow

Example:

false

useLoginDetection
boolean

Whether to use login detection for this workflow

Example:

true

operatingSystem
enum<string> | null

Operating system for browser sessions

Available options:
Windows,
MacOS,
Linux
Example:

"Windows"

fingerprintBrowser
enum<string>

Browser fingerprint to use for sessions

Available options:
Chrome,
Safari
Example:

"Safari"

blockRetryCount
integer | null

Number of retries for failed blocks

Required range: x >= 0
Example:

3

blockBackoffStrategy
enum<string> | null

Backoff strategy for block retries

Available options:
exponential,
linear
Example:

"exponential"

I