Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
re-reorder blocks in lib panel (#2961)
Jonathan Dobsond1fd7dbb295c
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsxindex 7919d6d85..099319bca 100644--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx@@ -43,17 +43,6 @@ const nodeLibraryItems: Array<{title: "Navigation Block",description: "Navigate on the page",},- {- nodeType: "task",- icon: (- <WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.Task}- className="size-6"- />- ),- title: "Task Block",- description: "Complete multi-step browser automation tasks",- },{nodeType: "taskv2",icon: (@@ -87,17 +76,6 @@ const nodeLibraryItems: Array<{title: "Extraction Block",description: "Extract data from a webpage",},- {- nodeType: "wait",- icon: (- <WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.Wait}- className="size-6"- />- ),- title: "Wait Block",- description: "Wait for a specified amount of time",- },{nodeType: "validation",icon: (@@ -110,26 +88,26 @@ const nodeLibraryItems: Array<{description: "Validate completion criteria",},{- nodeType: "url",+ nodeType: "task",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.URL}+ workflowBlockType={WorkflowBlockTypes.Task}className="size-6"/>),- title: "Go to URL Block",- description: "Navigate to a specific URL",+ title: "Task Block",+ description: "Complete multi-step browser automation tasks",},{- nodeType: "http_request",+ nodeType: "url",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.HttpRequest}+ workflowBlockType={WorkflowBlockTypes.URL}className="size-6"/>),- title: "HTTP Request Block",- description: "Make HTTP API calls",+ title: "Go to URL Block",+ description: "Navigate to a specific URL",},{nodeType: "textPrompt",@@ -143,26 +121,15 @@ const nodeLibraryItems: Array<{description: "Process text with LLM",},{- nodeType: "codeBlock",- icon: (- <WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.Code}- className="size-6"- />- ),- title: "Code Block",- description: "Execute custom Python code",- },- {- nodeType: "fileDownload",+ nodeType: "sendEmail",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.FileDownload}+ workflowBlockType={WorkflowBlockTypes.SendEmail}className="size-6"/>),- title: "File Download Block",- description: "Download files from a website",+ title: "Send Email Block",+ description: "Send email notifications",},{nodeType: "loop",@@ -176,15 +143,15 @@ const nodeLibraryItems: Array<{description: "Repeat blocks for each item",},{- nodeType: "sendEmail",+ nodeType: "codeBlock",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.SendEmail}+ workflowBlockType={WorkflowBlockTypes.Code}className="size-6"/>),- title: "Send Email Block",- description: "Send email notifications",+ title: "Code Block",+ description: "Execute custom Python code",},{nodeType: "fileParser",@@ -197,6 +164,17 @@ const nodeLibraryItems: Array<{title: "File Parser Block",description: "Parse data from files",},+ {+ nodeType: "pdfParser",+ icon: (+ <WorkflowBlockIcon+ workflowBlockType={WorkflowBlockTypes.PDFParser}+ className="size-6"+ />+ ),+ title: "PDF Parser Block",+ description: "Extract data from PDF files",+ },{nodeType: "upload",icon: (@@ -208,6 +186,17 @@ const nodeLibraryItems: Array<{title: "Upload to S3 Block",description: "Upload files to AWS S3",},+ {+ nodeType: "download",+ icon: (+ <WorkflowBlockIcon+ workflowBlockType={WorkflowBlockTypes.DownloadToS3}+ className="size-6"+ />+ ),+ title: "Download from S3 Block",+ description: "Download files from AWS S3",+ },{nodeType: "fileUpload",icon: (@@ -220,26 +209,37 @@ const nodeLibraryItems: Array<{description: "Upload files to storage",},{- nodeType: "download",+ nodeType: "fileDownload",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.DownloadToS3}+ workflowBlockType={WorkflowBlockTypes.FileDownload}className="size-6"/>),- title: "Download to S3 Block",- description: "Download files to AWS S3",+ title: "File Download Block",+ description: "Download files from a website",},{- nodeType: "pdfParser",+ nodeType: "wait",icon: (<WorkflowBlockIcon- workflowBlockType={WorkflowBlockTypes.PDFParser}+ workflowBlockType={WorkflowBlockTypes.Wait}className="size-6"/>),- title: "PDF Parser Block",- description: "Extract data from PDF files",+ title: "Wait Block",+ description: "Wait for a specified amount of time",+ },+ {+ nodeType: "http_request",+ icon: (+ <WorkflowBlockIcon+ workflowBlockType={WorkflowBlockTypes.HttpRequest}+ className="size-6"+ />+ ),+ title: "HTTP Request Block",+ description: "Make HTTP API calls",},];