
API vs Browser Automation: What Happens When the Software Has No API?
Navigating legacy industrial software, ERP portals, and government databases that refuse to talk to modern tools.
In a modern tech startup, every tool has a clean REST or GraphQL API with webhook support. In the industrial and operational world, businesses rely on legacy ERPs from 2004, state regulatory portals, and proprietary supplier platforms with zero programmatic interfaces.
When a crucial workflow touches one of these systems, traditional software consultants throw up their hands and demand a six-figure ERP replacement project. But replacing core business software that has run factory operations for twenty years is risky, disruptive, and expensive.
The practical alternative is understanding when to use APIs and when to deploy controlled browser automation.
APIs are always the first choice: they are deterministic, fast, consume minimal resources, and do not break when a button moves three pixels to the left. If a private API or undocumented network endpoint exists behind the browser UI, reverse-engineering that network request is far more reliable than clicking visual buttons.
However, when a portal enforces complex session authentication, client-side cryptographic tokens, or active JavaScript challenges, headless browser automation (using modern engines like Playwright) becomes a legitimate operational tool.
To build durable browser automation that does not break every week, follow three engineering rules: first, select elements by immutable semantic attributes or data roles rather than fragile CSS classes; second, implement explicit state-waiting instead of arbitrary sleep timers; and third, wrap every browser task in clear failure alerts so staff are notified immediately if a portal changes its layout.
You do not have to wait for legacy vendors to modernize their software before removing manual data entry from your daily operations.
AI Workflow Engineer and Educator currently instructing at AppClick. Builds systems around high-value commercial processes and repetitive operational bottlenecks.
Have a similar workflow in your business?
Send me the workflow. We will identify which steps can be handled deterministically.



