diff --git a/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx b/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
index 29a770e81d..56223ee4c6 100644
--- a/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
+++ b/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
@@ -61,20 +61,66 @@ function WorkflowDataSchemaInputGroup({
return (
-
-
-
-
+
+
+
+
+
+
+
{
+ onChange(
+ checked ? JSON.stringify(exampleValue, null, 2) : "null",
+ );
+ }}
+ />
-
{
- onChange(checked ? JSON.stringify(exampleValue, null, 2) : "null");
- }}
- />
+ {value !== "null" && !generateWithAIActive && (
+
+ )}
+
{value !== "null" && (
+ {generateWithAIActive ? (
+
+
{
+ setGenerateWithAIActive(false);
+ setGenerateWithAIPrompt("");
+ }}
+ />
+ {
+ setGenerateWithAIPrompt(event.target.value);
+ }}
+ placeholder="Describe how you want your output formatted"
+ />
+ {getDataSchemaSuggestionMutation.isPending ? (
+
+ ) : (
+ {
+ getDataSchemaSuggestionMutation.mutate();
+ }}
+ />
+ )}
+
+ ) : null}
- {value !== "null" &&
- (generateWithAIActive ? (
-
-
{
- setGenerateWithAIActive(false);
- setGenerateWithAIPrompt("");
- }}
- />
- {
- setGenerateWithAIPrompt(event.target.value);
- }}
- placeholder="Describe how you want your output formatted"
- />
- {getDataSchemaSuggestionMutation.isPending ? (
-
- ) : (
- {
- getDataSchemaSuggestionMutation.mutate();
- }}
- />
- )}
-
- ) : (
-
- ))}
)}