Page2Image:将 PDF 转换为 PNG 工作流(支持多页)
高级
这是一个Building Blocks, IT Ops领域的自动化工作流,包含 25 个节点。主要使用 Set, Html, Limit, Merge, SplitOut 等节点。 使用PDF.co API将PDF转换为PNG(支持多页)
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (25)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "59YfV0tNnKG7OHDN",
"meta": {
"instanceId": "a9f3b18652ddc96459b459de4fa8fa33252fb820a9e5a1593074f3580352864a",
"templateCredsSetupCompleted": true
},
"name": "Page2Image: Convert PDF to PNG Workflow (Multi-Page Support)",
"tags": [],
"nodes": [
{
"id": "957ca7aa-d8db-4685-8e43-c20ac64f4435",
"name": "Pass through binary",
"type": "n8n-nodes-base.set",
"position": [
880,
340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "1a7ce4da-1335-4fa3-9c85-4408ce385c1b",
"name": "Get Presigned Upload URL (PDF.co)",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "8a3d12d3-af7e-4e86-8790-2419086b3583",
"name": "Combine binary and json data",
"type": "n8n-nodes-base.merge",
"position": [
1080,
460
],
"parameters": {},
"typeVersion": 3
},
{
"id": "03711958-11ec-4d92-b4fe-9ac57ba341c8",
"name": "Upload PDF to Presigned URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "54776fcc-ab13-49ef-96db-69cc7fdff0e0",
"name": "Strip binary data",
"type": "n8n-nodes-base.set",
"position": [
1280,
340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9e866bed-a711-4e59-b57c-fae582e0c8ef",
"name": "Combine data",
"type": "n8n-nodes-base.merge",
"position": [
1480,
460
],
"parameters": {},
"typeVersion": 3
},
{
"id": "78ba97cb-ac34-456c-9234-50922301787e",
"name": "Convert PDF to PNG (PDF.co)",
"type": "n8n-nodes-base.httpRequest",
"position": [
2300,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "2f9e9568-a73e-40df-b9f8-89b23550b9b3",
"name": "Download PNG from PDF.co",
"type": "n8n-nodes-base.httpRequest",
"position": [
2540,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "61f124ac-c34c-43d3-b517-78e97afb5beb",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-340,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f71f46dc-4b85-43f1-96de-c660cbd27a35",
"name": "Split multipage PDF files",
"type": "n8n-nodes-base.httpRequest",
"position": [
1700,
460
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "197f2385-a74b-40d5-8064-bf3f95b0a3f0",
"name": "Compress into zip file",
"type": "n8n-nodes-base.compression",
"position": [
2100,
360
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "68b14a2d-22b6-4652-bf47-da944f66d212",
"name": "Combine binaries",
"type": "n8n-nodes-base.aggregate",
"position": [
2760,
580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "194c9b65-a729-4cb9-89f5-411ac72c6b13",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
120
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9a33039c-e3a8-4eef-874a-5ef724195b26",
"name": "GET example PDF files",
"type": "n8n-nodes-base.httpRequest",
"position": [
-140,
480
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "183a90a2-9f68-47de-ad2a-47f31dcd1a7c",
"name": "Extract PDF links",
"type": "n8n-nodes-base.html",
"position": [
60,
480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a0753106-6a64-4b14-8086-bed9db731670",
"name": "Split links into items",
"type": "n8n-nodes-base.splitOut",
"position": [
260,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "afad6a91-312a-4b5d-9452-94855ed0e369",
"name": "Use two relevant PDF examples",
"type": "n8n-nodes-base.limit",
"position": [
460,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8f4f43e1-4dd8-4f40-b498-6b20a7eff155",
"name": "Download example PDF Files",
"type": "n8n-nodes-base.httpRequest",
"position": [
660,
480
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "739002d5-8cf6-4db6-9056-10616d570b79",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e7ae005f-9c78-48c7-83cf-2f85d0b75df6",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "501a498a-d8e3-4e79-8124-05735ac161af",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1860,
780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b048391c-3394-4e07-a600-03b0b5a8d290",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
120,
780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f4b5d608-94ea-4dc8-b884-b12da1fe3491",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
700,
-40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "766ce5ca-e0bc-442b-b1b5-ada4fe3e9d08",
"name": "Split out urls",
"type": "n8n-nodes-base.splitOut",
"position": [
2100,
580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6a7a0dfd-71bd-4047-a48a-3bbab131e175",
"name": "Loop over pdf files",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1920,
460
],
"parameters": {},
"typeVersion": 3
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "822977c6-1c42-4db5-832e-fa39ba3d3571",
"connections": {
"9e866bed-a711-4e59-b57c-fae582e0c8ef": {
"main": [
[
{
"node": "f71f46dc-4b85-43f1-96de-c660cbd27a35",
"type": "main",
"index": 0
}
]
]
},
"766ce5ca-e0bc-442b-b1b5-ada4fe3e9d08": {
"main": [
[
{
"node": "78ba97cb-ac34-456c-9234-50922301787e",
"type": "main",
"index": 0
}
]
]
},
"68b14a2d-22b6-4652-bf47-da944f66d212": {
"main": [
[
{
"node": "6a7a0dfd-71bd-4047-a48a-3bbab131e175",
"type": "main",
"index": 0
}
]
]
},
"183a90a2-9f68-47de-ad2a-47f31dcd1a7c": {
"main": [
[
{
"node": "a0753106-6a64-4b14-8086-bed9db731670",
"type": "main",
"index": 0
}
]
]
},
"54776fcc-ab13-49ef-96db-69cc7fdff0e0": {
"main": [
[
{
"node": "9e866bed-a711-4e59-b57c-fae582e0c8ef",
"type": "main",
"index": 0
}
]
]
},
"6a7a0dfd-71bd-4047-a48a-3bbab131e175": {
"main": [
[
{
"node": "197f2385-a74b-40d5-8064-bf3f95b0a3f0",
"type": "main",
"index": 0
}
],
[
{
"node": "766ce5ca-e0bc-442b-b1b5-ada4fe3e9d08",
"type": "main",
"index": 0
}
]
]
},
"957ca7aa-d8db-4685-8e43-c20ac64f4435": {
"main": [
[
{
"node": "8a3d12d3-af7e-4e86-8790-2419086b3583",
"type": "main",
"index": 0
}
]
]
},
"9a33039c-e3a8-4eef-874a-5ef724195b26": {
"main": [
[
{
"node": "183a90a2-9f68-47de-ad2a-47f31dcd1a7c",
"type": "main",
"index": 0
}
]
]
},
"a0753106-6a64-4b14-8086-bed9db731670": {
"main": [
[
{
"node": "afad6a91-312a-4b5d-9452-94855ed0e369",
"type": "main",
"index": 0
}
]
]
},
"2f9e9568-a73e-40df-b9f8-89b23550b9b3": {
"main": [
[
{
"node": "68b14a2d-22b6-4652-bf47-da944f66d212",
"type": "main",
"index": 0
}
]
]
},
"f71f46dc-4b85-43f1-96de-c660cbd27a35": {
"main": [
[
{
"node": "6a7a0dfd-71bd-4047-a48a-3bbab131e175",
"type": "main",
"index": 0
}
]
]
},
"8f4f43e1-4dd8-4f40-b498-6b20a7eff155": {
"main": [
[
{
"node": "957ca7aa-d8db-4685-8e43-c20ac64f4435",
"type": "main",
"index": 0
},
{
"node": "1a7ce4da-1335-4fa3-9c85-4408ce385c1b",
"type": "main",
"index": 0
}
]
]
},
"78ba97cb-ac34-456c-9234-50922301787e": {
"main": [
[
{
"node": "2f9e9568-a73e-40df-b9f8-89b23550b9b3",
"type": "main",
"index": 0
}
]
]
},
"03711958-11ec-4d92-b4fe-9ac57ba341c8": {
"main": [
[
{
"node": "9e866bed-a711-4e59-b57c-fae582e0c8ef",
"type": "main",
"index": 1
}
]
]
},
"8a3d12d3-af7e-4e86-8790-2419086b3583": {
"main": [
[
{
"node": "03711958-11ec-4d92-b4fe-9ac57ba341c8",
"type": "main",
"index": 0
},
{
"node": "54776fcc-ab13-49ef-96db-69cc7fdff0e0",
"type": "main",
"index": 0
}
]
]
},
"afad6a91-312a-4b5d-9452-94855ed0e369": {
"main": [
[
{
"node": "8f4f43e1-4dd8-4f40-b498-6b20a7eff155",
"type": "main",
"index": 0
}
]
]
},
"1a7ce4da-1335-4fa3-9c85-4408ce385c1b": {
"main": [
[
{
"node": "8a3d12d3-af7e-4e86-8790-2419086b3583",
"type": "main",
"index": 1
}
]
]
},
"61f124ac-c34c-43d3-b517-78e97afb5beb": {
"main": [
[
{
"node": "9a33039c-e3a8-4eef-874a-5ef724195b26",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 构建模块, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+
If
Ftp
Set
113 节点I versus AI
其他
↔️ Airtable批量处理
Airtable批量更新/插入行(发送更快+节省API调用请求)
If
Set
Code
+
If
Set
Code
35 节点Simon Mayerhofer
IT 运维
使用GPT-5 Mini、Jira和表单界面自动化敏捷项目设置
使用GPT-5 Mini、Jira和表单界面自动化敏捷项目设置
Set
Jira
Gmail
+
Set
Jira
Gmail
42 节点Billy Christi
多模态 AI
使用AI自动化品牌风格博客创建
使用AI自动化品牌风格博客创建
Set
Html
Limit
+
Set
Html
Limit
27 节点Jimleuk
人工智能
使用 Mistral AI、LinkedIn 和 Google Sheets
使用 Mistral AI、LinkedIn 和 Google Sheets 自动化职位搜索与简历定制
Set
Code
Html
+
Set
Code
Html
46 节点Jordan Hoyle
个人效率
Google Search Console和Analytics分析与AI优化
Google Search Console和Analytics数据分析与AI优化
Set
Xml
Html
+
Set
Xml
Html
29 节点Łukasz
人工智能
工作流信息
难度等级
高级
节点数量25
分类2
节点类型11
作者
Ludwig
@ludwigIf you have any questions about any of the templates I've built, please reach out to me on LinkedIn (https://www.linkedin.com/in/ludwiggerdes) or via my website down below. 👇
外部链接
在 n8n.io 查看 →
分享此工作流