RPA replacement
Replace brittle, selector-keyed RPA bots with skills that adapt to the page and get cheaper the more they run.
The problem
Classic RPA records exact coordinates and CSS selectors. The moment a vendor ships a redesign, the bot breaks, and a developer rebuilds the recording by hand. Maintenance is the real cost — and the per-run price never falls, because every run replays a rigid script that can’t generalize.
- Open the vendor portaldone
- Resolve login from the vaultrunning
- Adapt cached skill to new layoutqueued
- Pause for approval (handoff)queued
- Resume and finish the runqueued
A Twin run for rpa replacement — compile once, then replay on a cache hit.
How Twin solves it
Twin replaces the brittle recording with a compiled skill driven by intent, not coordinates. The DOM-to-indexed-state compiler gives the planner a stable, numerically-indexed view of interactive elements, so a layout change degrades gracefully — the semantic cache adapts the cached skill instead of failing open. When a step genuinely needs a human (an approval, an MFA prompt on an authorized flow), Twin pauses for handoff and resumes.
- 1Describe the workflow as a goal once; Twin compiles it into a skill instead of a coordinate recording.
- 2Re-phrased or re-parameterized runs match the skill semantically — no recompile for every variant.
- 3A page redesign shifts the indexed DOM map, not your script; the cached skill adapts rather than snapping.
- 4Credentials live in the per-tenant credential vault; authenticated logins are handled without hard-coding secrets.
- 5Human-in-the-loop handoff covers approvals and MFA on authorized flows, then the run continues automatically.
One call, then it gets cheaper
Describe the workflow once. Twin compiles a skill that adapts to layout changes instead of snapping on selectors — and pauses for a human at approval gates.
import Twin from '@twin-browser/sdk';
const twin = new Twin({ apiKey: process.env.TWIN_API_KEY });
const run = await twin.agents.run({
goal: 'Submit the weekly expense report and capture the confirmation',
url: 'https://portal.vendor.example.com',
credentials: 'vendor-portal', // resolved from the per-tenant vault
onBlocked: 'handoff', // pause for approval / MFA, then resume
});
console.log(run.status); // 'completed' (or 'awaiting_handoff')
console.log(run.adapted); // true when a redesign was absorbed
console.log(run.creditsUsed); // falls toward ~1 as the skill is reusedWhat happens on this call
- Twin compiles the goal into a deterministic, replayable skill.
- The next re-phrased request matches it in the semantic dispatch cache.
- Matched runs replay with zero LLM calls — credits drop back toward ~1.
- Every call is authenticated, billed, and written to the audit log.
The machinery that bends the cost curve
Every use case runs on the same primitives — the wedge that makes browser work cheaper the more your agents run.
Semantic dispatch cache
Re-phrased requests fuzzy-match a skill you already compiled, so they skip the planner LLM entirely.
Learn moreDeterministic replay
Matched skills replay the same way every time — a pass is a pass, and the marginal cost trends toward zero.
Learn moreToken-efficient DOM state
A live page becomes a compact, numerically-indexed map of interactive elements instead of raw HTML.
Learn moreHuman-in-the-loop handoff
Blocked steps — approvals, MFA on an authorized flow — pause for a person, then resume cleanly.
Learn moreThe outcome
Teams moving off coordinate-keyed RPA trade a maintenance backlog for skills that self-adapt, and watch cost per 1,000 runs fall — illustratively trending toward zero LLM cost on cache hits — instead of staying flat forever.
RPA replacement on Twin — common questions
Why is Twin more durable than traditional RPA?
How does Twin compare to AI-RPA tools like Skyvern?
Can a human approve sensitive steps?
More ways teams use Twin
Internal workflow automation
Automate the internal tools and vendor portals that have no API — with audit logging and human approval built in.
AI agents
Give your LLM agent a real browser it can drive — and stop paying the model on every single run.
QA & test automation
Author end-to-end tests as goals, run them deterministically, and replay every failure as session video.
Put rpa replacement on autopilot.
Start free, compile your first skill, and watch the marginal cost per run trend toward zero.