> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.airtop.ai/guides/integrations/n8n/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.airtop.ai/_mcp/server. # n8n ## Overview [n8n](https://www.n8n.io) is a platform for building and deploying no-code automations. Airtop can be [easily used inside n8n](https://n8n.io/integrations/airtop/) to access content from the web and interact with sites. In addition, Airtop can be used to have your users authenticate into any sites and allow the automation to subsequently use the site. ## Creating your first automation To use Airtop in n8n, simply search for "Airtop" when adding a new node. ![Find Airtop in n8n](/_fern-img/a9e9e98f13b51a86cabbe6b1c615e387663bed376fd5d52c8befd3b571f35654.webp) Let's build a simple automation that will navigate to the [Banana Wikipedia page](https://en.wikipedia.org/wiki/Banana) and ask a simple question about the page. Insert a `Query Page` node into your automation and configure it as follows: 1. Create a credential, which will prompt you to add your Airtop API key. You can get your API key from the [Airtop Portal](https://portal.airtop.ai/api-keys). 2. Select the `Automatically Create Session` option. 3. Enter the URL: [https://en.wikipedia.org/wiki/Banana](https://en.wikipedia.org/wiki/Banana) 4. Enter the prompt: `What is this page about in 5 words?` 5. Click `Test step`. The settings and output of the node should look like this, with the result containing the answer to your question. ![Page Query](/_fern-img/34c48b04f1e677c16d82f62d9c3e46e144d520f47aefb33013c3fc8c7be5c0d2.webp) ## More advanced use cases The above example automatically creates a session and terminates it after the page query is complete. You can manually create a session, a window, and terminate it if you want more advanced options and control. Some instances in which you might want to do this are: * You are saving profiles during the automation * You are using a residential proxy * You want to configure the timeout of the session * You want to create a [Live View](/guides/how-to/creating-a-live-view) before you run any actions on the session ## Authentication One common use case for Airtop is to have your users authenticate into a site, save a profile for the authenticated session, and subsequently allow your automation to use the authenticated profile to perform actions autonomously. Navigate to the profile page, generate a profile under a name, and use the profile name in the nodes. For more information, check out the [Saving a Profile](/guides/how-to/saving-a-profile) guide. ## Examples / Templates Take a look at some of the examples in the [Airtop Integration page](https://n8n.io/integrations/airtop/) for a few more complex examples. > How to use Airtop with n8n