响应PDFMonkey回调
初级
这是一个Other领域的自动化工作流,包含 4 个节点。主要使用 If、Webhook、HttpRequest 等节点。 使用PDFMonkey自动化PDF生成后的操作
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •可能需要目标 API 的认证凭证
使用的节点 (4 个)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "s6nTFZfg6xjWyJRX",
"meta": {
"instanceId": "4b761cc6ed5ba54435cd56551f1d8f4e82e89d5a18fc96f22d0649b94ad18c78",
"templateCredsSetupCompleted": true
},
"name": "响应PDFMonkey回调",
"tags": [],
"nodes": [
{
"id": "bca61663-2317-4f5a-8117-e417ab9ffcb1",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-380
],
"parameters": {
"width": 860,
"height": 500,
"content": "# 响应PDFMonkey回调"
},
"typeVersion": 1
},
{
"id": "31ef2b09-e36f-4a9d-8eef-724211d7e2d4",
"name": "PDFMonkey生成过程结束时",
"type": "n8n-nodes-base.webhook",
"position": [
-140,
160
],
"webhookId": "ed9c1bf7-efdd-4d17-8c28-e74c22d017ce",
"parameters": {
"path": "ed9c1bf7-efdd-4d17-8c28-e74c22d017ce",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
},
{
"id": "08cfde4f-637b-4cf4-a2c2-92e4e15ad6cc",
"name": "检查生成是否成功",
"type": "n8n-nodes-base.if",
"position": [
120,
160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "68eaaea7-d94b-40fd-819f-331261843c67",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.body.document.status }}",
"rightValue": "success"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "051ec2f5-e96e-41dd-a753-db70cd1a1729",
"name": "成功时:下载PDF文件",
"type": "n8n-nodes-base.httpRequest",
"position": [
520,
140
],
"parameters": {
"url": "={{ $json.body.document.download_url }}",
"options": {}
},
"typeVersion": 4.2
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "any",
"executionOrder": "v1"
},
"versionId": "56e711af-d87a-4822-9b49-bf7bebd373df",
"connections": {
"On success: download the PDF file": {
"main": [
[]
]
},
"Check if generation was successful": {
"main": [
[
{
"node": "On success: download the PDF file",
"type": "main",
"index": 0
}
]
]
},
"On PDFMonkey generation process end": {
"main": [
[
{
"node": "Check if generation was successful",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个初级难度的工作流,适用于Other等场景。适合 n8n 新手,包含 1-5 个节点的简单工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Radarr 通知
为 Radarr、Sonarr、Bazarr 等提供自定义 Discord 通知
If
Set
Code
+8
28 节点Pawel
Other
测验 - 学习
使用 GPT-4o-mini 和 Supabase 存储创建 AI 驱动的 WhatsApp 测验机器人
If
Merge
Webhook
+6
15 节点Danielle Gomes
Other
🌍 AI WhatsApp翻译器 + 语音转录器与HubSpot集成
基于OpenAI Whisper和GPT-4的多语言WhatsApp翻译器,集成HubSpot
If
N8n
Set
+18
107 节点Amanda Benks
Other
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
Other
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
Other
MiniBear Webhook
使用GPT的LINE消息处理:保存笔记、名片数据和任务
If
Switch
Webhook
+8
45 节点lin@davoy.tech
Other