8
n8n 中文网amn8n.com

使用顶级反向链接检查器API分析网站反向链接并记录到Google Sheets

中级

这是一个Market Research, Multimodal AI领域的自动化工作流,包含 13 个节点。主要使用 Code, FormTrigger, HttpRequest, GoogleSheets 等节点。 使用顶级反向链接检查器API分析网站反向链接并记录到Google Sheets

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "55979fca-6abb-43f2-af9a-59f2cacaeb51",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "259a4fed-36fb-457c-8813-f84cf10d8c36",
      "parameters": {
        "options": {},
        "formTitle": "website backlink checker",
        "formFields": {
          "values": [
            {
              "fieldLabel": "website",
              "requiredField": true
            }
          ]
        },
        "formDescription": "website backlink checker"
      },
      "typeVersion": 2.2
    },
    {
      "id": "00963262-4328-4998-a996-b12d98f1badb",
      "name": "重新格式化输出",
      "type": "n8n-nodes-base.code",
      "position": [
        560,
        0
      ],
      "parameters": {
        "jsCode": "return $input.first().json.data.semrushAPI.backlinksOverview"
      },
      "typeVersion": 2
    },
    {
      "id": "2ec4b6b3-d8e0-4afd-8230-05604e85a258",
      "name": "检查网络流量",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        0
      ],
      "parameters": {
        "url": "https://top-backlink-checker.p.rapidapi.com/backlink.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "website",
              "value": "={{ $json.website }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "top-backlink-checker.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "8d668a57-48db-4aec-b233-534ffdd89c44",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 3. **重新格式化输出**"
      },
      "typeVersion": 1
    },
    {
      "id": "493ee398-972d-4a0b-b4ee-407ce2eeffc0",
      "name": "重新格式化",
      "type": "n8n-nodes-base.code",
      "position": [
        580,
        360
      ],
      "parameters": {
        "jsCode": "return $input.first().json.data.semrushAPI.backlinks;"
      },
      "typeVersion": 2
    },
    {
      "id": "47be20f6-5340-4d42-af21-bff7faf046ec",
      "name": "反向链接概览",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        800,
        0
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [],
          "mappingMode": "autoMapInputData",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 275308757,
          "cachedResultUrl": "",
          "cachedResultName": "backlink overview"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Seo n8n"
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "2273488d-2ac3-404a-8708-cc032fe3be62",
      "name": "反向链接",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1160,
        320
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [
            {
              "id": "targetUrl",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "targetUrl",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "sourceUrl",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "sourceUrl",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "sourceTitle",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "sourceTitle",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "pageAscore",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "pageAscore",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "lastSeen",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "lastSeen",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "internalNum",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "internalNum",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "firstSeen",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "firstSeen",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "externalNum",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "externalNum",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "anchor",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "anchor",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "nofollow",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "nofollow",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "autoMapInputData",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 1521883577,
          "cachedResultUrl": "",
          "cachedResultName": "backlinks"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Seo n8n"
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "cec213c8-02b4-4d58-bc07-e3fb841f0c18",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -440
      ],
      "parameters": {
        "width": 480,
        "height": 1000,
        "content": "# SEO友好标题:"
      },
      "typeVersion": 1
    },
    {
      "id": "0f516194-3c23-446e-9048-a48183655b65",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -200
      ],
      "parameters": {
        "height": 400,
        "content": "### 1. **表单提交时**"
      },
      "typeVersion": 1
    },
    {
      "id": "2d1cbb57-4a63-4818-bb60-1fcdc60f88a4",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        200
      ],
      "parameters": {
        "height": 320,
        "content": "### 4. **重新格式化**"
      },
      "typeVersion": 1
    },
    {
      "id": "83223c0c-4456-49cd-86df-19ddf160dc59",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 2. **检查网络流量**"
      },
      "typeVersion": 1
    },
    {
      "id": "2eae1984-86f5-47e6-9dbd-07499e79d0bb",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        -200
      ],
      "parameters": {
        "height": 360,
        "content": "### 5. **反向链接概览**"
      },
      "typeVersion": 1
    },
    {
      "id": "81ae528a-c410-4e94-96df-504e9d47fc3b",
      "name": "### 需要帮助?",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        120
      ],
      "parameters": {
        "height": 340,
        "content": "### 6. **反向链接**"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Reformat": {
      "main": [
        [
          {
            "node": "Backlinks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check webTraffic": {
      "main": [
        [
          {
            "node": "Re format output",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reformat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Re format output": {
      "main": [
        [
          {
            "node": "Backlink overview",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Check webTraffic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流