使用邓白氏数据块丰富Google表格
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 Set, Filter, HttpRequest, GoogleSheets, ManualTrigger 等节点。 使用邓白氏数据块丰富Google表格数据
前置要求
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "1c18aaa3-e056-4739-9fe1-90c8842eebc3",
"name": "当点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1296,
6848
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2723780-444a-454b-9619-14f3e4d97976",
"name": "便签55",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1360,
6432
],
"parameters": {
"color": 7,
"width": 1824,
"height": 1808,
"content": "### 使用 Dun & Bradstreet 数据块丰富 Google Sheets 中的 DUNS 行(Bearer Token → 获取 → 更新插入)"
},
"typeVersion": 1
},
{
"id": "d68788c4-a0aa-49f7-b4ad-8f01d9dc64c0",
"name": "便签 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1808,
6432
],
"parameters": {
"width": 400,
"height": 1792,
"content": "## 设置说明"
},
"typeVersion": 1
},
{
"id": "281b764f-8c47-4593-b1de-c71a9f32bd39",
"name": "便签61",
"type": "n8n-nodes-base.stickyNote",
"position": [
-944,
7296
],
"parameters": {
"color": 3,
"width": 352,
"height": 704,
"content": "### 📑 从 D&B 获取公司报告(PDF/JSON)"
},
"typeVersion": 1
},
{
"id": "5a5a82d6-a4d3-4719-80b0-c6897f7bef60",
"name": "便签63",
"type": "n8n-nodes-base.stickyNote",
"position": [
-464,
6640
],
"parameters": {
"color": 3,
"width": 368,
"height": 560,
"content": "### 🔑 设置 D&B 认证 HTTP Request 节点"
},
"typeVersion": 1
},
{
"id": "6ba9acfa-d68f-462d-aa09-03ca25195997",
"name": "获取公司",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1248,
7200
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1h0D5C1oJElBUsz9Dv4AllEUU5eIAR4ae4VTXH1XcwBM/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1h0D5C1oJElBUsz9Dv4AllEUU5eIAR4ae4VTXH1XcwBM",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1h0D5C1oJElBUsz9Dv4AllEUU5eIAR4ae4VTXH1XcwBM/edit?usp=drivesdk",
"cachedResultName": "Temp White Oak Companies"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "voFr7tCFLpy1XFnc",
"name": "Google Sheets account 4"
}
},
"typeVersion": 4.7
},
{
"id": "85fec4ba-5945-4271-a521-6dadfb41c850",
"name": "仅新行",
"type": "n8n-nodes-base.filter",
"position": [
-1232,
7776
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "96912772-2442-4ca0-a546-653a014cabed",
"operator": {
"type": "string",
"operation": "empty",
"singleValue": true
},
"leftValue": "={{ $json.Complete }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "2071d117-207e-44db-9156-5dd0459ea372",
"name": "D&B 信息",
"type": "n8n-nodes-base.httpRequest",
"position": [
-816,
7856
],
"parameters": {
"url": "=https://plus.dnb.com/v1/data/duns/{{ $json.duns }}?blockIDs=paymentinsight_L4_v1&tradeUp=hq&customerReference=customer%20reference%20text&orderReason=6332 ",
"options": {},
"authentication": "headerAuth",
"headerParametersUi": {
"parameter": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {},
"typeVersion": 1
},
{
"id": "894623ee-e36b-49ce-8ee4-f73d94f55ac0",
"name": "保留分数",
"type": "n8n-nodes-base.set",
"position": [
-352,
7696
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1f789f32-f98e-47a0-9402-8a61ccf5fd78",
"name": "Paydex",
"type": "number",
"value": "={{ $json.organization.businessTrading[0].summary[0].paydexScoreHistory[0].paydexScore }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "8300bc14-9714-4b3d-af51-b416e4e8c7bc",
"name": "追加到 Google 表格",
"type": "n8n-nodes-base.googleSheets",
"position": [
176,
7840
],
"parameters": {
"columns": {
"value": {
"duns": "={{ $('Get Companies').item.json.duns }}",
"paydex": "={{ $json.Paydex }}",
"Complete": "Yes"
},
"schema": [
{
"id": "Company",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Company",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "duns",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "duns",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "paydex",
"type": "string",
"display": true,
"required": false,
"displayName": "paydex",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Complete",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Complete",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"duns"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1h0D5C1oJElBUsz9Dv4AllEUU5eIAR4ae4VTXH1XcwBM/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1wlzNuN16KfD72owWceXmTvVulGBplMBv3c1DlsSayHI",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1wlzNuN16KfD72owWceXmTvVulGBplMBv3c1DlsSayHI/edit?usp=drivesdk",
"cachedResultName": "d&b Companies"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "HlBW2puZbuCCq8jJ",
"name": "Google Sheets account 3"
}
},
"typeVersion": 4.7
},
{
"id": "8576657b-7488-425a-a68a-65b68b2b2d7d",
"name": "便签64",
"type": "n8n-nodes-base.stickyNote",
"position": [
128,
7216
],
"parameters": {
"color": 3,
"width": 224,
"height": 752,
"content": "### 3) 连接 Google Sheets (OAuth2)"
},
"typeVersion": 1
},
{
"id": "c1670672-3ce0-4f73-b4db-58beeb988e18",
"name": "获取令牌1",
"type": "n8n-nodes-base.httpRequest",
"position": [
-320,
7088
],
"parameters": {
"url": "https://plus.dnb.com/v3/token",
"options": {},
"requestMethod": "POST",
"authentication": "basicAuth",
"bodyParametersUi": {
"parameter": [
{
"name": "grant_type",
"value": "client_credentials"
}
]
},
"headerParametersUi": {
"parameter": [
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
]
}
},
"credentials": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"D&B Info": {
"main": [
[
{
"node": "Keep Score",
"type": "main",
"index": 0
}
]
]
},
"Keep Score": {
"main": [
[
{
"node": "Append to g-sheets",
"type": "main",
"index": 0
}
]
]
},
"Get Companies": {
"main": [
[
{
"node": "Only New Rows",
"type": "main",
"index": 0
}
]
]
},
"Only New Rows": {
"main": [
[
{
"node": "D&B Info",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get Companies",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
播客笔记记录器
使用GPT和Gemini结合性能数据创建高转化率Meta广告脚本
Set
Google Sheets
Manual Trigger
+4
12 节点Robert Breen
内容创作
每日广告支出监控:Google表格和Slack阈值提醒
使用Google表格和Slack阈值提醒的每日广告支出监控
If
Set
Code
+7
13 节点Robert Breen
内容创作
使用 Freepik、Google Sheets 和 Drive 批量生成 AI 图像
使用 Freepik、Google Sheets 和 Drive 批量生成 AI 图像
Code
Split Out
Google Drive
+6
11 节点Robert Breen
内容创作
使用 Apify + GPT-4o-mini 从标签分析生成 Instagram 标题
使用 Apify + GPT-4o-mini 从标签分析生成 Instagram 标题
Set
Code
Merge
+8
17 节点Robert Breen
内容创作
AI生成LinkedIn帖子含人工审批
使用GPT-4、GoToHuman和Blotato的AI生成LinkedIn帖子含人工审批
Code
Merge
Filter
+10
19 节点Robert Breen
社交媒体
Google Maps 数据提取
使用Perplexity AI和邮箱验证自动化Google Maps潜在客户生成
If
Set
Code
+8
18 节点Antxon Pous
内容创作
工作流信息
难度等级
中级
节点数量12
分类2
节点类型6
作者
Robert Breen
@rbreenProfessional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.
外部链接
在 n8n.io 查看 →
分享此工作流