diff --git a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx index d6c93238..8aa8e7bc 100644 --- a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx +++ b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx @@ -133,7 +133,7 @@ function RunWorkflowForm({ workflowParameters, initialValues }: Props) {
-

Workflow Parameters

+

Input Parameters

{workflowParameters?.map((parameter) => { return ( @@ -198,7 +198,7 @@ function RunWorkflowForm({ workflowParameters, initialValues }: Props) { ); })} {workflowParameters.length === 0 && ( -
No workflow parameters for this workflow.
+
This workflow doesn't have any input parameters
)}
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx index 9e3e3cd4..5781c86e 100644 --- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx +++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx @@ -493,8 +493,11 @@ function WorkflowRun() { {Object.entries(parameters).length > 0 && (
-

Parameters

+

Input Parameter Values

+ {Object.entries(parameters).length === 0 && ( +
This workflow doesn't have any input parameters.
+ )} {Object.entries(parameters).map(([key, value]) => { return (
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx index f4532645..420493fe 100644 --- a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx +++ b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx @@ -63,16 +63,20 @@ function WorkflowRunParameters() { {} as Record, ); + const header = ( +
+

Parameters

+

+ Fill the placeholder values that you have linked throughout your + workflow. +

+
+ ); + if (isFetching) { return (
-
-

Run Parameters

-

- Fill the placeholder values that you have linked throughout your - workflow. -

-
+ {header}
); @@ -84,13 +88,7 @@ function WorkflowRunParameters() { return (
-
-

Run Parameters

-

- Fill the placeholder values that you have linked throughout your - workflow. -

-
+ {header}
-

Workflow Parameters

+

Parameters

Create placeholder values that you can link in nodes. You will be prompted to fill them in before running your workflow. @@ -79,7 +79,7 @@ function WorkflowParametersPanel() { }); }} > - Workflow Parameter + Input Parameter {