Skip to content

Automate browser based workflows with AI

SKY-10398: rename Parameters → Inputs across the frontend UI (#6296)

Suchintanf97a146bbaa8
diff --git a/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx b/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
index ebc7e7ec6..713a082b8 100644
--- a/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
+++ b/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
@@ -55,8 +55,7 @@ function DeleteConfirmationDialog({
{" "}
(
{[
- block.hasParameterKeyReference &&
- "parameter selector",
+ block.hasParameterKeyReference && "input selector",
block.hasJinjaReference && "text field",
]
.filter(Boolean)
diff --git a/skyvern-frontend/src/components/ParameterAutocompleteDropdown.tsx b/skyvern-frontend/src/components/ParameterAutocompleteDropdown.tsx
index d16727cab..bc8cabdfc 100644
--- a/skyvern-frontend/src/components/ParameterAutocompleteDropdown.tsx
+++ b/skyvern-frontend/src/components/ParameterAutocompleteDropdown.tsx
@@ -15,7 +15,7 @@ type Props = {
};
const CATEGORY_LABELS: Record<ParameterCategory, string> = {
- parameter: "Parameters",
+ parameter: "Inputs",
output: "Block Outputs",
system: "System",
};
diff --git a/skyvern-frontend/src/routes/history/RunHistory.tsx b/skyvern-frontend/src/routes/history/RunHistory.tsx
index 3a5124897..ed26be922 100644
--- a/skyvern-frontend/src/routes/history/RunHistory.tsx
+++ b/skyvern-frontend/src/routes/history/RunHistory.tsx
@@ -338,7 +338,7 @@ function RunHistory() {
</Button>
</TooltipTrigger>
<TooltipContent>
- {isExpanded ? "Hide Parameters" : "Show Parameters"}
+ {isExpanded ? "Hide Inputs" : "Show Inputs"}
</TooltipContent>
</Tooltip>
</TooltipProvider>
@@ -410,7 +410,7 @@ function RunHistory() {
placeholder={
workflowPermanentIdFilter
? "Clear the agent filter above to search"
- : "Search by run ID or parameter..."
+ : "Search by run ID or input..."
}
disabled={!!workflowPermanentIdFilter}
className="w-48 lg:w-72"
@@ -568,7 +568,7 @@ function WorkflowRunParametersInline({
if (!hasParameters && !hasExtraHeaders) {
return (
<div className="ml-8 py-4 text-sm text-neutral-600 dark:text-slate-400">
- No parameters for this run
+ No inputs for this run
</div>
);
}
@@ -594,7 +594,7 @@ function WorkflowRunParametersInline({
<div className="space-y-4">
{hasParameters && (
<ParameterDisplayInline
- title="Run Parameters"
+ title="Run Inputs"
parameters={parameterItems}
searchQuery={searchQuery}
keywordMatchesParameter={keywordMatchesParameter}
diff --git a/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx b/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
index c243e7988..fd0c8bff8 100644
--- a/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
+++ b/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
@@ -496,7 +496,7 @@ function ScheduleDetailPage() {
{hasUserFacingParameters(workflowParameters) && (
<div className="rounded-lg border border-slate-700 p-4">
- <h3 className="mb-4 text-sm text-slate-400">Agent Parameters</h3>
+ <h3 className="mb-4 text-sm text-slate-400">Agent Inputs</h3>
<div className="space-y-2">
{workflowParameters
.filter(isScheduleParameter)
diff --git a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
index 65a9d66b6..d52bee3d1 100644
--- a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
@@ -348,7 +348,7 @@ function TaskDetails() {
to: "recording",
},
{
- label: "Parameters",
+ label: "Inputs",
to: "parameters",
},
{
diff --git a/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx b/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
index 81d69b64d..45e0dad2f 100644
--- a/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
@@ -35,7 +35,7 @@ function TaskParameters() {
}
if (taskIsError || !task) {
- return <div>Error loading parameters</div>;
+ return <div>Error loading inputs</div>;
}
return (
diff --git a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
index 9950122cd..ba768714d 100644
--- a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
+++ b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
@@ -570,7 +570,7 @@ function RunWorkflowForm({
<header className="flex items-end justify-between gap-4">
<div className="space-y-5">
<h1 className="text-3xl">
- Parameters{workflow?.title ? ` - ${workflow.title}` : ""}
+ Inputs{workflow?.title ? ` - ${workflow.title}` : ""}
</h1>
<h2 className="text-lg text-slate-400">
Fill the placeholder values that you have linked throughout your
@@ -652,7 +652,7 @@ function RunWorkflowForm({
<div className="space-y-8 rounded-lg bg-slate-elevation3 px-6 py-5">
<header>
- <h1 className="text-lg">Input Parameters</h1>
+ <h1 className="text-lg">Inputs</h1>
</header>
{workflowParameters?.map((parameter) => {
return (
@@ -790,7 +790,7 @@ function RunWorkflowForm({
);
})}
{workflowParameters.length === 0 && (
- <div>This agent doesn't have any input parameters</div>
+ <div>This agent doesn't have any inputs</div>
)}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx b/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
index 3c99b9b8d..666926d33 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
@@ -169,7 +169,7 @@ function WorkflowBlockCollapsibleContent({ task, onNavigate }: Props) {
setActiveTab("parameters");
}}
>
- Parameters
+ Inputs
</div>
</div>
<div>
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowPage.test.tsx b/skyvern-frontend/src/routes/workflows/WorkflowPage.test.tsx
index 2bd13b520..55448f6fd 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowPage.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowPage.test.tsx
@@ -35,7 +35,7 @@ vi.mock("@/components/StatusFilterDropdown", () => ({
}));
vi.mock("@/components/TableSearchInput", () => ({
- TableSearchInput: () => <input aria-label="Search runs by parameter" />,
+ TableSearchInput: () => <input aria-label="Search runs by input" />,
}));
vi.mock("./WorkflowActions", () => ({
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
index 1a26c407e..3b9453fca 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
@@ -204,7 +204,7 @@ function WorkflowPage() {
params.set("page", "1");
setSearchParams(params, { replace: true });
}}
- placeholder="Search runs by parameter..."
+ placeholder="Search runs by input..."
className="w-48 lg:w-72"
/>
<StatusFilterDropdown
@@ -308,9 +308,7 @@ function WorkflowPage() {
</Button>
</TooltipTrigger>
<TooltipContent>
- {isExpanded
- ? "Hide Parameters"
- : "Show Parameters"}
+ {isExpanded ? "Hide Inputs" : "Show Inputs"}
</TooltipContent>
</Tooltip>
</TooltipProvider>
@@ -478,7 +476,7 @@ function WorkflowRunParameters({
if (!run || !run.parameters || Object.keys(run.parameters).length === 0) {
return (
<div className="ml-8 py-4 text-sm text-slate-400">
- No parameters for this run
+ No inputs for this run
</div>
);
}
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
index ba0cf7404..2aa92bdc8 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
@@ -63,7 +63,7 @@ function WorkflowRunParameters() {
return (
<div className="space-y-8">
<header className="space-y-5">
- <h1 className="text-3xl">Parameters</h1>
+ <h1 className="text-3xl">Inputs</h1>
<h2 className="text-lg text-slate-400">
Fill the placeholder values that you have linked throughout your
agent.
diff --git a/skyvern-frontend/src/routes/workflows/Workflows.tsx b/skyvern-frontend/src/routes/workflows/Workflows.tsx
index 2e4ab5c68..b540214fb 100644
--- a/skyvern-frontend/src/routes/workflows/Workflows.tsx
+++ b/skyvern-frontend/src/routes/workflows/Workflows.tsx
@@ -491,7 +491,7 @@ function Workflows() {
setSearch(value);
setParamPatch({ page: "1" });
}}
- placeholder="Search by title or parameter..."
+ placeholder="Search by title or input..."
className="w-48 lg:w-72"
/>
<div className="flex items-center gap-4">
@@ -773,9 +773,9 @@ function Workflows() {
<TooltipContent>
{hasParameters
? isExpanded
- ? "Hide Parameters"
- : "Show Parameters"
- : "No Parameters"}
+ ? "Hide Inputs"
+ : "Show Inputs"
+ : "No Inputs"}
</TooltipContent>
</Tooltip>
</TooltipProvider>
diff --git a/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx b/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
index 4c09ee07d..6005e0bc5 100644
--- a/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
@@ -40,7 +40,7 @@ function ParameterDisplayInline({
searchQuery,
keywordMatchesParameter,
showDescription = true,
- emptyMessage = "No parameters for this run",
+ emptyMessage = "No inputs for this run",
className,
}: ParameterDisplayInlineProps) {
if (!parameters || parameters.length === 0) {
diff --git a/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx b/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
index bdd12eb1d..e7968c76a 100644
--- a/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
@@ -102,7 +102,7 @@ export function ParametersDialogBase({
<DialogTitle>{title}</DialogTitle>
</DialogHeader>
{items.length === 0 ? (
- <div className="text-sm text-slate-400">No parameters.</div>
+ <div className="text-sm text-slate-400">No inputs.</div>
) : (
<div className="space-y-3">
<Label className="text-xs">{sectionLabel}</Label>
diff --git a/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx b/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
index 6b23d8bd5..07a0c068d 100644
--- a/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
@@ -32,7 +32,7 @@ function ScheduleParametersSection({
return (
<div className="space-y-2">
<div className="space-y-1">
- <Label>Agent Parameters</Label>
+ <Label>Agent Inputs</Label>
<p className="text-xs text-slate-500">
Values supplied here are used every time this schedule runs.
</p>
diff --git a/skyvern-frontend/src/routes/workflows/components/SourceParameterKeySelector.tsx b/skyvern-frontend/src/routes/workflows/components/SourceParameterKeySelector.tsx
index 90d8ebd3d..7084c1044 100644
--- a/skyvern-frontend/src/routes/workflows/components/SourceParameterKeySelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/SourceParameterKeySelector.tsx
@@ -28,7 +28,7 @@ function SourceParameterKeySelector({ value, onChange }: Props) {
return (
<Select value={value} onValueChange={onChange}>
<SelectTrigger>
- <SelectValue placeholder="Select a parameter" />
+ <SelectValue placeholder="Select an input" />
</SelectTrigger>
<SelectContent>
{[...contextParameterKeys, ...outputParameterKeys].map(
diff --git a/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx b/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
index 24b263c76..354eb5b51 100644
--- a/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
@@ -69,7 +69,7 @@ function DebuggerPostRunParameters() {
workflowRunTimelineIsLoading ||
workflowIsLoading
) {
- return <div>Loading workflow parameters...</div>;
+ return <div>Loading workflow inputs...</div>;
}
if (!workflowRun || !workflowRunTimeline) {
@@ -95,7 +95,7 @@ function DebuggerPostRunParameters() {
{activeBlock && isTaskVariantBlock(activeBlock) ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Task Block Parameters</h1>
+ <h1 className="text-sm font-bold">Task Block Inputs</h1>
<DebuggerTaskBlockParameters block={activeBlock} />
</div>
</div>
@@ -104,7 +104,7 @@ function DebuggerPostRunParameters() {
activeBlock.block_type === WorkflowBlockTypes.SendEmail ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Email Block Parameters</h1>
+ <h1 className="text-sm font-bold">Email Block Inputs</h1>
<DebuggerSendEmailBlockParameters
body={activeBlock?.body ?? ""}
recipients={activeBlock?.recipients ?? []}
@@ -116,7 +116,7 @@ function DebuggerPostRunParameters() {
{activeBlock && isWorkflowRunLoopContainerBlock(activeBlock) ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Loop Block Parameters</h1>
+ <h1 className="text-sm font-bold">Loop Block Inputs</h1>
{activeBlock.block_type === WorkflowBlockTypes.ForLoop ? (
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
@@ -149,7 +149,7 @@ function DebuggerPostRunParameters() {
{activeBlock && activeBlock.block_type === WorkflowBlockTypes.Wait ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Wait Block Parameters</h1>
+ <h1 className="text-sm font-bold">Wait Block Inputs</h1>
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
<h1 className="text-sm">Wait Duration</h1>
@@ -172,7 +172,7 @@ function DebuggerPostRunParameters() {
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
<h1 className="text-sm font-bold">
- Human Interaction Block Parameters
+ Human Interaction Block Inputs
</h1>
{activeBlock.instructions ? (
<div className="flex flex-col gap-2">
@@ -205,7 +205,7 @@ function DebuggerPostRunParameters() {
activeBlock.block_type === WorkflowBlockTypes.Conditional ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Conditional Block Parameters</h1>
+ <h1 className="text-sm font-bold">Conditional Block Inputs</h1>
{activeBlock.executed_branch_expression ? (
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
@@ -254,7 +254,7 @@ function DebuggerPostRunParameters() {
activeBlock.block_type === WorkflowBlockTypes.TextPrompt ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Text Prompt Block Parameters</h1>
+ <h1 className="text-sm font-bold">Text Prompt Block Inputs</h1>
{activeBlock.prompt ? (
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
@@ -269,13 +269,13 @@ function DebuggerPostRunParameters() {
) : null}
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Workflow Parameters</h1>
+ <h1 className="text-sm font-bold">Workflow Inputs</h1>
{Object.entries(parameters).map(([key, value]) => {
return (
<div key={key} className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
<h1 className="text-sm">{key}</h1>
- <HelpTooltip content="The value of the parameter." />
+ <HelpTooltip content="The value of the input." />
</div>
{typeof value === "string" ||
typeof value === "number" ||
@@ -295,11 +295,9 @@ function DebuggerPostRunParameters() {
);
})}
{Object.entries(parameters).length === 0 ? (
- <div className="text-sm">
- No input parameters found for this workflow
- </div>
+ <div className="text-sm">No inputs found for this workflow</div>
) : null}
- <h1 className="text-sm font-bold">Other Workflow Parameters</h1>
+ <h1 className="text-sm font-bold">Other Workflow Inputs</h1>
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
<h1 className="text-sm">Webhook Callback URL</h1>
@@ -360,7 +358,7 @@ function DebuggerPostRunParameters() {
{workflowRun.task_v2 ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Task 2.0 Parameters</h1>
+ <h1 className="text-sm font-bold">Task 2.0 Inputs</h1>
<div className="flex flex-col gap-2">
<div className="flex w-full items-center justify-start gap-2">
<h1 className="text-sm">Task 2.0 Prompt</h1>
diff --git a/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx b/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx
index 173205413..d921930de 100644
--- a/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx
@@ -442,7 +442,7 @@ function EditorActionToolbar() {
leadingIcon={<CalendarIcon className="h-5 w-5" />}
iconOnly
/>
- <PanelToggleButton content="parameters" label="Parameters" />
+ <PanelToggleButton content="parameters" label="Inputs" />
<RunButton />
</>
);
diff --git a/skyvern-frontend/src/routes/workflows/editor/helpContent.ts b/skyvern-frontend/src/routes/workflows/editor/helpContent.ts
index c285eb442..6e40bf645 100644
--- a/skyvern-frontend/src/routes/workflows/editor/helpContent.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/helpContent.ts
@@ -1,9 +1,9 @@
export const baseHelpTooltipContent = {
url: "The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off.",
navigationGoal:
- "Give Skyvern an objective. Make sure to include when the block is complete, when it should self-terminate, and any guardrails. Use {{ parameter_name }} to reference a parameter value",
+ "Give Skyvern an objective. Make sure to include when the block is complete, when it should self-terminate, and any guardrails. Use {{ parameter_name }} to reference an input value",
parameters:
- 'Define placeholder values using the "parameters" drop down that you predefine or redefine run-to-run.',
+ 'Define placeholder values using the "inputs" drop down that you predefine or redefine run-to-run.',
dataExtractionGoal:
"Tell Skyvern what data you would like to scrape at the end of your run.",
dataSchema: "Specify a format for extracted data in JSON.",
@@ -55,12 +55,12 @@ export const helpTooltips = {
extraction: {
...baseHelpTooltipContent,
dataExtractionGoal:
- "Tell Skyvern what data you would like to scrape. Use {{ parameter_name }} to specify parameters to use.",
+ "Tell Skyvern what data you would like to scrape. Use {{ parameter_name }} to specify inputs to use.",
},
action: {
...baseHelpTooltipContent,
navigationGoal:
- "Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select. Use {{ parameter_name }} to specify parameters to use.",
+ "Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select. Use {{ parameter_name }} to specify inputs to use.",
},
fileDownload: {
...baseHelpTooltipContent,
@@ -105,9 +105,9 @@ export const helpTooltips = {
loop: {
...baseHelpTooltipContent,
loopValue:
- "Define the values to iterate over. Use a parameter reference or natural language (e.g., 'Extract links of the top 2 posts'). Natural language automatically creates an extraction block that generates a list of string values. Use {{ current_value }} in the loop to get the current iteration value.",
+ "Define the values to iterate over. Use an input reference or natural language (e.g., 'Extract links of the top 2 posts'). Natural language automatically creates an extraction block that generates a list of string values. Use {{ current_value }} in the loop to get the current iteration value.",
loopDataSchema:
- "JSON shape for extracted items when the loop value is natural language that triggers extraction—not when you point at an existing list parameter.",
+ "JSON shape for extracted items when the loop value is natural language that triggers extraction—not when you point at an existing list input.",
completeIfEmpty:
"If the list is empty, treat this loop as successful and continue the workflow instead of failing.",
nextLoopOnFailure:
@@ -172,7 +172,7 @@ export const helpTooltips = {
url: baseHelpTooltipContent,
httpRequest: {
...baseHelpTooltipContent,
- url: "The URL to send the HTTP request to. You can use {{ parameter_name }} to reference parameters.",
+ url: "The URL to send the HTTP request to. You can use {{ parameter_name }} to reference inputs.",
method: "The HTTP method to use for the request.",
headers: "HTTP headers to include with the request as JSON object.",
body: "Request body as JSON object. Only used for POST, PUT, PATCH methods.",
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionEditor.tsx
index 237de5ebd..ea5abbbb3 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionEditor.tsx
@@ -38,7 +38,7 @@ import {
const urlTooltip =
"The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off.";
const navigationGoalTooltip =
- "Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select. Use {{ parameter_name }} to specify parameters to use.";
+ "Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select. Use {{ parameter_name }} to specify inputs to use.";
const navigationGoalPlaceholder = 'Input {{ name }} into "Name" field.';
function ActionEditor({ blockId }: { blockId: string }) {
@@ -87,7 +87,7 @@ function ActionEditorBody({
</div>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/CodeBlockEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/CodeBlockEditor.tsx
index 3dc61133a..19ecdeb23 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/CodeBlockEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/CodeBlockEditor.tsx
@@ -32,7 +32,7 @@ function CodeBlockEditorBody({
return (
<div data-testid="code-block-block-form" className="space-y-4">
<div className="space-y-2">
- <Label className="text-xs text-slate-300">Input Parameters</Label>
+ <Label className="text-xs text-slate-300">Inputs</Label>
<WorkflowBlockInputSet
nodeId={blockId}
onChange={(parameterKeys) => {
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/types.ts b/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/types.ts
index a0719937b..e46d2cdec 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/types.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/CodeBlockNode/types.ts
@@ -13,7 +13,7 @@ const codeLead = `
# This feature is currently in private beta. Please reach out to
# [email protected] to get access.
#
-# Any parameter you've added to the "Input Parameters" list is available in
+# Any input you've added to the "Inputs" list is available in
# global scope, by the same name.
#
# Any top-level variable you create is assigned to the output of this block.
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/ExtractionNode/ExtractionEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/ExtractionNode/ExtractionEditor.tsx
index 993ad98ac..ee1b1ca68 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/ExtractionNode/ExtractionEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/ExtractionNode/ExtractionEditor.tsx
@@ -85,7 +85,7 @@ function ExtractionEditorBody({
</div>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpRequestEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpRequestEditor.tsx
index 1a30ab37b..ec6d7e48c 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpRequestEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpRequestEditor.tsx
@@ -56,7 +56,7 @@ const httpMethods = [
];
const urlTooltip =
- "The URL to send the HTTP request to. You can use {{ parameter_name }} to reference parameters.";
+ "The URL to send the HTTP request to. You can use {{ parameter_name }} to reference inputs.";
const methodTooltip = "The HTTP method to use for the request.";
const headersTooltip =
"HTTP headers to include with the request as JSON object.";
@@ -280,7 +280,7 @@ function HttpRequestEditorBody({
disabled={!editable}
>
<PlusIcon className="mr-1 h-3 w-3" />
- Add Parameter
+ Add Input
</Button>
</PopoverTrigger>
<PopoverContent className="w-[22rem]">
@@ -470,7 +470,7 @@ function HttpRequestEditorBody({
The request will return response data including status, headers,
and body
</li>
- <li>Reference response data in later blocks with parameters</li>
+ <li>Reference response data in later blocks with inputs</li>
</ul>
</div>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginBlockCredentialSelector.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginBlockCredentialSelector.tsx
index f1082045a..9cbbdd698 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginBlockCredentialSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginBlockCredentialSelector.tsx
@@ -95,7 +95,7 @@ function LoginBlockCredentialSelector({
// Determine which credential is currently selected (by credential_id)
// This handles multiple cases:
// 1. Skyvern credential parameters (have credentialId)
- // 2. Workflow input parameters with credential_id type and default value
+ // 2. Workflow inputs with credential_id type and default value
const selectedCredentialId = useMemo(() => {
if (!value) return undefined;
@@ -105,7 +105,7 @@ function LoginBlockCredentialSelector({
return credentialParam.credentialId;
}
- // Check if it's a workflow input parameter with credential_id type and default value
+ // Check if it's a workflow input with credential_id type and default value
const workflowParam = workflowParameters.find(
(p) =>
p.parameterType === "workflow" &&
@@ -294,7 +294,7 @@ function LoginBlockCredentialSelector({
];
}
}
- // If user selected a parameter (non-Skyvern credential or input parameter)
+ // If user selected a parameter (non-Skyvern credential or input)
// just use it directly (parameterKeyToUse is already set to newValue)
// Update Zustand store first, then call onChange
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginEditor.tsx
index 387f5eed5..199dc8e3b 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/LoginNode/LoginEditor.tsx
@@ -80,7 +80,7 @@ function LoginEditorBody({
</div>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopEditor.tsx
index 5c0006f5e..063a31bac 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopEditor.tsx
@@ -108,7 +108,7 @@ function LoopEditorBody({
loop_variable_reference: loopVariableReference,
}}
exampleValue={dataSchemaExampleValue}
- helpTooltip="Specify a format for extracted data in JSON. Only applies when the loop value is natural language - ignored for parameter references."
+ helpTooltip="Specify a format for extracted data in JSON. Only applies when the loop value is natural language - ignored for input references."
/>
<div className="flex items-center gap-2">
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/SendEmailNode/SendEmailEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/SendEmailNode/SendEmailEditor.tsx
index 3986512bf..5e424483c 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/SendEmailNode/SendEmailEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/SendEmailNode/SendEmailEditor.tsx
@@ -40,7 +40,7 @@ function SendEmailEditorBody({
<Label className="text-xs text-slate-300">Recipients</Label>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx
index 0d0e5119a..c09b037e7 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx
@@ -55,7 +55,7 @@ const PREVENT_OVERLAPPING_RUNS_TOOLTIP =
"Queues new runs of this agent until any in-progress run finishes. Does not affect block ordering inside a single run; blocks always execute in declared order. Use this when concurrent runs would collide on shared state, such as the same credentials, browser session, or downstream account.";
const SEQUENTIAL_KEY_TOOLTIP =
- "Scope the run queue. Runs with the same key are queued together; runs with different keys can still execute in parallel. Templated against agent parameters, for example {{ account_id }} to serialize per account.";
+ "Scope the run queue. Runs with the same key are queued together; runs with different keys can still execute in parallel. Templated against agent inputs, for example {{ account_id }} to serialize per account.";
function WorkflowSettingsEditor({ blockId }: { blockId: string }) {
// Subscribe to the start node's data slice. The sidebar mount lives
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
index f94c1b55a..ada64dd8b 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
@@ -60,7 +60,7 @@ function ParametersMultiSelect({
return (
<div className="space-y-2">
<header className="flex gap-2">
- <h1 className="text-xs text-slate-300">Parameters</h1>
+ <h1 className="text-xs text-slate-300">Inputs</h1>
<HelpTooltip content={helpTooltips["task"]["parameters"]} />
</header>
<MultiSelect
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
index cc8e55a05..878286c66 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
@@ -29,7 +29,7 @@ function TaskNodeParametersPanel({
return (
<div className="space-y-2">
<header className="flex gap-2">
- <h1 className="text-xs text-slate-300">Parameters</h1>
+ <h1 className="text-xs text-slate-300">Inputs</h1>
<HelpTooltip content={helpTooltips["task"]["parameters"]} />
</header>
<MultiSelect
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/ValidationNode/ValidationEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/ValidationNode/ValidationEditor.tsx
index 677543777..95b84df10 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/ValidationNode/ValidationEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/ValidationNode/ValidationEditor.tsx
@@ -80,7 +80,7 @@ function ValidationEditorBody({
<Label className="text-xs text-slate-300">Complete if...</Label>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WaitNode/WaitEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WaitNode/WaitEditor.tsx
index ab0075142..659a9e47a 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WaitNode/WaitEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WaitNode/WaitEditor.tsx
@@ -44,7 +44,7 @@ function WaitEditorBody({
</div>
{isFirstWorkflowBlock ? (
<div className="flex justify-end text-xs text-slate-400">
- Tip: Use the {"+"} button to add parameters!
+ Tip: Use the {"+"} button to add inputs!
</div>
) : null}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockParameterSelect.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockParameterSelect.tsx
index 5a40751f9..af150d70e 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockParameterSelect.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockParameterSelect.tsx
@@ -41,7 +41,7 @@ function WorkflowBlockParameterSelect({ nodeId, onAdd }: Props) {
return (
<div className="cursor-auto space-y-3">
<header className="flex justify-between">
- <h1>Add Parameter</h1>
+ <h1>Add Input</h1>
</header>
<SwitchBar
className="w-full"
@@ -49,7 +49,7 @@ function WorkflowBlockParameterSelect({ nodeId, onAdd }: Props) {
value={content}
options={[
{
- label: "Parameters",
+ label: "Inputs",
value: "parameters",
},
{
@@ -81,7 +81,7 @@ function WorkflowBlockParameterSelect({ nodeId, onAdd }: Props) {
);
})}
{allParameterKeys.length === 0 && (
- <div className="text-xs">No parameters</div>
+ <div className="text-xs">No inputs</div>
)}
</div>
)}
@@ -102,7 +102,7 @@ function WorkflowBlockParameterSelect({ nodeId, onAdd }: Props) {
);
})}
{outputParameterKeys.length === 0 && (
- <div className="text-xs">No output parameters</div>
+ <div className="text-xs">No outputs</div>
)}
</div>
)}
@@ -126,7 +126,7 @@ function WorkflowBlockParameterSelect({ nodeId, onAdd }: Props) {
</div>
))}
{reservedParameters.length === 0 && (
- <div className="text-xs">No reserved parameters</div>
+ <div className="text-xs">No system values</div>
)}
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.test.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.test.tsx
index 77bc95c12..d2f180078 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.test.tsx
@@ -40,7 +40,7 @@ describe("PayloadParameterFields", () => {
isLoading={false}
/>,
);
- expect(screen.getByText(/no input parameters/i)).toBeTruthy();
+ expect(screen.getByText(/no inputs/i)).toBeTruthy();
expect(screen.queryByText(/dormant payload entries/i)).not.toBeTruthy();
});
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
index 90daa78c6..f649d0849 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
@@ -131,19 +131,13 @@ function PayloadParameterFields({
);
if (parameters.length === 0 && staleKeys.length === 0) {
- return (
- <p className="text-xs text-slate-500">
- This agent has no input parameters.
- </p>
- );
+ return <p className="text-xs text-slate-500">This agent has no inputs.</p>;
}
return (
<div className="space-y-3">
{parameters.length === 0 && (
- <p className="text-xs text-slate-500">
- This agent has no input parameters.
- </p>
+ <p className="text-xs text-slate-500">This agent has no inputs.</p>
)}
{parameters.map((param) => {
const isCredential = isCredentialParam(param);
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowTriggerEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowTriggerEditor.tsx
index c7f7f7e64..fc4e25068 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowTriggerEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowTriggerEditor.tsx
@@ -42,7 +42,7 @@ import {
const workflowPermanentIdTooltip =
"Select the agent to trigger when this block runs.";
const payloadTooltip =
- "Parameters to pass to the triggered agent. Values support Jinja2 templates like {{ some_parameter }}.";
+ "Inputs to pass to the triggered agent. Values support Jinja2 templates like {{ some_parameter }}.";
const waitForCompletionTooltip =
"If enabled, this block will wait for the triggered agent to complete before continuing to the next block. If disabled, the agent is triggered asynchronously and the parent continues immediately. When disabled, the triggered agent cannot continue in the same session because the parent may close it before the child finishes.";
const browserSessionTooltip =
@@ -208,7 +208,7 @@ function WorkflowTriggerEditorBody({
/>
) : (
<p className="text-xs text-slate-500">
- Select a target agent to configure its input parameters here.
+ Select a target agent to configure its inputs here.
</p>
)}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
index 4a4cd58ec..fa262f7ae 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
@@ -166,9 +166,9 @@ function BlockParametersDialog({
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-xl">
<DialogHeader>
- <DialogTitle>Enter Parameter Values</DialogTitle>
+ <DialogTitle>Enter Input Values</DialogTitle>
<DialogDescription>
- The block "{blockLabel}" requires the following parameters to run.
+ The block "{blockLabel}" requires the following inputs to run.
</DialogDescription>
</DialogHeader>
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/CodeBlockBlockForm.test.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/CodeBlockBlockForm.test.tsx
index ef244e5a5..61d5214e0 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/CodeBlockBlockForm.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/CodeBlockBlockForm.test.tsx
@@ -130,13 +130,13 @@ describe("CodeBlockBlockForm (SKY-9380)", () => {
});
test("renders the migrated fields the inline tile exposes", () => {
- // Mirrors the inline CodeBlockNode JSX: Input Parameters set and a
+ // Mirrors the inline CodeBlockNode JSX: Inputs set and a
// python CodeEditor. If a field disappears here it disappears from
// the sidebar UI.
mockGetNode.mockReturnValue(baseCodeBlockNode());
render(<CodeBlockBlockForm blockId="code-1" />);
- expect(screen.getByText("Input Parameters")).toBeDefined();
+ expect(screen.getByText("Inputs")).toBeDefined();
expect(screen.getByText("Code Input")).toBeDefined();
expect(screen.getByTestId("workflow-block-input-set")).toBeDefined();
expect(screen.getByTestId("code-editor")).toBeDefined();
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/HttpRequestBlockForm.test.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/HttpRequestBlockForm.test.tsx
index 740ed14d4..b22149b6d 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/HttpRequestBlockForm.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/HttpRequestBlockForm.test.tsx
@@ -197,7 +197,7 @@ vi.mock("@/components/ui/accordion", () => {
});
// Radix Popover positions content relative to the trigger; flatten so the
-// "Add Parameter" content is always rendered and its onAdd is reachable.
+// "Add Input" content is always rendered and its onAdd is reachable.
vi.mock("@/components/ui/popover", () => {
const Pass = ({ children }: { children?: ReactNode }) => <>{children}</>;
return {
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/SendEmailBlockForm.test.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/SendEmailBlockForm.test.tsx
index 20dd4c917..796dcf874 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/SendEmailBlockForm.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/SendEmailBlockForm.test.tsx
@@ -289,9 +289,7 @@ describe("SendEmailBlockForm (SKY-9379)", () => {
render(<SendEmailBlockForm blockId="b1" />);
- expect(
- screen.getByText(/Use the \+ button to add parameters/i),
- ).toBeDefined();
+ expect(screen.getByText(/Use the \+ button to add inputs/i)).toBeDefined();
});
test("does NOT render the tip when block is not first", () => {
@@ -304,8 +302,6 @@ describe("SendEmailBlockForm (SKY-9379)", () => {
render(<SendEmailBlockForm blockId="b1" />);
- expect(
- screen.queryByText(/Use the \+ button to add parameters/i),
- ).toBeNull();
+ expect(screen.queryByText(/Use the \+ button to add inputs/i)).toBeNull();
});
});
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/WorkflowTriggerBlockForm.test.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/WorkflowTriggerBlockForm.test.tsx
index 2cb872dad..51bc96749 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/WorkflowTriggerBlockForm.test.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/BlockConfigForm/WorkflowTriggerBlockForm.test.tsx
@@ -327,9 +327,7 @@ describe("WorkflowTriggerBlockForm (SKY-9361)", () => {
expect(screen.getByText("Target Agent")).toBeDefined();
expect(screen.getByTestId("workflow-selector")).toBeDefined();
expect(
- screen.getByText(
- "Select a target agent to configure its input parameters here.",
- ),
+ screen.getByText("Select a target agent to configure its inputs here."),
).toBeDefined();
expect(screen.queryByTestId("payload-parameter-fields")).toBeNull();
});
@@ -343,9 +341,7 @@ describe("WorkflowTriggerBlockForm (SKY-9361)", () => {
expect(screen.getByTestId("payload-parameter-fields")).toBeDefined();
expect(
- screen.queryByText(
- "Select a target agent to configure its input parameters here.",
- ),
+ screen.queryByText("Select a target agent to configure its inputs here."),
).toBeNull();
const payloadValue = screen.getByTestId("payload-value");
expect(payloadValue.textContent).toBe('{"foo":"bar"}');
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.helpers.ts b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.helpers.ts
index 5e66fa672..b6f2c0593 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.helpers.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.helpers.ts
@@ -67,7 +67,7 @@ export function detectInitialCredentialSource(
export function header(type: WorkflowEditorParameterType, isEdit: boolean) {
const prefix = isEdit ? "Edit" : "Add";
if (type === "workflow") {
- return isEdit ? `${prefix} Input Parameter` : `${prefix} Parameter`;
+ return `${prefix} Input`;
}
- return `${prefix} Context Parameter`;
+ return `${prefix} Context Input`;
}
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.test.ts b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.test.ts
index 73ce0b865..e02e70ae1 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.test.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.test.ts
@@ -78,7 +78,7 @@ describe("detectInitialParameterTypeSelection", () => {
expect(detectInitialParameterTypeSelection(undefined)).toBeNull();
});
- it("returns the dataType for workflow input parameters", () => {
+ it("returns the dataType for workflow inputs", () => {
expect(detectInitialParameterTypeSelection(workflowString)).toBe("string");
expect(detectInitialParameterTypeSelection(workflowInteger)).toBe(
"integer",
@@ -112,17 +112,17 @@ describe("detectInitialParameterTypeSelection", () => {
});
describe("header", () => {
- it("uses 'Add Parameter' as the unified add-mode title", () => {
- expect(header("workflow", false)).toBe("Add Parameter");
+ it("uses 'Add Input' as the unified add-mode title", () => {
+ expect(header("workflow", false)).toBe("Add Input");
});
- it("uses 'Edit Input Parameter' when editing any non-context parameter", () => {
- expect(header("workflow", true)).toBe("Edit Input Parameter");
+ it("uses 'Edit Input' when editing any non-context parameter", () => {
+ expect(header("workflow", true)).toBe("Edit Input");
});
it("preserves dedicated context titles for the context entry-point type", () => {
- expect(header("context", false)).toBe("Add Context Parameter");
- expect(header("context", true)).toBe("Edit Context Parameter");
+ expect(header("context", false)).toBe("Add Context Input");
+ expect(header("context", true)).toBe("Edit Context Input");
});
});
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
index 68c553062..92368a815 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
@@ -120,7 +120,7 @@ function validateParameterKey(key: string): string | null {
const validIdentifierRegex = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
if (!validIdentifierRegex.test(key)) {
if (/^[0-9]/.test(key)) {
- return "Key cannot start with a digit. Parameter keys must start with a letter or underscore.";
+ return "Key cannot start with a digit. Input keys must start with a letter or underscore.";
}
if (key.includes("/")) {
return "Key cannot contain '/' characters. Use underscores instead (e.g., 'State_or_Province' instead of 'State/Province').";
@@ -540,7 +540,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
URL Parameter Key
</Label>
- <HelpTooltip content="Optional. The agent parameter key that holds the URL. If provided, Skyvern will match the credential based on this URL." />
+ <HelpTooltip content="Optional. The agent input key that holds the URL. If provided, Skyvern will match the credential based on this URL." />
</div>
<Input
value={urlParameterKey}
@@ -552,7 +552,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
Bitwarden Collection ID
</Label>
- <HelpTooltip content="Find in the Bitwarden collection URL. Supports agent parameters." />
+ <HelpTooltip content="Find in the Bitwarden collection URL. Supports agent inputs." />
</div>
<Input
value={bitwardenCollectionId}
@@ -564,7 +564,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
Bitwarden Item ID
</Label>
- <HelpTooltip content="Find in /#/vault?itemId=[ITEM_ID]. Supports agent parameters." />
+ <HelpTooltip content="Find in /#/vault?itemId=[ITEM_ID]. Supports agent inputs." />
</div>
<Input
value={bitwardenLoginCredentialItemId}
@@ -625,7 +625,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
Bitwarden Collection ID
</Label>
- <HelpTooltip content="Collection containing the credit card. Supports agent parameters." />
+ <HelpTooltip content="Collection containing the credit card. Supports agent inputs." />
</div>
<Input
value={bitwardenCollectionId}
@@ -637,7 +637,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
Bitwarden Item ID
</Label>
- <HelpTooltip content="Credit card item ID. Supports agent parameters." />
+ <HelpTooltip content="Credit card item ID. Supports agent inputs." />
</div>
<Input
value={sensitiveInformationItemId}
@@ -657,7 +657,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
1Password Vault ID
</Label>
- <HelpTooltip content="Find this in the 1Password vault URL. Supports agent parameters." />
+ <HelpTooltip content="Find this in the 1Password vault URL. Supports agent inputs." />
</div>
<Input
value={opVaultId}
@@ -669,7 +669,7 @@ function WorkflowParameterEditPanel({
<Label className="text-xs text-slate-300">
1Password Item ID
</Label>
- <HelpTooltip content="Find this in the 1Password item URL. Supports agent parameters." />
+ <HelpTooltip content="Find this in the 1Password item URL. Supports agent inputs." />
</div>
<Input
value={opItemId}
@@ -778,7 +778,7 @@ function WorkflowParameterEditPanel({
{type === "context" && (
<div className="space-y-1">
- <Label className="text-xs text-slate-300">Source Parameter</Label>
+ <Label className="text-xs text-slate-300">Source Input</Label>
<SourceParameterKeySelector
value={sourceParameterKey}
onChange={setSourceParameterKey}
@@ -792,7 +792,7 @@ function WorkflowParameterEditPanel({
if (!key) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Key is required",
});
return;
@@ -800,7 +800,7 @@ function WorkflowParameterEditPanel({
if (keyValidationError) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: keyValidationError,
});
return;
@@ -808,7 +808,7 @@ function WorkflowParameterEditPanel({
if (!isEditMode && reservedKeys.includes(key)) {
toast({
variant: "destructive",
- title: "Failed to add parameter",
+ title: "Failed to add input",
description: `${key} is reserved, please use another key`,
});
return;
@@ -824,7 +824,7 @@ function WorkflowParameterEditPanel({
) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: `"${key}" is reserved for auto-generated credential variables. Please choose a different key.`,
});
return;
@@ -841,7 +841,7 @@ function WorkflowParameterEditPanel({
} catch (e) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Invalid JSON for default value",
});
return;
@@ -890,8 +890,8 @@ function WorkflowParameterEditPanel({
if (!sourceParameterKey) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
- description: "Source parameter key is required",
+ title: "Failed to save input",
+ description: "Source input key is required",
});
return;
}
@@ -914,7 +914,7 @@ function WorkflowParameterEditPanel({
if (!credentialId) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Credential is required",
});
return;
@@ -940,7 +940,7 @@ function WorkflowParameterEditPanel({
if (errorMessage) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: errorMessage,
});
return;
@@ -968,7 +968,7 @@ function WorkflowParameterEditPanel({
if (!bitwardenCollectionId) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Bitwarden Collection ID is required",
});
return;
@@ -992,7 +992,7 @@ function WorkflowParameterEditPanel({
if (!bitwardenCollectionId) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Bitwarden Collection ID is required",
});
return;
@@ -1000,7 +1000,7 @@ function WorkflowParameterEditPanel({
if (!sensitiveInformationItemId) {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description: "Bitwarden Item ID is required",
});
return;
@@ -1021,7 +1021,7 @@ function WorkflowParameterEditPanel({
if (opVaultId.trim() === "" || opItemId.trim() === "") {
toast({
variant: "destructive",
- title: "Failed to save parameter",
+ title: "Failed to save input",
description:
"1Password Vault ID and Item ID are required",
});
@@ -1046,7 +1046,7 @@ function WorkflowParameterEditPanel({
) {
toast({
variant: "destructive",
- title: "Failed to add parameter",
+ title: "Failed to add input",
description:
"Azure Vault Name, Username Key and Password Key are required",
});
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
index 966ceea09..9656c816f 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
@@ -98,7 +98,7 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
>
<div className="space-y-4">
<header>
- <h1 className="text-lg">Parameters</h1>
+ <h1 className="text-lg">Inputs</h1>
<span className="text-sm text-slate-400">
Create placeholder values that you can link in nodes. You will be
prompted to fill them in before running your agent.
@@ -115,7 +115,7 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
}}
>
<PlusIcon className="mr-2 h-6 w-6" />
- Add Parameter
+ Add Input
</Button>
<ScrollArea>
@@ -203,7 +203,7 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
setDeleteDialogState({ open: false, parameterKey: null });
}
}}
- title="Delete Parameter"
+ title="Delete Input"
description={`Are you sure you want to delete "${deleteDialogState.parameterKey}"?`}
affectedBlocks={affectedBlocksForDelete}
onConfirm={() => {
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/util.ts b/skyvern-frontend/src/routes/workflows/editor/panels/util.ts
index 6da06f2c0..292776e31 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/util.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/util.ts
@@ -7,7 +7,7 @@ export function validateBitwardenLoginCredential(
return "Collection ID or Item ID is required";
}
if (collectionId && !urlParameterKey) {
- return "URL Parameter Key is required when collection ID is used";
+ return "URL Input Key is required when collection ID is used";
}
return null;
}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/RunParametersDialog.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/RunParametersDialog.tsx
index 0146bc0bb..599b1a5ad 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/RunParametersDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/RunParametersDialog.tsx
@@ -78,8 +78,8 @@ export function RunParametersDialog({
<ParametersDialogBase
open={open}
onOpenChange={onOpenChange}
- title="Run Parameters"
- sectionLabel="Input parameters for this run"
+ title="Run Inputs"
+ sectionLabel="Inputs for this run"
items={items}
/>
);
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
index 06b542bb7..8e96b9b00 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
@@ -77,7 +77,7 @@ function WorkflowPostRunParameters() {
: (workflowRun?.extra_http_headers ?? null);
if (workflowRunIsLoading || workflowRunTimelineIsLoading) {
- return <div>Loading workflow parameters...</div>;
+ return <div>Loading workflow inputs...</div>;
}
if (!workflowRun || !workflowRunTimeline) {
@@ -89,7 +89,7 @@ function WorkflowPostRunParameters() {
{activeBlock && isTaskVariantBlock(activeBlock) ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-lg font-bold">Block Parameters</h1>
+ <h1 className="text-lg font-bold">Block Inputs</h1>
<TaskBlockParameters
block={activeBlock}
definitionBlock={definitionBlock}
@@ -122,7 +122,7 @@ function WorkflowPostRunParameters() {
activeBlock.block_type === WorkflowBlockTypes.SendEmail ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-lg font-bold">Block Parameters</h1>
+ <h1 className="text-lg font-bold">Block Inputs</h1>
<SendEmailBlockParameters
body={activeBlock.body ?? ""}
recipients={activeBlock.recipients ?? []}
@@ -134,7 +134,7 @@ function WorkflowPostRunParameters() {
{activeBlock && activeBlock.block_type === WorkflowBlockTypes.ForLoop ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Block Parameters</h1>
+ <h1 className="text-sm font-bold">Block Inputs</h1>
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-sm">Loop Values</h1>
@@ -158,7 +158,7 @@ function WorkflowPostRunParameters() {
activeBlock.block_type === WorkflowBlockTypes.WhileLoop ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-sm font-bold">Block Parameters</h1>
+ <h1 className="text-sm font-bold">Block Inputs</h1>
<WhileLoopPostRunFields
layout="sidebar"
definitionBlock={definitionBlock}
@@ -349,7 +349,7 @@ function WorkflowPostRunParameters() {
) : null}
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-lg font-bold">Agent Input Parameters</h1>
+ <h1 className="text-lg font-bold">Agent Inputs</h1>
{getOrderedRunParameters(
workflow?.workflow_definition.parameters,
parameters,
@@ -377,9 +377,9 @@ function WorkflowPostRunParameters() {
);
})}
{Object.keys(parameters).length === 0 ? (
- <div>No input parameters found for this agent</div>
+ <div>No inputs found for this agent</div>
) : null}
- <h1 className="text-lg font-bold">Other Agent Parameters</h1>
+ <h1 className="text-lg font-bold">Other Agent Inputs</h1>
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Webhook Callback URL</h1>
@@ -449,7 +449,7 @@ function WorkflowPostRunParameters() {
{workflowRun.task_v2 ? (
<div className="rounded bg-slate-elevation2 p-6">
<div className="space-y-4">
- <h1 className="text-lg font-bold">Task 2.0 Parameters</h1>
+ <h1 className="text-lg font-bold">Task 2.0 Inputs</h1>
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Task 2.0 Prompt</h1>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
index bba1ce66d..cb2d4ab8b 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
@@ -87,7 +87,7 @@ function WorkflowRunTimelineItemInfoSection({ activeItem }: Props) {
<TabsTrigger value="failure_reason">Failure Reason</TabsTrigger>
)}
<TabsTrigger value="navigation_goal">Navigation Goal</TabsTrigger>
- <TabsTrigger value="parameters">Parameters</TabsTrigger>
+ <TabsTrigger value="parameters">Inputs</TabsTrigger>
{item.task_id && (
<Link
to={`/tasks/${item.task_id}/diagnostics`}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
index 1d2549822..bba1f117d 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
@@ -28,7 +28,7 @@ function CodeBlockParameters({ code, parameters }: Props) {
{parameters && parameters.length > 0 ? (
<div className="flex gap-16">
<div className="w-80">
- <h1 className="text-lg">Parameters</h1>
+ <h1 className="text-lg">Inputs</h1>
<h2 className="text-base text-slate-400">
Inputs passed to this code block
</h2>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
index 6275871da..96b10994a 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
@@ -60,7 +60,7 @@ function TextPromptBlockParameters({
{parameters && parameters.length > 0 ? (
<div className="flex gap-16">
<div className="w-80">
- <h1 className="text-lg">Parameters</h1>
+ <h1 className="text-lg">Inputs</h1>
</div>
<div className="flex w-full flex-col gap-3">
{parameters.map((parameter) => (