8
n8n 中文网amn8n.com

使用Airtop和AI提示查询的自动化网页浏览与提取

中级

这是一个Engineering, AI Chatbot领域的自动化工作流,包含 13 个节点。主要使用 AirtopTool, McpTrigger 等节点。 使用Airtop和AI提示查询的自动化网页浏览与提取

前置要求
  • 无特殊前置要求,导入即可使用

使用的节点 (13)

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "33738330930e3881dd5571eca013f36ddf8aab20e4ea5c1f2ebaf4a2b4668ac6",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "62854eee-81a6-4fe0-93c0-8512192edbf2",
      "name": "MCP 服务器触发器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -224,
        -80
      ],
      "webhookId": "fb491c53-d74d-4999-a117-d938b643dc15",
      "parameters": {
        "path": "airtop"
      },
      "typeVersion": 2
    },
    {
      "id": "a4a3e250-9439-4d03-a716-61d086ae41d7",
      "name": "在 Airtop 中创建会话",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        -352,
        176
      ],
      "parameters": {
        "profileName": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Profile_Name', `nome do perfil de navegacao no airtop`, 'string') }}",
        "timeoutMinutes": "=10",
        "additionalFields": {},
        "saveProfileOnTermination": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Save_Profile', ``, 'boolean') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ecf44f10-acac-4eab-84b2-08cae6857348",
      "name": "在 Airtop 中终止会话",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        -176,
        192
      ],
      "parameters": {
        "operation": "terminate",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', `id da sesao criada `, 'string') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c2d54596-b120-4126-9dd3-01f28506b6aa",
      "name": "在 Airtop 中等待下载",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        0,
        192
      ],
      "parameters": {
        "operation": "waitForDownload",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "500f0089-97bf-49e6-8309-a93e73e4d9bb",
      "name": "在 Airtop 中点击元素",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        176,
        192
      ],
      "parameters": {
        "resource": "interaction",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "additionalFields": {},
        "elementDescription": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Element_Description', ``, 'string') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e8cb67ab-4b27-442a-87c1-d1c95da567cd",
      "name": "在 Airtop 中滚动页面",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        336,
        192
      ],
      "parameters": {
        "resource": "interaction",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "scroll",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "scrollWithin": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Scrollable_Area', ``, 'string') }}",
        "scrollToElement": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Element_Description', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "48450240-2764-4654-8aa7-1529d72ecf0a",
      "name": "在 Airtop 中填写表单",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        496,
        192
      ],
      "parameters": {
        "formData": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Form_Data', ``, 'string') }}",
        "resource": "interaction",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "fill",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8a58b8ad-dd20-4cee-a86e-382de52165cc",
      "name": "在 Airtop 中查询页面",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        672,
        192
      ],
      "parameters": {
        "prompt": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt', ``, 'string') }}",
        "resource": "extraction",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "query",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c7202080-a50f-4497-941a-c55dfe908dd0",
      "name": "在 Airtop 中带分页查询页面",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        848,
        176
      ],
      "parameters": {
        "prompt": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt', ``, 'string') }}",
        "resource": "extraction",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "976a008d-b5f3-4d01-940d-d3881002e8dc",
      "name": "在 Airtop 中截图",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        -544,
        192
      ],
      "parameters": {
        "resource": "window",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "takeScreenshot",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "outputImageAsBinary": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Output_Binary_Image', ``, 'boolean') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f99ab906-ab7e-41d6-bbcf-05a1b21f7bfe",
      "name": "在 Airtop 中加载页面",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        -720,
        192
      ],
      "parameters": {
        "url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', ``, 'string') }}",
        "resource": "window",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "load",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "576d693b-f347-4b43-81a2-9833e426ecf4",
      "name": "在 Airtop 中创建窗口",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        -880,
        192
      ],
      "parameters": {
        "url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', ``, 'string') }}",
        "resource": "window",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}",
        "getLiveView": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Get_Live_View', ``, 'boolean') }}",
        "additionalFields": {}
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6bd67a5f-73d7-48de-a017-d25dec94ba89",
      "name": "在 Airtop 中关闭窗口",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        48,
        320
      ],
      "parameters": {
        "resource": "window",
        "windowId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Window_ID', ``, 'string') }}",
        "operation": "close",
        "sessionId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Session_ID', ``, 'string') }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "NJwTbvx3ztbD5gom",
          "name": "Airtop account"
        }
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Fill form in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Query page in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Load a page in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Close a window in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Scroll on page in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a window in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Take screenshot in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Click an element in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a session in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Terminate a session in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Wait for a download in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Query page with pagination in Airtop": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 工程, AI 聊天机器人

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量13
分类2
节点类型2
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Luciano Gutierrez

Luciano Gutierrez

@koresoluciones

🇧🇷 Argentino de 30 anos e fundador da KORE Soluções em Belo Horizonte (MG). Há 1 ano, fornecemos automações, cursos, configurações e manutenção de workflows, ajudando empresas a aumentar eficiência e escalar processos com tecnologia. 🇺🇸 I’m a 30‑year‑old Argentine founder of KORE Soluções in Belo Horizonte (MG). For 1 year, we’ve delivered automations, courses, configuration, and workflow maintenance, helping businesses boost efficiency and scale processes with technology.

外部链接
在 n8n.io 查看

分享此工作流