update workflow blocks (#2448)

This commit is contained in:
Shuchang Zheng
2025-05-25 00:37:09 -07:00
committed by GitHub
parent 6f83978937
commit 8767b96d3d
2 changed files with 18 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ slug: running-tasks/webhooks-faq
---
## Webhooks vs HTTP requests?
Expected runtime of Skyvern's tasks and workflows can exceed default HTTP timeouts (1 minute). So we recommend using receiving webhook notifications you when it's done.
Task runtimes can exceed default HTTP timeouts; we recommend using webhook notifications to inform you when the run is complete.
To set up webhook callback:
- Set [webhook_url in Run Task](api-reference/api-reference/agent/run-task#request.body.webhook_url) to receive the update when the task is done.

View File

@@ -8,12 +8,20 @@ slug: workflows/introduction
Workflows represent chaining multiple blocks together. Imagine calling multiple tasks in a row, doing conditional logic, extracting data to a CSV, etc. All of these ideas will be supported within our workflows feature.
Building blocks supported today:
1. TaskBlock: The **magic** block. Skyvern navigates through the websites to take actions and/or extract information.
2. ForLoopBlock
3. CodeBlock
4. TextPromptBlock
5. DownloadToS3Block
6. UploadToS3Block
7. SendEmailBlock
8. FileParserBlock
- NavigationBlock: Skyvern navigates through the websites to take actions.
- ActionBlock: With a given prompt, Skyvern only takes a single action.
- ExtractBlock: Extract information from the website. You can define the data extraction schema with this block. No other actions will be taken.
- LoginBlock: A built-in block to help log into a website integrated with [Skyvern Credentials](/credentials/introduction).
- ValidationBlock: Like having an assertion in a test, this block validates the state of the workflow. It terminates the workflow if the validation fails.
- TaskBlock: Skyvern navigates through the websites to take actions and/or extract information.
- ForLoopBlock: Support for loop in the workflow.
- UrlBlock: Go to a given URL.
- CodeBlock: Code block allows you to write any custom python and playwright script to interact with the browser. For Skyvern Cloud, it's an invite only feature.
- TextPromptBlock: A text only prompt block.
- SendEmailBlock: Send an email.
- FileDownloadBlock: Given a goal, Skyvern downloads a file from the website.
- FileParserBlock: Given a file url, Skyvern downloads the file from the url, and returns the parsed content as the output of the block. Currently only support CSV file format.
- PDFParserBlock: Given a pdf url, Skyvern downloads the PDF file from the url and returns the parsed content as the output of the block.
- FileUploadBlock: Upload all the downloaded files to a desired destination. Currently only AWS S3 is supported. Please contact support@skyvern.com if you need more integrations.
- WaitBlock: Wait for a given amount of time.
- NavigationV2Block (TaskV2Block): The advanced version of the NavigationBlock, powered by the Skyvern 2.0 engine. Designed for complicated goals.