8
n8n 中文网amn8n.com

批量检查域名权威指标并记录到Google表格

中级

这是一个Market Research, Miscellaneous, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Code, FormTrigger, HttpRequest, GoogleSheets 等节点。 使用RapidAPI批量检查域名权威指标并记录到Google表格

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "6f007549-c9e9-445a-ac4b-bc86ae037257",
      "name": "重新格式化",
      "type": "n8n-nodes-base.code",
      "position": [
        500,
        0
      ],
      "parameters": {
        "jsCode": "// Get first item\nconst raw = $input.first().json.data;\n\nconst results = [];\n\nfor (const domain in raw) {\n  const row = raw[domain];\n  // Include domain name as its own field\n  row.domain = domain;\n  results.push({ json: row });\n}\n\nreturn results;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "fcf6b6ef-d3db-4142-9479-eb74c8f35ac2",
      "name": "追加到 Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        0
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [
            {
              "id": "success",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "success",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "courses",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "courses",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "totalItems",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "totalItems",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "currentPage",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "currentPage",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "totalPages",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "totalPages",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Course "
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "16f5e9f9-46ba-48e4-a5e1-31199ee86e9f",
      "name": "批量检查 DA PA",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        0
      ],
      "parameters": {
        "url": "https://bulk-da-pa-checker2.p.rapidapi.com/bulk-dapa.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "domains",
              "value": "={{ $json.Domains }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "bulk-da-pa-checker2.p.rapidapi.co"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "2b02f1cf-7936-45f1-902d-2b3cc8329b1f",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "90f0e1cc-40bb-4d9e-8e3d-e5ff47ab8010",
      "parameters": {
        "options": {},
        "formTitle": "Bulk DA PA Checker",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Domains",
              "placeholder": "Comma separated domains",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Bulk DA PA Checker"
      },
      "typeVersion": 2.2
    },
    {
      "id": "199fcf28-3afb-4657-8836-94ec00996e65",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        -340
      ],
      "parameters": {
        "width": 820,
        "height": 700,
        "content": "# 🌐 批量域名权威值(DA/PA)检查器"
      },
      "typeVersion": 1
    },
    {
      "id": "37eb4455-37e7-4d35-98e5-16adfb5e34ba",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -100
      ],
      "parameters": {
        "height": 280,
        "content": "提供一个面向公众的表单,用户可在其中输入逗号分隔的域名列表。"
      },
      "typeVersion": 1
    },
    {
      "id": "3ffdebf5-0ae1-48ec-8200-574a894efd3f",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        -100
      ],
      "parameters": {
        "height": 280,
        "content": "使用 POST 请求将列表发送到[批量 DA PA 检查器 API](https://rapidapi.com/skdeveloper/api/bulk-da-pa-checker2)。"
      },
      "typeVersion": 1
    },
    {
      "id": "905c07cc-9ea5-455d-b4b3-1ce3c00e0c87",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -100
      ],
      "parameters": {
        "height": 280,
        "content": "遍历 API 响应,提取每个域名的数据,并扁平化字段以便逐行记录。"
      },
      "typeVersion": 1
    },
    {
      "id": "1e27bac7-b5ad-40ec-b9d7-ea7460889f5b",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -100
      ],
      "parameters": {
        "width": 220,
        "height": 280,
        "content": "将每个域名的完整 DA/PA 报告保存到 Google Sheet 中用于跟踪、报告或导出。"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Re Format": {
      "main": [
        [
          {
            "node": "Append In Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check DA PA Bulk": {
      "main": [
        [
          {
            "node": "Re Format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Check DA PA Bulk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 市场调研, 杂项, 多模态 AI

需要付费吗?

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

工作流信息
难度等级
中级
节点数量9
分类3
节点类型5
难度说明

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

外部链接
在 n8n.io 查看

分享此工作流