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

# BrowserAI n8n node

> The BrowserAI n8n node allows you to seamlessly integrate BrowserAI’s powerful browser automation and capabilities into your n8n workflows — in seconds!

<img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node8.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=f8436c133b2679446a886da626128335" alt="title" className="mx-auto" width="683" height="287" data-path="api-reference/img/n8n-node8.png" />

## What is n8n?

**n8n** is a powerful, open-source workflow automation tool that lets you connect apps, APIs, and services with a visual, no-code interface. It enables you to build complex automations using over 300 integrations or custom logic with JavaScript.

## Why use BrowserAI with n8n?

**n8n-nodes-browserai** is a custom community node built by us for n8n, allowing you to perform everything you can do on the BrowserAI dashboard — directly within your n8n workflows! From creating and managing tasks to automating workflows, commercial and data monitoring, and integrating BrowserAI with other services, this node brings the full power of BrowserAI into your automation stack.

## How to integrate BrowserAI with n8n?

Head to BrowserAI's [npm page](https://www.npmjs.com/package/n8n-nodes-browserai) to download the node, or simpley run this in curl:

```bash theme={null}
npm i n8n-nodes-browserai
```

## How to use BrowserAI with n8n?

Example for a simple task followed by viewing its metadata and results.

<Steps>
  <Step title="Add a New Node">
    Click the **+ button** in the top-right corner of your workspace to add a new node.

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node1.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=cabcb93d7abd33728b941b2a08834f07" alt="" width="326" height="290" data-path="api-reference/img/n8n-node1.png" />
    </Frame>
  </Step>

  <Step title="Search BrowserAI">
    Search for **BrowserAI** in the node list and select it.

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node2.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=963983b5700a9dba08093959a8e16ab8" alt="" width="392" height="307" data-path="api-reference/img/n8n-node2.png" />
    </Frame>
  </Step>

  <Step title="Create Credentials">
    Click **Create new credentials** to connect your BrowserAI account.

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node3.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=22f133c2209ef2a9cc3a7e87e4ef3260" alt="" width="614" height="216" data-path="api-reference/img/n8n-node3.png" />
    </Frame>
  </Step>

  <Step title="Enter API Key">
    Paste your **API Key** from the BrowserAI dashboard and click **Save**. Don't know where to find your API key? find out [here](https://docs.browser.ai/api-reference/token).

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node4.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=27f277cfd6b3f188e5d860d7beee3c49" alt="" width="1185" height="338" data-path="api-reference/img/n8n-node4.png" />
    </Frame>
  </Step>

  <Step title="Create a Task">
    Set the operation to 'Create Task', select your Project, choose a Country, and set Task Type to 'Crawler Type' for natural-language tasks. Then, **execute the node!**

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node5.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=e716ecb37a24956b04ee5ca808b45a92" alt="" width="1247" height="874" data-path="api-reference/img/n8n-node5.png" />
    </Frame>
  </Step>

  <Step title="View Task in Dashboard">
    Once executed, the task will appear immediately in your BrowserAI [dashboard](https://browser.ai/dashboard/page/overview).

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node6.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=95ed0b23b96d04bdfe47a3504b854b49" alt="" width="1720" height="511" data-path="api-reference/img/n8n-node6.png" />
    </Frame>
  </Step>

  <Step title="Fetch Task Metadata">
    Now lets give it another try and this time **fetch the task Metadata** by choosing 'Get task metadata' as our Operation, enter the 'Task Session ID', and execute the node to view metadata and **results** on the right panel.

    <Frame>
      <img src="https://mintcdn.com/brightbrowserai/BMDL4tkYW9ROygnX/api-reference/img/n8n-node7.png?fit=max&auto=format&n=BMDL4tkYW9ROygnX&q=85&s=60b6ed39e2d5451e424852734235239e" alt="" width="1244" height="549" data-path="api-reference/img/n8n-node7.png" />
    </Frame>
  </Step>
</Steps>

📧 [Contact us](mailto:support@browser.ai) — we’re happy to help you get started or brainstorm use cases!
