> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Anchor Browser is cloud browser infrastructure for AI agents and automation: browser sessions you control over CDP or REST, natural-language web tasks, versioned automation tasks, managed authentication into third-party web apps (identities with MFA), persistent volumes and profiles, recordings, live view, batch sessions, webhooks, and network options including residential proxies, extra stealth, and captcha solving for sites that block standard browsers. AI agents should start at https://docs.anchorbrowser.io/for-agents, then create an API key at https://app.anchorbrowser.io/api-keys. Read the for-agents page before authentication or API calls.

# n8n

> Integrate Anchor Browser with n8n for no-code automation workflows

## About n8n

[n8n](https://n8n.io/) is an open-source workflow automation platform that lets you connect apps and services together to build powerful workflows — without writing code.

The [n8n-nodes-anchorbrowser](https://n8n.io/integrations/anchor-browser/) community node brings Anchor Browser's cloud browser automation into your n8n workflows. Use it to run AI-powered web tasks, manage browser sessions, execute [Automation Tasks](https://docs.anchorbrowser.io/advanced/tasks), and control the browser at the OS level — all from n8n's visual builder.

## Quick Start

**1. Install the community node**

The Anchor Browser node is a [verified community node](https://n8n.io/integrations/anchor-browser/) on n8n. Choose the installation method for your environment:

> [tab] n8n Cloud
>
> On [n8n Cloud](https://n8n.io/cloud/), install the node directly from the editor. Only instance owners and admins can install community nodes — once installed, all instance members can use it in their workflows.
>
> 1. Open a workflow and open the nodes panel (**+** or **N**).
>
> 2. Search for **Anchor Browser**. It appears under **More from the community** with a verified badge.
>
> 3. Select the node, review the supported operations, then click **Install**.
>
> > [!NOTE]
> >
> > If you do not see verified community nodes, the instance owner must enable them in the [Cloud Admin Panel](https://docs.n8n.io/integrations/community-nodes/installation/verified-install/#enable-installation-of-verified-community-nodes). See the [n8n docs](https://docs.n8n.io/integrations/community-nodes/installation/verified-install/) for details.

> [tab] Self-hosted
>
> On a self-hosted n8n instance, install via the Settings UI or npm. Only instance owners and admins can install community nodes from npm.
>
> **Settings UI**
>
> 1. Go to **Settings → Community nodes**.
> 2. Click **Install** and enter `n8n-nodes-anchorbrowser`.
> 3. Confirm the installation.
>
> **npm**
>
> ```bash theme={null}
> npm install n8n-nodes-anchorbrowser
> ```
>
> ![Installing the Anchor Browser node](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-installation.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=d49c72f202172abea96eb5a02beb71fc)

**2. Connect your account**

In n8n, go to **Credentials** and create a new **Anchor Browser API** credential. Enter your API key and base URL (default: `https://api.anchorbrowser.io`). You can create or copy a key from the [API Keys page](https://app.anchorbrowser.io/api-keys) in the Anchor dashboard.

![Credentials configuration](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-credentials-configuration.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=9bc3dd905005b530eea761cc5bb0c95c)

After saving, test the connection to confirm it succeeds before continuing.

![Credentials tested successfully](https://mintcdn.com/anchor-b3ec2715/ccHz1UBXtcWV4T-s/images/n8n-credentials-tested.png?fit=max\&auto=format\&n=ccHz1UBXtcWV4T-s\&q=85\&s=d7fa6587c5df436ad4e1d8f6fbee1c1e)

**3. Add the Anchor Browser node**

Create a new workflow and add the **Anchor Browser** node. Select the **Resource** and **Operation** that match your use case. For most agentic automations, start with **Tool → Perform Web Task** — see [Tool operations](#tool-operations) below.

![Anchor Browser node when creating a new workflow](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-node-selection.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=892c6fd04fdcd300a3d4b5f4d3690602)

**4. Configure and execute**

Fill in the required fields for your chosen operation, then run the step to confirm it works.

![Node configuration settings](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-node-configuration.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=3989f63566051e1d1ad9e9a21d4c689e)

For AI-powered tasks, configure the prompt, URL or session ID, and agent settings. See [AI Task Completion](https://docs.anchorbrowser.io/agentic-browser-control/ai-task-completion.md) for details on agents, providers, and models.

![Task configuration settings](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-perform-task-configuration.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=a766cc14ea3a82be39921d5896e06a2f)

![Task prompt configuration](https://mintcdn.com/anchor-b3ec2715/ccHz1UBXtcWV4T-s/images/n8n-perform-task-prompt.png?fit=max\&auto=format\&n=ccHz1UBXtcWV4T-s\&q=85\&s=3aafb1c6ad2d8bf9908e5115f151aea4)

![Basic Anchor Browser workflow](https://mintcdn.com/anchor-b3ec2715/_BoSmIyNyhNoE4w7/images/n8n-node-run.png?fit=max\&auto=format\&n=_BoSmIyNyhNoE4w7\&q=85\&s=9a48a246d86242d5b7dae08b8edccc1b)

## Available Operations

The node exposes operations across five resources: Tool, Browser Session, Task, OS Level Control, and Profile.

### Tool operations

These operations use Anchor's AI agents and browser tools to complete web tasks. You can provide either a **Session ID** to use an existing session, or a **URL** to let the system create a session automatically — making these operations ideal for quick, one-off tasks without manual session management. See [AI Task Completion](https://docs.anchorbrowser.io/agentic-browser-control/ai-task-completion.md) for configuration details such as agents, providers, and models.

| Operation | Description |
| - | - |
| **Perform Web Task** | Execute an AI-powered web task from a natural language prompt. Requires a prompt and either a URL or session ID. |
| **Get Perform Web Task Status** | Retrieve the status or result of an async **Perform Web Task** execution. |
| **Fetch Webpage** | Get webpage content as HTML or Markdown. |
| **Take Screenshot** | Capture a screenshot of a webpage. |

### Browser session operations

Manage cloud browser sessions and retrieve session artifacts.

| Operation | Description |
| - | - |
| **Create Session** | Start a new browser session with configurable proxy, profile, viewport, recording, timeout, and PDF viewer settings. |
| **Get Session** | Retrieve details of a specific browser session. |
| **List All** | List all active browser sessions. |
| **End Session** | Terminate a specific browser session. |
| **End All** | Terminate all active browser sessions. |
| **Get Recordings** | Retrieve recordings for a session. |
| **Get Downloads** | Retrieve files downloaded during a session. |

### Task management operations

Create, run, and manage [Automation Tasks](https://docs.anchorbrowser.io/advanced/tasks) — reusable browser automation scripts you create in Anchor.

| Operation | Description |
| - | - |
| **Create Task** | Create a new task or update an existing one. |
| **Run Task** | Execute a saved task by ID. Supports input variables and async execution. |
| **Deploy Task** | Deploy a task version. |
| **Delete Task** | Delete a task. |
| **List Tasks** | List all tasks with pagination. |
| **List Executions** | List executions for a task. |
| **Get Execution** | Retrieve the result of a specific task execution. |

### OS Level Control operations

Low-level browser control for multi-step workflows that operate on an existing session. Each operation requires a **Session ID** from **Create Session** or a previous step.

| Operation | Description |
| - | - |
| **Navigate to URL** | Navigate the browser to a URL. |
| **Mouse Click** | Click at a given coordinate. |
| **Mouse Double Click** | Double-click at a given coordinate. |
| **Mouse Move** | Move the mouse cursor. |
| **Drag and Drop** | Perform a drag-and-drop operation. |
| **Scroll** | Scroll the page. |
| **Type Text** | Type text with the keyboard. |
| **Keyboard Shortcut** | Send a keyboard shortcut. |
| **Get Clipboard** | Read clipboard content. |
| **Set Clipboard** | Set clipboard content. |
| **Copy Text** | Copy the currently selected text to the clipboard. |
| **Paste Text** | Paste text from the clipboard. |
| **Take Screenshot** | Capture a screenshot of the current session viewport. |

### Profile operations

| Operation | Description |
| - | - |
| **Get Profile** | Retrieve details of a specific profile. |
| **List Profiles** | List all available profiles. |
| **Update Profile** | Update a profile's description. |
| **Delete Profile** | Delete a browser profile. |

***

## Common recipes

### Download PDF files instead of opening the viewer

By default, the **Create Session** operation enables the in-browser PDF viewer. To download PDF files automatically instead, disable the viewer when creating the session.

Add an **Anchor Browser** node and set **Resource** to **Browser Session** and **Operation** to **Create Session**. Open **Browser Configuration** and set **PDF Viewer Active** to **false**.

After the PDF downloads, use **Browser Session → Get Downloads** with the same session ID to retrieve the file. See [File Download](https://docs.anchorbrowser.io/advanced/file-download.md) for API details and P2P download options.

***

## Getting Help

If you experience any issues with the Anchor Browser n8n node, contact our support team at [support@anchorbrowser.io](mailto:support@anchorbrowser.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.