{
  "name": "NeuralBridge BD Outreach \u2014 \u5206\u7c7b\u6f02\u79fb\u90ae\u4ef6\u81ea\u52a8\u5316",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "daysOfWeek",
              "daysOfWeek": [
                "Monday",
                "Wednesday",
                "Friday"
              ]
            },
            {
              "field": "hour",
              "hour": 9
            }
          ]
        }
      },
      "id": "cron-trigger",
      "name": "\u6bcf\u5468\u4e00\u4e09\u4e94 9:00\u89e6\u53d1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://license-api-neuralbridge-hk-rewfrmblft.cn-hongkong.fcapp.run/api/health",
        "options": {}
      },
      "id": "health-check",
      "name": "\u68c0\u67e5NeuralBridge\u670d\u52a1",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "const leads = [\n  {\n    to: 'boaz@falkin.com',\n    company: 'Falkin',\n    domain_label: '\u8bc8\u9a97\u68c0\u6d4b',\n    drift_scenario: '\u8bc8\u9a97\u5206\u7c7b\u6a21\u578b\u5728failover\u540e\uff0c\u9ad8\u98ce\u9669\u6807\u8bb0\u7387\u4ece12%\u6f02\u79fb\u52303%\u2014\u2014\u6c89\u9ed8\u7684\u8bef\u653e',\n    metric_hook: '\u8bef\u653e\u7387\u6bcf\u6f02\u79fb1\u4e2a\u767e\u5206\u70b9\uff0c\u5408\u89c4\u7f5a\u6b3e\u655e\u53e3\u589e\u52a0$200K/\u5e74',\n    status: 'new',\n    sent_count: 0\n  },\n  {\n    to: 'eliron@ravin.ai',\n    company: 'Ravin AI',\n    domain_label: '\u8f66\u8f86\u68c0\u6d4b',\n    drift_scenario: '\u635f\u4f24\u5206\u7ea7\u6a21\u578b\u5728Provider\u5207\u6362\u540e\uff0c\"\u4e25\u91cd\u635f\u4f24\"\u88ab\u964d\u7ea7\u4e3a\"\u8f7b\u5fae\u5212\u75d5\"\u2014\u2014\u4e0b\u6e38\u5b9a\u4ef7\u76f4\u63a5\u504f\u5dee30%',\n    metric_hook: '\u5206\u7c7b\u6f02\u79fb\u5bfc\u81f4\u7684\u5b9a\u4ef7\u504f\u5dee\uff0c\u6bcf1000\u5355\u5e73\u5747\u635f\u5931$15K',\n    status: 'new',\n    sent_count: 0\n  },\n  {\n    to: 'pablo@happyrobot.ai',\n    company: 'HappyRobot',\n    domain_label: '\u7269\u6d41\u5206\u7c7b',\n    drift_scenario: '\u8d27\u7269\u5206\u7ea7\u6a21\u578bfailover\u540e\uff0c\"\u51b7\u94fe\"\u88ab\u9759\u9ed8\u5206\u7c7b\u4e3a\"\u5e38\u6e29\"\u2014\u2014\u6574\u7968\u8d27\u7269\u635f\u6bc1',\n    metric_hook: '\u4e00\u6b21\u51b7\u94fe\u8bef\u5206\u7c7b\u7684\u8d27\u635f\u6210\u672c = $50K+\uff0c\u8fdc\u8d85API\u8c03\u7528\u6210\u672c\u76846\u4e2a\u6570\u91cf\u7ea7',\n    status: 'new',\n    sent_count: 0\n  },\n  {\n    to: 'krik@fourthline.com',\n    company: 'Fourthline',\n    domain_label: 'KYC\u9a8c\u8bc1',\n    drift_scenario: '\u8eab\u4efd\u9a8c\u8bc1\u6a21\u578b\u964d\u7ea7\u540e\uff0c\"\u9ad8\u98ce\u9669\u8eab\u4efd\"\u88ab\u6807\u8bb0\u4e3a\"\u901a\u8fc7\"\u2014\u2014AML\u5408\u89c4\u76f4\u63a5\u5931\u6548',\n    metric_hook: 'KYC\u8bef\u5206\u7c7b\u89e6\u53d1\u76d1\u7ba1\u5ba1\u8ba1\u7684\u5e73\u5747\u6210\u672c = \u20ac800K\uff0c\u4e14\u4f34\u968f\u724c\u7167\u98ce\u9669',\n    status: 'new',\n    sent_count: 0\n  },\n  {\n    to: 'ron@uplinq.com',\n    company: 'Uplinq',\n    domain_label: '\u8bb0\u8d26\u5206\u7c7b',\n    drift_scenario: '\u4ea4\u6613\u5206\u7c7b\u6a21\u578b\u5207\u6362\u540e\uff0c\"\u8d44\u672c\u652f\u51fa\"\u88ab\u5f52\u5165\"\u8fd0\u8425\u652f\u51fa\"\u2014\u2014\u8d22\u52a1\u62a5\u8868\u504f\u5dee\uff0c\u5ba1\u8ba1\u65e0\u6cd5\u901a\u8fc7',\n    metric_hook: '\u5206\u7c7b\u6f02\u79fb\u5bfc\u81f4\u7684\u5ba1\u8ba1\u91cd\u505a\u6210\u672c = $120K/\u6b21\uff0c\u4e14\u5ef6\u8fdf\u8d22\u62a5\u53d1\u5e03\u5468\u671f',\n    status: 'risky',\n    sent_count: 0\n  }\n];\n\n// \u8bfb\u53d6CSV\u4e2d\u7684\u53d1\u9001\u8bb0\u5f55\u6765\u51b3\u5b9a\u8c01\u8fd8\u9700\u8981\u53d1\n// \u521d\u6b21\u8fd0\u884c\uff1a\u6240\u6709\u4eba\u90fd\u53d1\n// \u540e\u7eed\u8fd0\u884c\uff1a\u53ea\u53d1\u7ed9 status=new \u7684\u4eba\nreturn leads.map(l => ({ json: l }));"
      },
      "id": "lead-list",
      "name": "BD\u76ee\u6807\u5217\u8868",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        440,
        0
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "cond-new",
              "leftValue": "={{ $json.status }}",
              "rightValue": "new",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        }
      },
      "id": "filter-new",
      "name": "\u7b5b\u9009\u65b0\u7ebf\u7d22",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        660,
        0
      ]
    },
    {
      "parameters": {
        "fromEmail": "wangguigui@neuralbridge.cn",
        "toEmail": "={{ $json.to }}",
        "subject": "={{ $json.domain_label }}\u5206\u7c7b\u6f02\u79fb \u2014 \u4f60\u7684LLM failover\u53ef\u80fd\u5728\u9759\u9ed8\u51fa\u9519",
        "text": "={{ $json.company }} \u56e2\u961f\uff0c\n\n\u4e00\u4e2a\u88ab\u5ffd\u89c6\u7684\u95ee\u9898\uff1a\n\n\u5f53LLM Provider\u5b95\u673a\u6216\u964d\u7ea7\u65f6\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8failover\u5230\u5907\u7528\u6a21\u578b\u3002\n\u95ee\u9898\u662f\u2014\u2014{{ $json.domain_label }}\u7684\u8f93\u51fa\uff0c\u8fd8\u662f\u540c\u4e00\u4e2a\u5206\u7c7b\u5417\uff1f\n\n\u5b9e\u9645\u6848\u4f8b\uff1a\n{{ $json.drift_scenario }}\n\n\u8fd9\u4e0d\u662f\u7406\u8bba\u98ce\u9669\u3002\u6211\u4eec\u7684\u751f\u4ea7\u6570\u636e\uff08\u670850\u4e07+LLM\u8c03\u7528\u7684\u591a\u79df\u6237\u5e73\u53f0\uff09\u663e\u793a\uff1a\n- \u6a21\u578b\u964d\u7ea7\u65f6\uff0c23\u6b21\u9759\u9ed8\u8f93\u51fa\u7a81\u53d8\u88ab\u5408\u7ea6\u9a8c\u8bc1\u6355\u83b7\n- \u6ca1\u6709\u9a8c\u8bc1\u7684\u8bdd\uff0c\u8fd9\u4e9b\u7a81\u53d8\u4f1a\u76f4\u63a5\u7a7f\u900f\u6570\u636e\u7ba1\u9053\n\n{{ $json.metric_hook }}\n\nNeuralBridge \u7684\u505a\u6cd5\u4e0d\u540c\uff1a\n\u6211\u4eec\u4e0d\u5728failover\u540e\"\u5e0c\u671b\"\u8f93\u51fa\u4e00\u81f4\u2014\u2014\u6211\u4eec\u9a8c\u8bc1\u5b83\u3002\n\n\u4e09\u7ea7\u8bed\u4e49\u7b49\u4ef7\u9a8c\u8bc1\uff1a\n  L1 \u7ed3\u6784\u7b49\u4ef7 \u2014 JSON Schema\u5bf9\u9f50\uff0c\u4e0b\u6e38\u80fd\u89e3\u6790\n  L2 \u8bed\u4e49\u7b49\u4ef7 \u2014 \u5d4c\u5165\u7a7a\u95f4\u8ddd\u79bb\uff0c\u610f\u601d\u76f8\u540c\n  L3 \u884c\u4e3a\u7b49\u4ef7 \u2014 \u4e1a\u52a1\u6d41\u7a0b\u9a8c\u8bc1\uff0c\u66ff\u6362\u540e\u8d70\u901a\n\n\u4e0d\u80fd\u7b49\u4ef7\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e0d\u66ff\u6362\u3002\u4e0d\u66ff\u6362\u672c\u8eab\u5c31\u662f\u6b63\u786e\u6027\u3002\n\n\u5173\u952e\u6570\u5b57\uff08\u5168\u90e8\u5b9e\u6d4b\uff0c\u975ePPT\uff09\uff1a\n  61\u03bcs \u2014 MAPE-K\u5168\u94fe\u8def\u5f00\u9500\uff0c\u6bd4\u4e00\u6b21\u5185\u5b58\u5206\u914d\u8fd8\u5feb\n  -14.9% \u2014 SDK\u6bd4\u88f8HTTP\u66f4\u5feb\uff08\u667a\u80fd\u7f13\u5b58+\u63d0\u524d\u7ec8\u6b62\uff09\n  99.97% \u2014 \u751f\u4ea7\u53ef\u7528\u6027\uff08\u4ece87.6%\u63d0\u5347\uff09\n  4.2x \u2014 \u98de\u8f6e\u5b66\u4e60\uff0cN\u6b21\u6545\u969c\u6062\u590d\u52a0\u901f\n\n3\u884c\u4ee3\u7801\u63a5\u5165\uff0c1\u4e2a\u4f9d\u8d56(httpx)\uff0c\u5d4c\u5165\u5f0f\u67b6\u6784\u2014\u2014\u6570\u636e\u4e0d\u79bb\u5f00\u8fdb\u7a0b\u3002\n\npip install neuralbridge-sdk==4.4.2\n\n\u5982\u679c{{ $json.domain_label }}\u5206\u7c7b\u4e00\u81f4\u6027\u5bf9\u4f60\u4eec\u91cd\u8981\uff0c\u6211\u613f\u610f\u82b115\u5206\u949f\u505a\u4e00\u4e2a\u9488\u5bf9\u6027\u6f14\u793a\u3002\n\n\u5b98\u7f51\uff1ahttps://www.neuralbridge.cn\nGitHub\uff1ahttps://github.com/hhhfs9s7y9-code/neuralbridge\n\n\u738b\u8d35\u8d35\nNeuralBridge\nwangguigui@neuralbridge.cn",
        "options": {
          "overrideDefaults": true,
          "host": "smtphz.qiye.163.com",
          "port": 465,
          "secure": true,
          "user": "wangguigui@neuralbridge.cn",
          "password": "CHANGE_ME"
        }
      },
      "id": "send-email",
      "name": "\u53d1\u9001BD\u90ae\u4ef6",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        880,
        -100
      ]
    },
    {
      "parameters": {
        "jsCode": "const results = $input.all();\nconst sent = results.map(r => ({\n  to: r.json.to,\n  company: r.json.company,\n  domain_label: r.json.domain_label,\n  sent_at: new Date().toISOString(),\n  status: 'sent',\n  followup_needed: true\n}));\nreturn sent.map(s => ({ json: s }));"
      },
      "id": "record-sent",
      "name": "\u8bb0\u5f55\u53d1\u9001\u72b6\u6001",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1100,
        -100
      ]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "",
          "mode": "id"
        },
        "sheetName": "BD Outreach Tracker",
        "options": {}
      },
      "id": "google-sheets",
      "name": "\u5199\u5165Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1320,
        -100
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "fromEmail": "wangguigui@neuralbridge.cn",
        "toEmail": "wangguigui@neuralbridge.cn",
        "subject": "[NeuralBridge BD] \u53d1\u9001\u65e5\u62a5 {{ $now.format('yyyy-MM-dd') }}",
        "text": "\u4eca\u65e5BD\u90ae\u4ef6\u53d1\u9001\u62a5\u544a\uff1a\n\n\u603b\u53d1\u9001\uff1a{{ $items('record-sent').length }} \u5c01\n\n\u8be6\u7ec6\uff1a\n{{ $items('record-sent').map(item => `- ${item.json.company} (${item.json.to}) \u2192 ${item.json.status}`).join('\\n') }}\n\n\u5f85\u8ddf\u8fdb\uff1a{{ $items('record-sent').filter(item => item.json.followup_needed).length }} \u4e2a\n\n\u2014 NeuralBridge BD Automation",
        "options": {
          "overrideDefaults": true,
          "host": "smtphz.qiye.163.com",
          "port": 465,
          "secure": true,
          "user": "wangguigui@neuralbridge.cn",
          "password": "CHANGE_ME"
        }
      },
      "id": "daily-report",
      "name": "\u53d1\u9001\u65e5\u62a5\u7ed9\u81ea\u5df1",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        1540,
        -100
      ]
    },
    {
      "parameters": {
        "amount": 5,
        "unit": "seconds"
      },
      "id": "wait-between",
      "name": "\u95f4\u96945\u79d2\u9632\u9650\u6d41",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        880,
        100
      ]
    }
  ],
  "connections": {
    "\u6bcf\u5468\u4e00\u4e09\u4e94 9:00\u89e6\u53d1": {
      "main": [
        [
          {
            "node": "\u68c0\u67e5NeuralBridge\u670d\u52a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u68c0\u67e5NeuralBridge\u670d\u52a1": {
      "main": [
        [
          {
            "node": "BD\u76ee\u6807\u5217\u8868",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BD\u76ee\u6807\u5217\u8868": {
      "main": [
        [
          {
            "node": "\u7b5b\u9009\u65b0\u7ebf\u7d22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u7b5b\u9009\u65b0\u7ebf\u7d22": {
      "main": [
        [
          {
            "node": "\u53d1\u9001BD\u90ae\u4ef6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u53d1\u9001BD\u90ae\u4ef6": {
      "main": [
        [
          {
            "node": "\u8bb0\u5f55\u53d1\u9001\u72b6\u6001",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u8bb0\u5f55\u53d1\u9001\u72b6\u6001": {
      "main": [
        [
          {
            "node": "\u5199\u5165Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u5199\u5165Google Sheets": {
      "main": [
        [
          {
            "node": "\u53d1\u9001\u65e5\u62a5\u7ed9\u81ea\u5df1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    {
      "name": "BD Outreach"
    }
  ],
  "triggerCount": 1,
  "updatedAt": "2026-06-03T10:00:00.000Z",
  "versionId": "1"
}