自动化PDF表单填写,用于W-9等,使用PDF.co
中级
这是一个Document Extraction, Multimodal AI领域的自动化工作流,包含 6 个节点。主要使用 Set, PDFco Api, ManualTrigger 等节点。 自动化PDF表单填写,用于W-9等,使用PDF.co
前置要求
- •无特殊前置要求,导入即可使用
使用的节点 (6)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "ab1b7d2d-7eac-45eb-9e0a-36f14c56df14",
"name": "When clicking ‘Execute workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-704,
3520
],
"parameters": {},
"typeVersion": 1
},
{
"id": "80a9bda5-1301-45b3-b58a-0245035500d3",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1376,
2864
],
"parameters": {
"width": 400,
"height": 1056,
"content": "\n## ⚙️ Setup Instructions\n\n### 1️⃣ Prepare Your Data\n- Add a **Set** node in n8n with fields such as:\n - `Name`\n - `Business`\n - `Address`\n - `CityState` \n- These fields will map directly to form fields in the PDF.\n\n---\n\n### 2️⃣ Connect PDF.co\n1. Create a free account at [PDF.co](https://pdf.co/) \n2. Copy your **API Key** from the dashboard \n3. In **n8n → Credentials → New → PDF.co API** \n - Paste your API Key → **Save** \n4. In the **PDF.co node**, select your credential and use the **Fill a PDF Form** operation \n\n\n\n## 📬 Contact\nNeed help customizing this for contracts, invoices, or HR forms? \n\n- 📧 **robert@ynteractive.com** \n- 🔗 **[Robert Breen](https://www.linkedin.com/in/robert-breen-29429625/)** \n- 🌐 **[ynteractive.com](https://ynteractive.com)**\n"
},
"typeVersion": 1
},
{
"id": "32f206af-66d5-48df-ac6a-0b590afa6864",
"name": "Sticky Note56",
"type": "n8n-nodes-base.stickyNote",
"position": [
-928,
2864
],
"parameters": {
"color": 7,
"width": 1360,
"height": 1056,
"content": "# 📝 Auto-Fill PDF Forms (W-9 Example)\n\nThis workflow demonstrates how to take structured data (e.g., Name, Business, Address) and automatically fill a PDF form (IRS W-9) using **PDF.co** inside **n8n**. \nIt can be adapted for contracts, invoices, or any standardized PDF forms.\n\n"
},
"typeVersion": 1
},
{
"id": "27694236-37b3-49ee-9aa0-222e2cd92558",
"name": "W9 Data",
"type": "n8n-nodes-base.set",
"position": [
-464,
3520
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "42962861-eb1b-491f-ac74-c35b240dd5e6",
"name": "Name",
"type": "string",
"value": "Jim"
},
{
"id": "ca52307b-b7b0-41d5-9ac2-0048fe73f65f",
"name": "Business",
"type": "string",
"value": "Bobs Appliances"
},
{
"id": "0bf4b185-eb2e-4deb-ab81-23665d0f80a6",
"name": "Address",
"type": "string",
"value": "general ave"
},
{
"id": "f50ab353-57fc-4d30-babd-c3defa4f38a5",
"name": "CityState",
"type": "string",
"value": "Atlanta GA"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "9f603647-99ca-46be-974a-61b3b477c325",
"name": "Fill in PDF Form",
"type": "n8n-nodes-pdfco.PDFco Api",
"position": [
-32,
3456
],
"parameters": {
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"fields": {
"metadataValues": [
{
"text": "={{ $json.Name }}",
"fieldName": "topmostSubform[0].Page1[0].f1_01[0]"
},
{
"text": "={{ $json.Business }}",
"fieldName": "topmostSubform[0].Page1[0].f1_02[0]"
},
{
"text": "={{ $json.Address }}",
"fieldName": "topmostSubform[0].Page1[0].Address_ReadOrder[0].f1_07[0]"
},
{
"text": "={{ $json.CityState }}",
"fieldName": "topmostSubform[0].Page1[0].Address_ReadOrder[0].f1_08[0]"
}
]
},
"operation": "Fill a PDF Form",
"advancedOptions": {}
},
"credentials": {
"pdfcoApi": {
"id": "wGorcCULfsY1va25",
"name": "PDF.co account"
}
},
"typeVersion": 1
},
{
"id": "09f32826-5dc4-4d43-b2a3-c6f28e5e3610",
"name": "Sticky Note63",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
3152
],
"parameters": {
"color": 3,
"width": 224,
"height": 464,
"content": "### 2️⃣ Connect PDF.co\n1. Create a free account at [PDF.co](https://pdf.co/) \n2. Copy your **API Key** from the dashboard \n3. In **n8n → Credentials → New → PDF.co API** \n - Paste your API Key → **Save** \n4. In the **PDF.co node**, select your credential and use the **Fill a PDF Form** operation "
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"27694236-37b3-49ee-9aa0-222e2cd92558": {
"main": [
[
{
"node": "9f603647-99ca-46be-974a-61b3b477c325",
"type": "main",
"index": 0
}
]
]
},
"ab1b7d2d-7eac-45eb-9e0a-36f14c56df14": {
"main": [
[
{
"node": "27694236-37b3-49ee-9aa0-222e2cd92558",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 文档提取, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用GPT和Gemini结合性能数据创建高转化率Meta广告脚本
使用GPT和Gemini结合性能数据创建高转化率Meta广告脚本
Set
Code
Merge
+
Set
Code
Merge
24 节点Robert Breen
文档提取
使用GPT-4洞察和PDF.co从Google Sheets生成营销报告
使用GPT-4洞察和PDF.co从Google Sheets生成营销报告
Code
Merge
Aggregate
+
Code
Merge
Aggregate
15 节点Robert Breen
文档提取
Google Drive发票数据提取到Sheets
使用PDF.co AI解析器从Google Drive中提取发票数据到Sheets
Set
P D Fco Api
Google Drive
+
Set
P D Fco Api
Google Drive
12 节点Robert Breen
AI 摘要总结
在Google Sheets中使用自定义透视表和VLOOKUP聚合营销支出数据
在Google Sheets中使用自定义透视表和VLOOKUP聚合营销支出数据
Merge
Summarize
Google Sheets
+
Merge
Summarize
Google Sheets
10 节点Robert Breen
文档提取
自动化营销绩效邮件报告
使用 Google Sheets 和 Outlook 自动生成营销绩效邮件报告
Merge
Summarize
Google Sheets
+
Merge
Summarize
Google Sheets
13 节点Robert Breen
文档提取
通过合并数据集使用Google Drive和Sheets创建多工作表Excel工
通过合并数据集使用Google Drive和Sheets创建多工作表Excel工作簿
Code
Merge
Google Drive
+
Code
Merge
Google Drive
12 节点Robert Breen
文档提取
工作流信息
难度等级
中级
节点数量6
分类2
节点类型4
作者
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 查看 →
分享此工作流