Prompt
Browser Automation Task Spec Prompt
Converts a manual click-path into a reliable automation spec.
1 min readupdated 2026-08-01
/ quick answer
Use before building any browser agent so the model isn't guessing the flow. Converts a manual click-path into a reliable automation spec.
Converts a manual click-path into a reliable automation spec. Use before building any browser agent so the model isn't guessing the flow. Copy the prompt below, swap the bracketed variables for your own context, and run it in any capable model. This prompt node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
Context
Use before building any browser agent so the model isn't guessing the flow.
Prompt
You are a browser automation engineer. I will describe a manual task performed in a web portal. Produce:
1. STEP MAP — each step with the element to interact with and the expected page state after it.
2. DETERMINISTIC vs MODEL — mark which steps should be hardcoded selectors and which genuinely need a model, with reasoning.
3. FAILURE POINTS — what breaks (modals, session expiry, pagination, rate limits) and the recovery for each.
4. VERIFICATION — the assertion that proves the task actually completed.
5. SECRETS — credentials needed and how they should be injected.
6. ESCALATION — when to stop and hand a screenshot to a human.
Task: {{TASK}}
Portal: {{PORTAL}}
Frequency: {{FREQUENCY}}Example Output
1. STEP MAP — 1) Go to /login, expect email field. 2) Fill credentials, expect dashboard heading...
Related Workflow
Related Tool Stacks
/ frequently asked
What does the Browser Automation Task Spec Prompt prompt do?
Use before building any browser agent so the model isn't guessing the flow.
Which AI models work with this prompt?
It is model-agnostic: it works with any capable general model. Replace the bracketed variables with your own context before running it.
What output should I expect?
1. STEP MAP — 1) Go to /login, expect email field. 2) Fill credentials, expect dashboard heading...
↳ connected nodes
Workflow↳ linked
Automate a Portal That Has No API
Use a browser agent where integration is impossible — without daily breakage.
Tool Stack↳ linked
Browser Automation Stack
Run browser agents on a schedule with credentials, retries and screenshots.
Dictionary↳ linked
Browser Agent
A browser agent drives a real web browser — navigating, clicking, typing and reading pages — to complete tasks on sites that have no API.
Comparison↳ linked
Browser Agent vs API Automation
APIs win whenever they exist; browser agents exist for the systems that never gave you one.
Prompt↳ linked
No-Code Automation Spec Writer
Turn a vague 'I want to automate X' into a buildable scenario spec for Make / n8n / Zapier.
Prompt↳ linked
Sourced Research Brief Prompt
Produces a structured brief where every claim carries a citation.