Browser RPA Execution Platform
The easiest and most powerful way to use Huarp with n8n is by installing our official Community Node.
n8n-nodes-huarp
n8n-nodes-huarp in the npm Package Name field.Once installed, simply search for Huarp in the n8n nodes panel to start building automations visually.
Huarp is a Browser RPA (Robotic Process Automation) platform that allows you to automate browser interactions through a simple REST API.
You can build automations visually using the drag-and-drop interface, or execute them directly via API from tools like n8n.
API Tokens are long-lived keys designed for automation, scripts, and n8n workflows. They never expire unless you revoke them.
Usage: Include the token in the Authorization header:
Authorization: Bearer huarp_123456789...
Note: You can also send the token without the "Bearer" prefix.
Execute browser automation from raw steps or a saved workflow.
{
"steps": [
{ "action": "goto", "url": "https://example.com" },
{ "action": "type", "selector": "#email", "text": "user@example.com" },
{ "action": "click", "selector": "button[type=submit]" },
{ "action": "wait_for", "selector": ".dashboard" },
{ "action": "extract_text", "selector": ".balance", "var": "balance" }
],
"return_vars": ["balance"],
"timeout_seconds": 60
}
{
"workflow_id": "uuid-of-saved-workflow",
"timeout_seconds": 60
}
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "success",
"data": {
"balance": "$1,234.56"
},
"error": null
}
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "error",
"data": {},
"error": "Element not found: .balance"
}
Save a new workflow.
{
"name": "Login and Extract Balance",
"description": "Logs into banking portal and extracts account balance",
"steps": [...]
}
List all saved workflows.
Get a specific workflow by ID.
Update an existing workflow.
Delete a workflow.
| Action | Description | Required Parameters |
|---|---|---|
goto |
Navigate to a URL | url |
click |
Click an element | selector |
type |
Type text into an input field | selector, text |
wait_for |
Wait for an element to appear | selector |
extract_text |
Extract text content from an element | selector, var |
extract_attribute |
Extract an attribute value from an element | selector, attribute, var |
screenshot |
Capture a screenshot (base64) | None |
get_html |
Get the full page HTML | None |
Huarp implements the following security restrictions:
To call Huarp from n8n:
Bearer huarp_your_token{
"steps": [
{ "action": "goto", "url": "https://example.com" },
{ "action": "extract_text", "selector": "h1", "var": "title" }
],
"return_vars": ["title"]
}
Tip: You can copy the complete n8n node JSON (with authentication included!) directly from the Workflow Editor.
Concurrent browser executions are limited (default: 2-3 simultaneous jobs).
Jobs exceeding the timeout will be terminated and marked as timeout.