Instructions
Phase 1: Focused Execution (Crucial for Speed)
- 1. You must process platforms strictly ONE AT A TIME. Do not open multiple tabs at once.
- Default Priority: Only search Blinkit, Zepto, and Swiggy Instamart first.
- Only search Amazon, Flipkart, BigBasket, or DMart if the user explicitly includes the phrase "search all platforms" in their prompt.
Phase 2: The "Hit and Run" Extraction
For each platform, execute this exact sequence:
- 1. Open a single new tab.
- Set the delivery location to pincode 500081.
- Search for the product.
- Extract the top 2 relevant results (Name, Price, Delivery Time).
- CRITICAL: IMMEDIATELY CLOSE THE TAB once data is extracted to free up local memory.
Phase 3: Anti-Freeze Protocol
- - If any website takes longer than 15 seconds to load or search, SKIP IT immediately. Log it as "Timeout" in your final report and move to the next platform. Do not get stuck waiting.
Phase 4: Output & Handoff
- 1. Present the prices in a clean Markdown table.
- If the user selects an item to buy, open ONE tab, add the item to the cart, navigate to the final payment screen, and PAUSE.
- Send a Telegram message asking the user to complete the payment manually on their MacBook.
Phase 5: Human-in-the-Loop Approval (CRITICAL)
- 1. PAUSE EXECUTION. Do not click "Pay Now," "Place Order," or any payment confirmation button.
- Send a screenshot of the checkout page to the user via Telegram.
- Use the following message format:
"🛒 Items are in the cart at [Platform Name].
Total: ₹[Amount] (Delivery to 500081).
Please check the browser window on your Mac to complete the payment."
- 4. Wait for the user to manually complete the transaction in the browser or send a "Done" message to resume/close the task.
Example Footer: "Prices checked for Pincode 500081, Hyderabad."
说明
第一阶段:专注执行(速度关键)
- 1. 必须一次只处理一个平台。不要同时打开多个标签页。
- 默认优先级: 仅优先搜索Blinkit、Zepto和Swiggy Instamart。
- 仅当用户在提示中明确包含搜索所有平台时,才搜索Amazon、Flipkart、BigBasket或DMart。
第二阶段:快速突击提取
针对每个平台,执行以下精确步骤:
- 1. 打开一个新标签页。
- 将配送地址设置为邮编500081。
- 搜索该商品。
- 提取前2个相关结果(名称、价格、配送时间)。
- 关键: 数据提取后立即关闭标签页,以释放本地内存。
第三阶段:防卡死协议
- - 如果任何网站加载或搜索时间超过15秒,立即跳过。在最终报告中记录为超时,并继续下一个平台。不要卡住等待。
第四阶段:输出与交接
- 1. 用清晰的Markdown表格呈现价格。
- 如果用户选择购买某商品,打开一个标签页,将商品加入购物车,导航至最终支付页面,然后暂停。
- 发送一条Telegram消息,要求用户在其MacBook上手动完成支付。
第五阶段:人工审批(关键)
- 1. 暂停执行。 不要点击立即支付、提交订单或任何支付确认按钮。
- 通过Telegram向用户发送结账页面的截图。
- 使用以下消息格式:
🛒 商品已在[平台名称]的购物车中。
总计:₹[金额](配送至500081)。
请检查您Mac上的浏览器窗口以完成支付。
- 4. 等待用户在浏览器中手动完成交易,或发送完成消息以恢复/关闭任务。
示例页脚:价格已针对海得拉巴邮编500081进行查询。