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": "## Setup\n1. Add MongoDB, Slack credentials\n2. Add a query auth credential where the key='token' and the value being your apify token\n3. Modify the 'Assign parameters' node to include the Upwork URLs you want to query for"
},
"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": {
"26322972-4ecd-4f8e-a1fc-81607a911c22": {
"main": [
[
{
"node": "140f236c-8946-4ca8-b18f-0af99107b15c",
"type": "main",
"index": 0
}
]
]
},
"a923af43-f417-470c-af97-2a50dc0c0d79": {
"main": [
[
{
"node": "26322972-4ecd-4f8e-a1fc-81607a911c22",
"type": "main",
"index": 0
}
]
]
},
"140f236c-8946-4ca8-b18f-0af99107b15c": {
"main": [
[
{
"node": "d1863b34-d35f-477c-bb94-8a77ff08b51d",
"type": "main",
"index": 0
}
]
]
},
"82a6a26a-9fd5-4ce5-986f-e0aeb0c43fcc": {
"main": [
[
{
"node": "361603e9-d173-42e2-a170-de08725ffd24",
"type": "main",
"index": 0
},
{
"node": "bc83acf0-b28b-48ff-bcb1-695404f30282",
"type": "main",
"index": 0
}
]
]
},
"d68cb363-df1f-4601-b194-c1dc044b0c6a": {
"main": [
[
{
"node": "82a6a26a-9fd5-4ce5-986f-e0aeb0c43fcc",
"type": "main",
"index": 0
}
]
]
},
"d1863b34-d35f-477c-bb94-8a77ff08b51d": {
"main": [
[
{
"node": "d68cb363-df1f-4601-b194-c1dc044b0c6a",
"type": "main",
"index": 0
},
{
"node": "82a6a26a-9fd5-4ce5-986f-e0aeb0c43fcc",
"type": "main",
"index": 1
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - その他
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
GA4異常検知とSlack、メールによる自動 alerting
GA4異常検知と自動Slack及びメールアラート
If
Set
Code
+
If
Set
Code
9 ノードArtur
市場調査
Google連絡先をNotionと双方向同期
Google連絡先をNotionと双方向同期
If
Set
Merge
+
If
Set
Merge
82 ノードSolomon
その他
ランニング河湖での毎日の飲水量自動追跡ツール
の水分を自動のに追跡 - テーブルに保存しSlackに通知
If
Set
Wait
+
If
Set
Wait
21 ノードdarrell_tw
その他
GitHubへワークフローをバックアップ(サブフォルダー)
GitHub へのバックアップ ワークフロー (サブフォルダー)
If
N8n
Set
+
If
N8n
Set
25 ノードNazmy
その他
GitHubへワークフローをバックアップ
ワークフローを GitHub にバックアップする
If
N8n
Set
+
If
N8n
Set
23 ノードSolomon
その他
誕生日と星暦通知
生誕日・旬星通知(Google連絡先、Telegram、Home Assistant)
If
Set
Code
+
If
Set
Code
26 ノードThibaud
その他