使用 RapidAPI 从 Indeed、LinkedIn 等平台抓取职位并保存到 Google Sheets
中级
这是一个Market Research, Miscellaneous, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Code, FormTrigger, HttpRequest, GoogleSheets 等节点。 使用 RapidAPI 从 Indeed、LinkedIn 等平台抓取职位并保存到 Google Sheets
前置要求
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "6f007549-c9e9-445a-ac4b-bc86ae037257",
"name": "重新格式化",
"type": "n8n-nodes-base.code",
"position": [
500,
0
],
"parameters": {
"jsCode": "return $input.first().json.jobs;"
},
"typeVersion": 2
},
{
"id": "fcf6b6ef-d3db-4142-9479-eb74c8f35ac2",
"name": "在 Google Sheets 中追加",
"type": "n8n-nodes-base.googleSheets",
"position": [
760,
0
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "success",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "success",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "courses",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "courses",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "totalItems",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "totalItems",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "currentPage",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "currentPage",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "totalPages",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "totalPages",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": "Course "
},
"authentication": "serviceAccount"
},
"credentials": {
"googleApi": {
"id": "Rt0RWApx8PL9t0RF",
"name": "Google Docs account"
}
},
"typeVersion": 4.6
},
{
"id": "2b02f1cf-7936-45f1-902d-2b3cc8329b1f",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "90f0e1cc-40bb-4d9e-8e3d-e5ff47ab8010",
"parameters": {
"options": {},
"formTitle": "Active Job Scraper ",
"formFields": {
"values": [
{
"fieldLabel": "Location",
"requiredField": true
},
{
"fieldLabel": "search term",
"requiredField": true
},
{
"fieldLabel": "job type",
"requiredField": true
},
{
"fieldType": "dropdown",
"fieldLabel": "is remote",
"fieldOptions": {
"values": [
{
"option": "true"
},
{
"option": "false"
}
]
},
"requiredField": true
},
{
"fieldType": "number",
"fieldLabel": "Result",
"placeholder": "10",
"requiredField": true
}
]
},
"formDescription": "Active Job Scraper "
},
"typeVersion": 2.2
},
{
"id": "16f5e9f9-46ba-48e4-a5e1-31199ee86e9f",
"name": "抓取活跃职位",
"type": "n8n-nodes-base.httpRequest",
"position": [
260,
0
],
"parameters": {
"url": "https://jobs-search-realtime-data.p.rapidapi.com/getjobs",
"method": "POST",
"options": {},
"jsonBody": "={\n \"location\": \"{{ $json['Location'] }}\",\n \"search_term\": \"{{ $json['search term'] }}\",\n \"results_wanted\": {{ $json.Result }},\n \"site_name\": [\n \"indeed\",\n \"linkedin\",\n \"zip_recruiter\",\n \"glassdoor\"\n ],\n \"distance\": 50,\n \"job_type\": \"{{ $json['job type'] }}\",\n \"is_remote\": {{ $json['is remote'] }},\n \"linkedin_fetch_description\": true,\n \"hours_old\": 24\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "x-rapidapi-host",
"value": "jobs-search-realtime-data.p.rapidapi.com"
},
{
"name": "x-rapidapi-key",
"value": "your key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "3b3b7619-760c-458d-8bc1-a8ed7656b154",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1040,
-360
],
"parameters": {
"width": 880,
"height": 760,
"content": "# 活跃职位抓取工作流"
},
"typeVersion": 1
},
{
"id": "6c7a849a-d8c6-4308-94a0-61a6a8fca4df",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-120
],
"parameters": {
"height": 280,
"content": "Gather user inputs including location, job type, remote status, etc."
},
"typeVersion": 1
},
{
"id": "0b446c9e-0637-47c3-a325-1dc1b0bbb57e",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-120
],
"parameters": {
"height": 280,
"content": "Query RapidAPI’s **Jobs Search Realtime Data API** for jobs on **Indeed**, **LinkedIn**, **ZipRecruiter**, and **Glassdoor**."
},
"typeVersion": 1
},
{
"id": "31401bd3-c135-488f-9b33-adfabf152f66",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
-120
],
"parameters": {
"height": 280,
"content": "Extract and reshape the jobs array from the API response. "
},
"typeVersion": 1
},
{
"id": "c76951a2-a734-41c5-8c2b-035ff2876d85",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-120
],
"parameters": {
"height": 280,
"content": "Append the scraped job listings to your Google Sheets document."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Re Format": {
"main": [
[
{
"node": "Append In Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Scarp Active Jobs": {
"main": [
[
{
"node": "Re Format",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Scarp Active Jobs",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 市场调研, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
批量检查域名权威指标并记录到Google表格
使用RapidAPI批量检查域名权威指标并记录到Google表格
Code
Form Trigger
Http Request
+2
9 节点Sk developer
市场调研
使用顶级反向链接检查器API分析网站反向链接并记录到Google Sheets
使用顶级反向链接检查器API分析网站反向链接并记录到Google Sheets
Code
Form Trigger
Http Request
+2
13 节点Sk developer
市场调研
使用RapidAPI和Google Sheets自动化SEO关键词分析
使用RapidAPI和Google Sheets自动化SEO关键词分析
Code
Form Trigger
Http Request
+2
9 节点Sk developer
市场调研
使用Semrush API和Google Sheets进行SEO竞争对手分析与数据记录
使用Semrush API和Google Sheets进行SEO竞争对手分析与数据记录
Code
Form Trigger
Http Request
+2
21 节点Sk developer
市场调研
追踪网站 SEO 指标
使用 Moz API 和 Google Sheets 集成追踪网站 SEO 指标
If
Code
Form Trigger
+3
11 节点Sk developer
市场调研
追踪网站流量
使用 Semrush API 追踪网站流量,并将结果记录至 Google Sheets
Code
Form Trigger
Http Request
+2
9 节点Sk developer
市场调研