简历PDF解析(多模态视觉AI)
中级
这是一个HR, AI领域的自动化工作流,包含 13 个节点。主要使用 If, EditImage, GoogleDrive, HttpRequest, ManualTrigger 等节点,结合人工智能技术实现智能自动化。 使用多模态视觉AI进行简历PDF解析
前置要求
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (13)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9"
},
"nodes": [
{
"id": "38da57b7-2161-415d-8473-783ccdc7b975",
"name": "当点击“测试工作流”时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-260,
840
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2cd46d91-105d-4b5e-be43-3343a9da815d",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-780,
540
],
"parameters": {
"width": 365.05232558139534,
"height": 401.24529475392126,
"content": "## 试试看!"
},
"typeVersion": 1
},
{
"id": "40bab53a-fcbc-4acc-8d59-c20b3e1b2697",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1200,
980
],
"parameters": {
"jsonSchemaExample": "{\n\t\"is_qualified\": true,\n\t\"reason\": \"\"\n}"
},
"typeVersion": 1.2
},
{
"id": "d75fb7ab-cfbc-419d-b803-deb9e99114ba",
"name": "是否进入第二阶段?",
"type": "n8n-nodes-base.if",
"position": [
1360,
820
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "4dd69ba3-bf07-43b3-86b7-d94b07e9eea6",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.output.is_qualified }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "a0f56270-67c2-4fab-b521-aa6f06b0b0fd",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
540
],
"parameters": {
"color": 7,
"width": 543.5706868577606,
"height": 563.6162790697684,
"content": "## 1. 下载候选人简历"
},
"typeVersion": 1
},
{
"id": "d21fe4dd-0879-4e5a-a70d-10f09b25eee2",
"name": "下载简历",
"type": "n8n-nodes-base.googleDrive",
"position": [
-80,
840
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "1MORAdeev6cMcTJBV2EYALAwll8gCDRav"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "yOwz41gMQclOadgu",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "ea904365-d9d2-4f15-b7c3-7abfeb4c8c50",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
540
],
"parameters": {
"color": 7,
"width": 605.0267171444024,
"height": 595.3148729042731,
"content": "## 2. 将PDF转换为图像"
},
"typeVersion": 1
},
{
"id": "cd00a47f-1ab9-46bf-8ea1-46ac899095e7",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
540
],
"parameters": {
"color": 7,
"width": 747.8139534883712,
"height": 603.1395348837208,
"content": "## 3. 使用多模态LLM解析简历"
},
"typeVersion": 1
},
{
"id": "d60214c6-c67e-4433-9121-4d54f782b19d",
"name": "PDF转图像API",
"type": "n8n-nodes-base.httpRequest",
"position": [
340,
880
],
"parameters": {
"url": "https://stirlingpdf.io/api/v1/convert/pdf/img",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "fileInput",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
},
{
"name": "imageFormat",
"value": "jpg"
},
{
"name": "singleOrMultiple",
"value": "single"
},
{
"name": "dpi",
"value": "300"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "847de537-ad8f-47f5-a1c1-d207c3fc15ef",
"name": "调整转换后图像尺寸",
"type": "n8n-nodes-base.editImage",
"position": [
530,
880
],
"parameters": {
"width": 75,
"height": 75,
"options": {},
"operation": "resize",
"resizeOption": "percent"
},
"typeVersion": 1
},
{
"id": "5fb6ac7e-b910-4dce-bba7-19b638fd817a",
"name": "Google Gemini聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1000,
980
],
"parameters": {
"options": {},
"modelName": "models/gemini-1.5-pro-latest"
},
"credentials": {
"googlePalmApi": {
"id": "dSxo6ns5wn658r8N",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "2580b583-544a-47ee-b248-9cca528c9866",
"name": "候选人简历分析器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1000,
820
],
"parameters": {
"text": "=Evaluate the candidate's resume.",
"messages": {
"messageValues": [
{
"message": "=Assess the given Candiate Resume for the role of Plumber.\nDetermine if the candidate's skills match the role and if they qualify for an in-person interview."
},
{
"type": "HumanMessagePromptTemplate",
"messageType": "imageBinary"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.4
},
{
"id": "694669c2-9cf5-43ec-8846-c0ecbc5a77ee",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
840
],
"parameters": {
"width": 225.51725256895617,
"height": 418.95152406706313,
"content": "### 数据隐私警告!"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Download Resume": {
"main": [
[
{
"node": "PDF-to-Image API",
"type": "main",
"index": 0
}
]
]
},
"PDF-to-Image API": {
"main": [
[
{
"node": "Resize Converted Image",
"type": "main",
"index": 0
}
]
]
},
"Resize Converted Image": {
"main": [
[
{
"node": "Candidate Resume Analyser",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Candidate Resume Analyser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Candidate Resume Analyser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Candidate Resume Analyser": {
"main": [
[
{
"node": "Should Proceed To Stage 2?",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Download Resume",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人力资源, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用AI视觉自动化图片验证任务
通过AI视觉技术自动化图片验证任务
Set
Split Out
Edit Image
+6
11 节点Jimleuk
产品
使用 n8n、Apify 和 OpenAI o3 自托管 AI 深度研究代理
使用 n8n、Apify 和 OpenAI o3 自托管 AI 深度研究代理
If
Set
Code
+20
87 节点Jimleuk
人工智能
使用AI和n8n表单处理职位申请提交
使用AI和n8n表单处理职位申请提交
Form
Airtable
Form Trigger
+7
23 节点Jimleuk
人力资源
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
使用AI汇总Slack频道活动生成周报
使用AI汇总Slack频道活动生成周报
If
Set
Code
+13
47 节点Jimleuk
其他
WordPress博客自动化专业版(SEO主题)v2
WordPress自动博客专业版 - SEO主题内容自动化机器
If
Set
Xml
+21
63 节点Daniel Ng
人工智能
工作流信息
难度等级
中级
节点数量13
分类2
节点类型9
作者
Jimleuk
@jimleukFreelance consultant based in the UK specialising in AI-powered automations. I work with select clients tackling their most challenging projects. For business enquiries, send me an email at hello@jimle.uk LinkedIn: https://www.linkedin.com/in/jimleuk/ X/Twitter: https://x.com/jimle_uk
外部链接
在 n8n.io 查看 →
分享此工作流