diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.ts index 189d189d99..de57bffa51 100644 --- a/skyvern-frontend/src/api/types.ts +++ b/skyvern-frontend/src/api/types.ts @@ -282,6 +282,10 @@ export type ObserverTask = { modified_at: string; output: Record | null; summary: string | null; + webhook_callback_url: string | null; + totp_verification_url: string | null; + totp_identifier: string | null; + proxy_location: ProxyLocation | null; }; export type Createv2TaskRequest = { diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx index 2553b6fc38..719746edeb 100644 --- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx +++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx @@ -44,6 +44,15 @@ function WorkflowPostRunParameters() { } const activeBlock = getActiveBlock(); + const isObserverTask = workflowRun.observer_task !== null; + + const webhookCallbackUrl = isObserverTask + ? workflowRun.observer_task?.webhook_callback_url + : workflowRun.webhook_callback_url; + + const proxyLocation = isObserverTask + ? workflowRun.observer_task?.proxy_location + : workflowRun.proxy_location; return (
@@ -125,14 +134,14 @@ function WorkflowPostRunParameters() {

Webhook Callback URL

- +

Proxy Location

{ // TODO }}