8
n8n 中文网amn8n.com

使用ScrapeGraph AI提取n8n社区最近添加的工作流

高级

这是一个Miscellaneous, AI Summarization, Multimodal AI领域的自动化工作流,包含 21 个节点。主要使用 Set, Merge, SplitOut, GoogleSheets, ManualTrigger 等节点。 使用ScrapeGraphAI和Gemini提取和存储n8n社区最近添加的工作流

前置要求
  • Google Sheets API 凭证
  • OpenAI API Key
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "OiCx43rgyxTX9aX2",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "使用ScrapeGraph AI提取n8n社区最近添加的工作流",
  "tags": [],
  "nodes": [
    {
      "id": "f4c058a0-dc66-44aa-9f26-2f90c2410797",
      "name": "当点击\"执行工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        256
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "98564822-d624-4bc9-b452-37740f62e460",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        896,
        480
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "343be8cc-6cc8-4c05-9240-41dfbd9b8b36",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1088,
        464
      ],
      "parameters": {
        "autoFix": true,
        "schemaType": "manual",
        "inputSchema": "{\n\t\"type\": \"object\",\n\t\"workflows\": {\n\t\t\"title\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"url\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "8aea27b3-6a43-4914-97eb-0e25214ee3aa",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        0,
        1280
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "fab90f11-314e-4f2f-9432-5ce672f844af",
      "name": "### 工作原理",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1040,
        672
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5-mini",
          "cachedResultName": "gpt-5-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "TefveNaDaMERl1hY",
          "name": "OpenAi account (Eure)"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "f1c95437-e180-4818-8901-4275bf725f75",
      "name": "拆分输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1776,
        256
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "workflows"
      },
      "typeVersion": 1
    },
    {
      "id": "ca6e0807-ab1b-46e1-a8ea-9013e6119fb5",
      "name": "信息提取器",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        816,
        1296
      ],
      "parameters": {
        "text": "={{ $json.result }}",
        "options": {},
        "attributes": {
          "attributes": [
            {
              "name": "categories",
              "required": true,
              "description": "Estrai le categorie a cui è associato il flusso"
            },
            {
              "name": "author",
              "required": true,
              "description": "Estrai il nome del creatore del flusso"
            },
            {
              "name": "price",
              "required": true,
              "description": " Estrai se il flusso è \"Use for free\" o il prezzo "
            },
            {
              "name": "title",
              "required": true,
              "description": "Estrai il titolo del flusso traducendolo in italiano"
            },
            {
              "name": "url",
              "required": true,
              "description": "Estrai l'url dal flusso"
            },
            {
              "name": "id",
              "required": true,
              "description": "La parte numerica presente dopo la parte di url \"https://n8n.io/workflows/\""
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9fa3021f-402a-4131-a7ab-2dce0097bedb",
      "name": "Google Gemini 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        848,
        1488
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2eaaad5f-36df-4813-8fb8-c6c44b1796cd",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        1376,
        1280
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineAll"
      },
      "typeVersion": 3.2
    },
    {
      "id": "acda6aea-ed77-4dcd-8f09-4a9fe509ac60",
      "name": "Google Gemini聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        736,
        1120
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d33f91da-d7fa-4a64-ab11-794b915db3ff",
      "name": "抓取主页面",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        448,
        256
      ],
      "parameters": {
        "resource": "markdownify",
        "websiteUrl": "https://n8n.io/workflows/",
        "renderHeavyJs": true
      },
      "credentials": {
        "scrapegraphAIApi": {
          "id": "EOxCPnl9IynxgpyB",
          "name": "ScrapegraphAI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8c9fe39f-d7c1-4e6c-a41c-a6044a613256",
      "name": "提取\"最近添加\"",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        960,
        256
      ],
      "parameters": {
        "text": "={{ $json.result }}",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "=Sei un esperto nell'estrarre dati dal codice Markdwon.  Dal documento che ti invio dovrare estrarre e mettere in un json tutti i \"title\" e l'\"url\" dei workflows nella sezione della pagina denominata \"Recently Added\". L'array deve chiamarsi \"workflows\"."
            }
          ]
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    },
    {
      "id": "e321c8ae-7c93-4c37-9b3b-c5662865e4ea",
      "name": "设置数组",
      "type": "n8n-nodes-base.set",
      "position": [
        1456,
        256
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "b325ec1e-4500-41fb-9c51-9dfa5d4bd8e8",
              "name": "workflows",
              "type": "array",
              "value": "={{ $json.output.workflows }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "9813a79f-abb9-489d-8dc8-c472272f6a9b",
      "name": "抓取单个工作流",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        304,
        1296
      ],
      "parameters": {
        "resource": "markdownify",
        "websiteUrl": "={{ $json.url }}",
        "renderHeavyJs": true
      },
      "credentials": {
        "scrapegraphAIApi": {
          "id": "EOxCPnl9IynxgpyB",
          "name": "ScrapegraphAI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "eba00924-48bc-43c5-b1b2-581323a78c1c",
      "name": "主要内容",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        816,
        928
      ],
      "parameters": {
        "text": "={{ $json.result }}",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "=Sei un esperto di scraping in formato markdown. Trova ed Elimina il contenuto superfluo e resitutisci solo il mardkdown dell'articolo . Non inventarti nulla e attieniti al contenuto che ti viene fornito. Il markdown deve essere validato."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "3627ff64-f347-4ee5-9713-89f33c55dd4b",
      "name": "摘要内容",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1376,
        928
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-2.5-flash",
          "cachedResultName": "models/gemini-2.5-flash"
        },
        "options": {
          "systemMessage": "=Riassumi in italiano lo scopo di questo flusso e gli strumenti utilizzati. Sii conciso e chiaro senza preamboli. Usa plain text"
        },
        "messages": {
          "values": [
            {
              "content": "={{ $json.content }}"
            }
          ]
        }
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9dab3f50-7e71-4513-bdef-fe6fb6e80949",
      "name": "设置内容",
      "type": "n8n-nodes-base.set",
      "position": [
        1152,
        928
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "1a1a3013-15be-49a6-b591-953f258adf16",
              "name": "content",
              "type": "string",
              "value": "={{ $json.text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "82087c68-80ed-4494-a6b7-d12729913f51",
      "name": "添加行",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1728,
        1280
      ],
      "parameters": {
        "columns": {
          "value": {
            "ID": "={{ $json.output.id }}",
            "URL": "={{ $json.output.url }}",
            "PRICE": "={{ $json.output.price }}",
            "TITLE": "={{ $json.output.title }}",
            "AUTHOR": "={{ $json.output.author }}",
            "SUMMARY": "={{ $('Summarization content').item.json.content.parts[0].text }}",
            "CATEGORIES": "={{ $json.output.categories }}"
          },
          "schema": [
            {
              "id": "ID",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "ID",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "TITLE",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "TITLE",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "URL",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "URL",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "AUTHOR",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "AUTHOR",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "CATEGORIES",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "CATEGORIES",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "SUMMARY",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "SUMMARY",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "PRICE",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "PRICE",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1CnTq5kkHkdv8GPfGrjRkeK66R0XHOys25BF_Me2OX6I/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1CnTq5kkHkdv8GPfGrjRkeK66R0XHOys25BF_Me2OX6I",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1CnTq5kkHkdv8GPfGrjRkeK66R0XHOys25BF_Me2OX6I/edit?usp=drivesdk",
          "cachedResultName": "n8n with ScrapegraphAI"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "cf6dbb40-1fce-405b-93c5-2d53893289c4",
      "name": "定时触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -16,
        80
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "2eac3bba-0b18-49e6-aec6-de53be3d1e28",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -384
      ],
      "parameters": {
        "color": 3,
        "width": 1056,
        "height": 208,
        "content": "## 使用ScrapeGraph AI提取n8n社区最近添加的工作流"
      },
      "typeVersion": 1
    },
    {
      "id": "17fea3a0-814d-48d7-8aa6-5c0ed170da72",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -144
      ],
      "parameters": {
        "width": 1056,
        "height": 144,
        "content": "## 步骤"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "61c24ad3-b637-4837-917c-6d2528bb6e85",
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Add row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add row": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set array": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set content": {
      "main": [
        [
          {
            "node": "Summarization content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Main content": {
      "main": [
        [
          {
            "node": "Set content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Scrape single Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape main page": {
      "main": [
        [
          {
            "node": "Extract \"Recently added\"",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Information Extractor": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Summarization content": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape single Workflow": {
      "main": [
        [
          {
            "node": "Information Extractor",
            "type": "main",
            "index": 0
          },
          {
            "node": "Main content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract \"Recently added\"": {
      "main": [
        [
          {
            "node": "Set array",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Extract \"Recently added\"",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Extract \"Recently added\"",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Information Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Main content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Scrape main page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 杂项, AI 摘要总结, 多模态 AI

需要付费吗?

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

工作流信息
难度等级
高级
节点数量21
分类3
节点类型15
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

外部链接
在 n8n.io 查看

分享此工作流