Compare product prices across multiple supermarkets with AI-powered scraping
Set up AI agents to scrape Tesco, Sainsbury's, and Aldi
// Step 1: Create search tasks for Tesco, Sainsbury's and Aldi
// Tesco example:
POST /api/tasks
Content-Type: application/json
{
"task": "Find the price on Tesco for products matching a search query.",
"website": "https://www.tesco.com",
"input_schema": {
"type": "object",
"properties": {
"product_name": {"type": "string"}
}
},
"output_schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {"type": "string"},
"gtin_barcode": {"type": "string"},
"product_name": {"type": "string"},
"brand": {"type": "string"},
"price": {"type": "number"},
"image_url": {"type": "string", "description": "Product image URL or base64 encoded image data"}
}
}
}
}
// Create similar tasks for Sainsbury's and Aldi tasksStep 1 - Task Creation: Create separate scraping tasks for each supermarket (Tesco, Sainsbury's, Aldi).
Step 2 - Parallel Execution: Execute all tasks simultaneously with the same product query.
Step 3 - Smart Comparison: AI matches equivalent products across stores and calculates savings.
⚡ Performance Tip: Parallel execution reduces total time from Sum(tasks) to Max(tasks).
💡 Pro Tip: The system handles product variations (different brands, sizes) and finds the most comparable items automatically.