update workflow blocks (#2448)
This commit is contained in:
@@ -5,7 +5,7 @@ slug: running-tasks/webhooks-faq
|
|||||||
---
|
---
|
||||||
## Webhooks vs HTTP requests?
|
## 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:
|
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.
|
- 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.
|
||||||
|
|||||||
@@ -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.
|
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:
|
Building blocks supported today:
|
||||||
|
- NavigationBlock: Skyvern navigates through the websites to take actions.
|
||||||
1. TaskBlock: The **magic** block. Skyvern navigates through the websites to take actions and/or extract information.
|
- ActionBlock: With a given prompt, Skyvern only takes a single action.
|
||||||
2. ForLoopBlock
|
- ExtractBlock: Extract information from the website. You can define the data extraction schema with this block. No other actions will be taken.
|
||||||
3. CodeBlock
|
- LoginBlock: A built-in block to help log into a website integrated with [Skyvern Credentials](/credentials/introduction).
|
||||||
4. TextPromptBlock
|
- ValidationBlock: Like having an assertion in a test, this block validates the state of the workflow. It terminates the workflow if the validation fails.
|
||||||
5. DownloadToS3Block
|
- TaskBlock: Skyvern navigates through the websites to take actions and/or extract information.
|
||||||
6. UploadToS3Block
|
- ForLoopBlock: Support for loop in the workflow.
|
||||||
7. SendEmailBlock
|
- UrlBlock: Go to a given URL.
|
||||||
8. FileParserBlock
|
- 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.
|
||||||
Reference in New Issue
Block a user