Learn how to write clear, effective, and precise instructions for AI-driven blocks to maximize accuracy and reliability.
Extract Data
, Explore Content
, Find Links
, and Interact with Page
, rely on your natural language instructions to guide the AI Agent. The quality of these instructions directly impacts the performance, accuracy, and reliability of your workflows. This page provides best practices for crafting effective AI prompts.
Extract Data
: “You are on a product detail page. Extract the following specifications.”Interact with Page
(when used step-by-step), each line should represent one distinct action.Extract Data
attributes, each “Description” should clearly define one piece of information.Extract Data
product_price
, author_name
). These become your JSON keys or column headers.review_date
, write: The date the review was published, e.g., "March 15, 2024" or "2 days ago". Extract in YYYY-MM-DD format if possible.
rating_stars
field empty.”Explore Content
{{company_name}}
.”Find Links
Find the link with text 'Download PDF'
Find all links that contain '/product-details/'
In the main product grid, find the link for each product image.
Interact with Page
click on the button with text 'Next Page'
, type {{user_query}} into the search bar with placeholder 'Search articles...'
click
, type
, select 'Option A' from dropdown 'Category'
Complete the login form with username {{username}} and password {{password}} and submit it.
{{variable_name}}
(from an Apply Variables
block or previous Extract Data
outputs) within your instructions to make them dynamic and reusable across different inputs.
Extract Data
: Extract the shipping cost for the product named {{product_name}}.
Interact with Page
: type {{city_name}} into the 'City' input field.