From baee57589bc71da1d6b4e8830a924cc2c74d075e Mon Sep 17 00:00:00 2001 From: Jonathan Dobson Date: Mon, 28 Jul 2025 17:10:11 -0400 Subject: [PATCH] add tooltip text regarding current_value in loop iterations (#3047) --- .../src/routes/workflows/editor/helpContent.ts | 2 +- .../workflows/editor/nodes/StartNode/StartNode.tsx | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/routes/workflows/editor/helpContent.ts b/skyvern-frontend/src/routes/workflows/editor/helpContent.ts index c17713ba..c1eb9f9a 100644 --- a/skyvern-frontend/src/routes/workflows/editor/helpContent.ts +++ b/skyvern-frontend/src/routes/workflows/editor/helpContent.ts @@ -72,7 +72,7 @@ export const helpTooltips = { loop: { ...baseHelpTooltipContent, loopValue: - "Define this parameterized field with a parameter key to let Skyvern know the core value you're iterating over.", + "Define this parameterized field with a parameter key to let Skyvern know the core value you're iterating over. Use {{ current_value }} elsewhere in the loop to get the current value for a given iteration.", }, sendEmail: { ...baseHelpTooltipContent, diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx index 8a33f48f..27868ad4 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx @@ -196,6 +196,16 @@ function StartNode({ id, data }: NodeProps) { />
Start +
+ 💡 +
+ Use{" "} + + {{ current_value }} + {" "} + to get the current loop value for a given iteration. +
+
);