8
n8n 中文网amn8n.com

28 - 融资洞察流水线

中级

这是一个Market Research领域的自动化工作流,包含 9 个节点。主要使用 Code, Filter, Airtable, HttpRequest, GoogleSheets 等节点。 使用Crunchbase、Google Sheets和Airtable自动化融资洞察

前置要求
  • Airtable API Key
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "name": "28 - 融资洞察流水线",
  "nodes": [
    {
      "id": "4e26cbbf-8379-4aae-811a-853970151119",
      "name": "🕐 每日检查",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -60,
        200
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6ddcfc63-0cee-4e3f-9288-6b5f463f7bdb",
      "name": "📄 解析融资数据",
      "type": "n8n-nodes-base.code",
      "position": [
        380,
        200
      ],
      "parameters": {
        "jsCode": "// Parse and structure the funding data\nconst items = [];\n\nif ($input.first().json.entities) {\n  for (const entity of $input.first().json.entities) {\n    const properties = entity.properties;\n    const fundedOrg = properties.funded_organization_identifier;\n    \n    // Extract investor names\n    let investors = '';\n    if (properties.investor_identifiers && properties.investor_identifiers.length > 0) {\n      investors = properties.investor_identifiers.map(inv => inv.value).join(', ');\n    }\n    \n    // Extract categories\n    let categories = '';\n    if (fundedOrg && fundedOrg.categories && fundedOrg.categories.length > 0) {\n      categories = fundedOrg.categories.map(cat => cat.value).join(', ');\n    }\n    \n    // Format funding amount\n    let fundingAmount = 'N/A';\n    if (properties.funding_round_money_raised && properties.funding_round_money_raised.value_usd) {\n      fundingAmount = `$${(properties.funding_round_money_raised.value_usd / 1000000).toFixed(2)}M`;\n    }\n    \n    items.push({\n      json: {\n        company_name: fundedOrg ? fundedOrg.value : 'N/A',\n        funding_amount: fundingAmount,\n        funding_type: properties.investment_type ? properties.investment_type.value : 'N/A',\n        announced_date: properties.announced_on ? properties.announced_on.value : 'N/A',\n        description: fundedOrg && fundedOrg.short_description ? fundedOrg.short_description : 'N/A',\n        website: fundedOrg && fundedOrg.website ? fundedOrg.website.value : 'N/A',\n        industry: categories || 'N/A',\n        investors: investors || 'N/A',\n        crunchbase_url: fundedOrg ? `https://www.crunchbase.com/organization/${fundedOrg.permalink}` : 'N/A',\n        scraped_at: new Date().toISOString().split('T')[0]\n      }\n    });\n  }\n}\n\nreturn items;"
      },
      "typeVersion": 2
    },
    {
      "id": "de6857e8-7ec0-4433-b36e-50df001acbbb",
      "name": "📊 保存到 Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        820,
        100
      ],
      "parameters": {
        "columns": {
          "values": {
            "Website": "={{$json.website}}",
            "Industry": "={{$json.industry}}",
            "Investors": "={{$json.investors}}",
            "Scraped At": "={{$json.scraped_at}}",
            "Description": "={{$json.description}}",
            "Company Name": "={{$json.company_name}}",
            "Funding Type": "={{$json.funding_type}}",
            "Crunchbase URL": "={{$json.crunchbase_url}}",
            "Date Announced": "={{$json.announced_date}}",
            "Funding Amount": "={{$json.funding_amount}}"
          },
          "mappingMode": "defineBelow"
        },
        "options": {
          "cellFormat": "USER_ENTERED"
        },
        "operation": "appendOrUpdate",
        "sheetName": "Funding Tracker",
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_GOOGLE_SHEET_ID"
        }
      },
      "typeVersion": 4.4
    },
    {
      "id": "05653b74-d30c-4af6-8b17-f4f9fba3cf38",
      "name": "🗂️ 保存到 Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        820,
        300
      ],
      "parameters": {
        "table": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_AIRTABLE_TABLE_ID"
        },
        "options": {},
        "operation": "append",
        "application": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_AIRTABLE_APP_ID"
        },
        "authentication": "airtableOAuth2Api"
      },
      "typeVersion": 1
    },
    {
      "id": "0fcd4232-c492-4597-8751-874098f23427",
      "name": "工作流信息",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        -140
      ],
      "parameters": {
        "color": 4,
        "width": 420,
        "height": 620,
        "content": "## 1. 工作流触发器和数据获取(🕐 每日检查 + 📊 获取近期融资)"
      },
      "typeVersion": 1
    },
    {
      "id": "31bcef8a-6b0b-40e6-acb8-a3ce53012dea",
      "name": "📅 过滤近期(30 天)",
      "type": "n8n-nodes-base.filter",
      "position": [
        600,
        200
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "condition-filter",
              "operator": {
                "type": "dateTime",
                "operation": "after",
                "rightType": "expression"
              },
              "leftValue": "={{$json.announced_date}}",
              "rightValue": "={{DateTime.now().minus({days: 30}).toFormat('yyyy-MM-dd')}}"
            }
          ]
        }
      },
      "typeVersion": 2
    },
    {
      "id": "8f996c64-c96b-4e20-bb13-469a8e7e69cd",
      "name": "📊 获取近期融资",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        200
      ],
      "parameters": {
        "url": "https://api.crunchbase.com/api/v4/searches/funding_rounds?user_key={{YOUR_CRUNCHBASE_API_KEY}}",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "responseFormat": "json"
            }
          }
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "field_ids",
              "value": "[\"identifier\",\"funding_round_money_raised\",\"announced_on\",\"funded_organization_identifier\",\"funded_organization_description\",\"funded_organization_website\",\"funded_organization_categories\",\"investor_identifiers\",\"investment_type\"]"
            },
            {
              "name": "order",
              "value": "[{\"field_id\":\"announced_on\",\"sort_order\":\"desc\"}]"
            },
            {
              "name": "limit",
              "value": "100"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "dcdb1747-d79a-4845-bd63-198580af7ec6",
      "name": "工作流信息1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -140
      ],
      "parameters": {
        "width": 420,
        "height": 620,
        "content": "## 2. 数据处理(📄 解析融资数据 + 📅 过滤近期 30 天)"
      },
      "typeVersion": 1
    },
    {
      "id": "b9049419-7c57-4da7-9d72-0f4b037dc937",
      "name": "工作流信息2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        -140
      ],
      "parameters": {
        "color": 3,
        "width": 340,
        "height": 620,
        "content": "## 3. 存储输出(📊 保存到 Google Sheets + 🗂️ 保存到 Airtable)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "🕐 Daily Check": {
      "main": [
        [
          {
            "node": "📊 Fetch Recent Funding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📄 Parse Funding Data": {
      "main": [
        [
          {
            "node": "📅 Filter Recent (30 days)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🗂️ Save to Airtable": {
      "main": [
        []
      ]
    },
    "📊 Fetch Recent Funding": {
      "main": [
        [
          {
            "node": "📄 Parse Funding Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📊 Save to Google Sheets": {
      "main": [
        []
      ]
    },
    "📅 Filter Recent (30 days)": {
      "main": [
        [
          {
            "node": "📊 Save to Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "🗂️ Save to Airtable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 市场调研

需要付费吗?

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

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

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

作者
Avkash Kakdiya

Avkash Kakdiya

@itechnotion

🚀 Founder of iTechNotion — we build custom AI-powered automation workflows for startups, agencies, and founders. 💡 Specializing in agentic AI systems, content automation, sales funnels, and digital workers. 🔧 14+ years in tech | Building scalable no-code/low-code solutions using n8n, OpenAI, and other API-first tools. 📬 Let’s automate what slows you down.

外部链接
在 n8n.io 查看

分享此工作流