Skip to content

Automate browser based workflows with AI

Add `persist_browser_session` value in convert() function (#1578)

Paweł Stawikowskidfe878f0edd2
diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
index 33a9d2b63..1b4a7b701 100644
--- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
@@ -1653,6 +1653,7 @@ function convert(workflow: WorkflowApiResponse): WorkflowCreateYAMLRequest {
proxy_location: workflow.proxy_location,
webhook_callback_url: workflow.webhook_callback_url,
totp_verification_url: workflow.totp_verification_url,
+ persist_browser_session: workflow.persist_browser_session,
workflow_definition: {
parameters: convertParametersToParameterYAML(userParameters),
blocks: convertBlocksToBlockYAML(workflow.workflow_definition.blocks),