When to Use
AgenticTask
Useagentic_task when AI should autonomously accomplish a goal:
Properties
max_steps Guidelines
Writing Good Task Descriptions
Good:Vision Mode
Enableuse_vision for visual elements without good text labels:
CloseOverlayPopup
Specialized action for dismissing popups, modals, and overlays:Default Behavior
What It Handles
- Cookie consent banners
- Privacy policy notices
- Newsletter signup prompts
- Age verification gates
- Promotional popups
- Blocking overlays
Variables in Agentic Tasks
Use parameter substitution in task descriptions:Combining with Static Actions
Best pattern: use static actions for predictable steps, agentic for uncertainty:Best Practices
When field labels are not known at authoring time, fetch values first with Dynamic Form Mapping and pass
{form_values[0]} into the agentic task prompt.