Upwork职位自动提醒
中级
这是一个Other领域的自动化工作流,包含 9 个节点。主要使用 If, Set, Merge, Slack, MongoDb 等节点。 使用MongoDB和Slack自动发送Upwork职位提醒
前置要求
- •Slack Bot Token 或 Webhook URL
- •MongoDB 连接字符串
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "2f9460831fcdb0e9a4494f0630367cfe2968282072e2d27c6ee6ab0a4c165a36",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "140f236c-8946-4ca8-b18f-0af99107b15c",
"name": "分配参数",
"type": "n8n-nodes-base.set",
"position": [
300,
80
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b836ba12-262a-4fed-a31d-9e2f6514137a",
"name": "startUrls",
"type": "array",
"value": "=[\n {\n \"url\": \"https://www.upwork.com/nx/search/jobs/?nbs=1&q=python\",\n \"method\": \"GET\"\n },\n{\n \"url\": \"https://www.upwork.com/nx/search/jobs/?nbs=1&q=java\",\n \"method\": \"GET\"\n }\n ]"
},
{
"id": "5f7ba5cc-a8fc-4f67-9feb-6243d08462f9",
"name": "proxyCountryCode",
"type": "string",
"value": "FR"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d1863b34-d35f-477c-bb94-8a77ff08b51d",
"name": "查询Upwork职位发布",
"type": "n8n-nodes-base.httpRequest",
"position": [
520,
80
],
"parameters": {
"url": "=https://api.apify.com/v2/acts/arlusm~upwork-scraper-with-fresh-job-posts/run-sync-get-dataset-items",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "startUrls",
"value": "={{ $json.startUrls }}"
},
{
"name": "proxyCountryCode",
"value": "={{ $json.proxyCountryCode }}"
}
]
},
"genericAuthType": "httpQueryAuth"
},
"credentials": {
"httpQueryAuth": {
"id": "WajVMGJs8zYL5VdP",
"name": "Query Auth account"
}
},
"typeVersion": 4.2
},
{
"id": "a923af43-f417-470c-af97-2a50dc0c0d79",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-100,
80
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "26322972-4ecd-4f8e-a1fc-81607a911c22",
"name": "如果在工作时间内",
"type": "n8n-nodes-base.if",
"position": [
80,
80
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "795a6d51-0ea0-4493-bc1e-a1807a2cbd77",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $json.Hour }}",
"rightValue": 2
},
{
"id": "f9ba101d-226d-4d6a-aab8-62229762a046",
"operator": {
"type": "number",
"operation": "lt"
},
"leftValue": "={{ $json.Hour }}",
"rightValue": 15
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "d68cb363-df1f-4601-b194-c1dc044b0c6a",
"name": "查找现有条目",
"type": "n8n-nodes-base.mongoDb",
"position": [
720,
-40
],
"parameters": {
"query": "={\n \"title\": \"{{ $json.title }}\",\n \"budget\": \"{{ $json.budget }}\"\n}\n",
"options": {},
"collection": "n8n"
},
"credentials": {
"mongoDb": {
"id": "aXU1Q0utjxwEpfEk",
"name": "MongoDB account"
}
},
"typeVersion": 1.1,
"alwaysOutputData": false
},
{
"id": "82a6a26a-9fd5-4ce5-986f-e0aeb0c43fcc",
"name": "输出新条目",
"type": "n8n-nodes-base.merge",
"position": [
940,
80
],
"parameters": {
"mode": "combine",
"options": {},
"joinMode": "keepNonMatches",
"fieldsToMatchString": "title, budget"
},
"typeVersion": 3
},
{
"id": "361603e9-d173-42e2-a170-de08725ffd24",
"name": "将新条目添加到MongoDB",
"type": "n8n-nodes-base.mongoDb",
"position": [
1160,
-40
],
"parameters": {
"fields": "title,link,paymentType,budget,projectLength,shortBio,skills,publishedDate,normalizedDate,searchUrl",
"options": {},
"operation": "insert",
"collection": "n8n"
},
"credentials": {
"mongoDb": {
"id": "aXU1Q0utjxwEpfEk",
"name": "MongoDB account"
}
},
"typeVersion": 1.1
},
{
"id": "e13787c6-f3e5-4bad-afcc-b1c3387a866c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
-240
],
"parameters": {
"height": 260,
"content": "## 设置"
},
"typeVersion": 1
},
{
"id": "bc83acf0-b28b-48ff-bcb1-695404f30282",
"name": "在#general频道发送消息",
"type": "n8n-nodes-base.slack",
"position": [
1160,
200
],
"webhookId": "7b8d0119-c115-4ed3-9d2d-ea8d58edfae6",
"parameters": {
"text": "=Job Title : {{ $json.title }}\nPublished : {{ $json.publishedDate }}\nLink : {{ $json.link }}\nPayment Type: {{ $json.paymentType }}\nBudget: {{ $json.budget }}\nSkills: {{ $json.skills }}\nBio: {{ $json.shortBio }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "name",
"value": "#general"
},
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "nilit1oFWL3xhyvx",
"name": "Slack account"
}
},
"typeVersion": 2.3
}
],
"pinData": {},
"connections": {
"If Working Hours": {
"main": [
[
{
"node": "Assign parameters",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "If Working Hours",
"type": "main",
"index": 0
}
]
]
},
"Assign parameters": {
"main": [
[
{
"node": "Query For Upwork Job Posts",
"type": "main",
"index": 0
}
]
]
},
"Output New Entries": {
"main": [
[
{
"node": "Add New Entries To MongoDB",
"type": "main",
"index": 0
},
{
"node": "Send message in #general",
"type": "main",
"index": 0
}
]
]
},
"Find Existing Entries": {
"main": [
[
{
"node": "Output New Entries",
"type": "main",
"index": 0
}
]
]
},
"Query For Upwork Job Posts": {
"main": [
[
{
"node": "Find Existing Entries",
"type": "main",
"index": 0
},
{
"node": "Output New Entries",
"type": "main",
"index": 1
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 其他
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
GA4异常检测与自动Slack和邮件提醒
GA4异常检测与自动Slack和邮件提醒
If
Set
Code
+5
9 节点Artur
市场调研
双向同步 Google 通讯录与 Notion
双向同步 Google 通讯录与 Notion
If
Set
Merge
+9
82 节点Solomon
其他
饮水量自动追踪器
自动追踪饮水量 - 存储在表格中并在Slack通知
If
Set
Wait
+9
21 节点darrell_tw
其他
备份工作流到 GitHub(子文件夹)
备份工作流到 GitHub(子文件夹)
If
N8n
Set
+12
25 节点Nazmy
其他
备份工作流到 GitHub
备份工作流到 GitHub
If
N8n
Set
+12
23 节点Solomon
其他
生日和星历通知
生日和星历通知 (Google联系人、Telegram和Home Assistant)
If
Set
Code
+8
26 节点Thibaud
其他