Purpose of Tasks
- Action Definition: Encapsulate a specific operation, like “Search for Products”, “Fill Out Forms”, “Extract Data”, or “Complete Checkout”.
- Input and Response Specification: Define the data (inputs) required to execute the action and what data to return (responses).
- Reusability: Define a task once and trigger it multiple times with different inputs.
Creating Tasks
Tasks are configured within the Vern user interface:- Navigate to the Tasks section in the Vern Dashboard.
- Click “New Task”.
-
Define the task logic:
Task Studio (Beta):
- Record your actions as you navigate websites and interact with elements
- Review and edit the generated Task
- Enter target URLs and navigation instructions
- Define input parameters and their mappings
- Specify element interactions and wait conditions
- Configure output data extraction and response format
Task Execution
When a task is executed through a Run, it:- Validates the provided inputs
- Initializes the browser environment
- Executes the defined workflow
- Captures and returns the results
Best Practices
- Define clear input requirements
- Set appropriate default values
- Include input descriptions