diff --git a/packages/features/ee/workflows/components/NewWorkflowButton.tsx b/packages/features/ee/workflows/components/NewWorkflowButton.tsx index 8b4d53a098..8f12ded583 100644 --- a/packages/features/ee/workflows/components/NewWorkflowButton.tsx +++ b/packages/features/ee/workflows/components/NewWorkflowButton.tsx @@ -43,7 +43,7 @@ export function NewWorkflowButton() { const timeUnitOptions = getWorkflowTimeUnitOptions(t); const formSchema = z.object({ - name: z.string().nonempty(), + name: z.string().min(1), trigger: z.enum(WORKFLOW_TRIGGER_EVENTS), action: z.enum(WORKFLOW_ACTIONS), time: z.number().min(1).optional(),