マルチURL自動監視とダウン警告
上級
これはAI分野の自動化ワークフローで、18個のノードを含みます。主にSet, Code, Gmail, SplitOut, Summarizeなどのノードを使用、AI技術を活用したスマート自動化を実現。 複数URLの自動監視とダウン検知アラート
前提条件
- •Googleアカウント + Gmail API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Sheets API認証情報
使用ノード (18)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "b643a27a3e5d7748d41ee6285fc688ed2cbf9a93ddb8d5b0ae79684ac7064b2b",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "2744df51-ca51-4c01-9a49-b29c5b27f7bf",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
200
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "cae73f18-028e-4cb5-aee2-a18768c5367e",
"name": "分割出力",
"type": "n8n-nodes-base.splitOut",
"position": [
480,
100
],
"parameters": {
"options": {},
"fieldToSplitOut": "urls"
},
"typeVersion": 1
},
{
"id": "398d41cf-c555-44d7-bf08-2732a47a18e7",
"name": "URLs",
"type": "n8n-nodes-base.set",
"position": [
260,
100
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"urls\": {\n \"URL 2\": \"https://example.com\",\n \"URL 1\": \"https://google.es\",\n \"URL 4\": \"https://github.com\",\n \"URL 3\": \"https://n8n.io\",\n \"URL 5\": \"https://n8niouou.io\",\n \"URL 6\": \"https://n8niopuou.io\"\n }\n}"
},
"typeVersion": 3.4
},
{
"id": "876e4ca3-c607-4443-a4ec-cb83fe84e6c3",
"name": "成功",
"type": "n8n-nodes-base.googleSheets",
"position": [
1220,
260
],
"parameters": {
"columns": {
"value": {
"Caida": "=",
"Funcional": "=Funciona: {{ $('Split Out').item.json.urls }}"
},
"schema": [
{
"id": "Funcional",
"type": "string",
"display": true,
"required": false,
"displayName": "Funcional",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Caida",
"type": "string",
"display": true,
"required": false,
"displayName": "Caida",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920/edit#gid=0",
"cachedResultName": "Hoja 1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920/edit?usp=drivesdk",
"cachedResultName": "Prova2"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "nnznbiLx5YNRZzDM",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "c99e1ec7-0b11-4278-8f97-d6b9cef798cd",
"name": "エラー",
"type": "n8n-nodes-base.googleSheets",
"position": [
1220,
460
],
"parameters": {
"columns": {
"value": {
"Caida": "=Caida: {{ $json.urls }}"
},
"schema": [
{
"id": "Funcional",
"type": "string",
"display": true,
"required": false,
"displayName": "Funcional",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Caida",
"type": "string",
"display": true,
"required": false,
"displayName": "Caida",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920/edit#gid=0",
"cachedResultName": "Hoja 1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/13EHjUGc0wHYbBYZFPqlGuSE1pnttvokU1y3gJCWz920/edit?usp=drivesdk",
"cachedResultName": "Prova2"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "nnznbiLx5YNRZzDM",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "9aeec8f1-1498-4381-bfab-a76c8e40a862",
"name": "合計",
"type": "n8n-nodes-base.summarize",
"position": [
960,
20
],
"parameters": {
"options": {},
"fieldsToSummarize": {
"values": [
{
"field": "Caida"
},
{
"field": "Funcional"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775",
"name": "URLループ",
"type": "n8n-nodes-base.splitInBatches",
"position": [
700,
100
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "760cea59-8d84-4abf-b91a-c277ca122420",
"name": "トリガー実行",
"type": "n8n-nodes-base.manualTrigger",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1ec7a4ea-e929-4f50-b4b8-4732b9e439ed",
"name": "メッセージ送信",
"type": "n8n-nodes-base.gmail",
"position": [
1560,
20
],
"webhookId": "cf566774-8539-422c-8129-7c9fea6b367c",
"parameters": {
"sendTo": "email@youemail.com",
"message": "=Te informamos que actualmente estos URLs se encuentran caídos: \n\n{{ $json.url }}\n\n\nCaídos: {{ $('Total').item.json.count_Caida }}\n\nFuncionales: {{ $('Total').item.json.count_Funcional }}",
"options": {},
"subject": "Webs caídas"
},
"credentials": {
"gmailOAuth2": {
"id": "ED5PJ0BhFPmKkgyc",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "e6ca120c-21e0-42c5-b3d0-c8e447e09386",
"name": "コード",
"type": "n8n-nodes-base.code",
"position": [
1160,
20
],
"parameters": {
"jsCode": "// 1) Traemos TODOS los ítems que generó el nodo \"Bucle URLs\"\nconst items = $items('Bucle URLs'); // respeta exactamente el nombre del nodo\n\n// 2) Extraemos la propiedad Caida y descartamos vacíos\nconst caidaUrls = items\n .map(it => it.json.Caida) \n .filter(url => typeof url === 'string' && url.trim().length);\n\nif (caidaUrls.length === 0) {\n throw new Error('No se encontraron URLs en la propiedad \"Caida\".');\n}\n\nreturn caidaUrls.map(url => ({ json: { url } }));\n\n/* Si prefieres un ÚNICO item con el array completo, comenta la línea anterior\n y descomenta esto:\nreturn [\n { json: { caidaUrls } }, // { \"caidaUrls\": [\"https://n8niouou.io\", \"https://n8niopuou.io\"] }\n];\n*/\n"
},
"typeVersion": 2
},
{
"id": "d5fb83e9-689f-44f3-a02a-32ff511c9ee0",
"name": "分割出力2",
"type": "n8n-nodes-base.splitOut",
"position": [
1360,
20
],
"parameters": {
"options": {},
"fieldToSplitOut": "url"
},
"typeVersion": 1
},
{
"id": "464a16ea-17f0-4757-b491-1b331395cd14",
"name": "リクエスト",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
960,
220
],
"parameters": {
"url": "={{ $json.urls }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "5df0c197-037d-46da-bc4b-fd7ed514bbe5",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
320
],
"parameters": {
"color": 5,
"width": 260,
"content": "## How it works (P1)\nBefore the loop, you enter the URLs to scan in the \"URLs\" stream, then start the trigger either manually or scheduled."
},
"typeVersion": 1
},
{
"id": "8e2d7f73-8731-4b35-8fb0-10d68978a671",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
500
],
"parameters": {
"color": 5,
"width": 260,
"height": 180,
"content": "## Cómo funciona (P1)\n\nAntes del bucle, se introducen las URL que se escanearán en el flujo \"URL\" y, a continuación, se inicia el disparador, ya sea de forma manual o programada."
},
"typeVersion": 1
},
{
"id": "4367f7ee-0b74-476b-84b4-202bc3d909e7",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
240
],
"parameters": {
"width": 260,
"height": 180,
"content": "## How it works (P2)\nStart a loop for each URL entered, adding the status to a Google Sheet, then collect the status of each URL, filter out the crashes, and send an email with the crashes."
},
"typeVersion": 1
},
{
"id": "466863c5-a256-499c-b457-4651de2bb8fc",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
460
],
"parameters": {
"width": 260,
"height": 180,
"content": "## Cómo funciona (P2)\nInicia un bucle por cada URL introducida, agregando el estado en google sheet, luego recoge el estado de cada URL, filtra las caídas y envía un email con las caídas."
},
"typeVersion": 1
},
{
"id": "4cb90ac4-9808-413a-8fb0-c7ed0db631bb",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
40
],
"parameters": {
"color": 5,
"width": 180,
"height": 220,
"content": "### Enter URLs to scan here"
},
"typeVersion": 1
},
{
"id": "040739ca-50d8-4d77-bf3a-c7406bd60410",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-120
],
"parameters": {
"color": 5,
"width": 180,
"height": 480,
"content": "### As a trigger you could also implement webhook or MCP"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"e6ca120c-21e0-42c5-b3d0-c8e447e09386": {
"main": [
[
{
"node": "d5fb83e9-689f-44f3-a02a-32ff511c9ee0",
"type": "main",
"index": 0
}
]
]
},
"398d41cf-c555-44d7-bf08-2732a47a18e7": {
"main": [
[
{
"node": "cae73f18-028e-4cb5-aee2-a18768c5367e",
"type": "main",
"index": 0
}
]
]
},
"c99e1ec7-0b11-4278-8f97-d6b9cef798cd": {
"main": [
[
{
"node": "01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775",
"type": "main",
"index": 0
}
]
]
},
"9aeec8f1-1498-4381-bfab-a76c8e40a862": {
"main": [
[
{
"node": "e6ca120c-21e0-42c5-b3d0-c8e447e09386",
"type": "main",
"index": 0
}
]
]
},
"464a16ea-17f0-4757-b491-1b331395cd14": {
"main": [
[
{
"node": "876e4ca3-c607-4443-a4ec-cb83fe84e6c3",
"type": "main",
"index": 0
}
],
[
{
"node": "c99e1ec7-0b11-4278-8f97-d6b9cef798cd",
"type": "main",
"index": 0
}
]
]
},
"876e4ca3-c607-4443-a4ec-cb83fe84e6c3": {
"main": [
[
{
"node": "01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775",
"type": "main",
"index": 0
}
]
]
},
"cae73f18-028e-4cb5-aee2-a18768c5367e": {
"main": [
[
{
"node": "01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775",
"type": "main",
"index": 0
}
]
]
},
"01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775": {
"main": [
[
{
"node": "9aeec8f1-1498-4381-bfab-a76c8e40a862",
"type": "main",
"index": 0
}
],
[
{
"node": "464a16ea-17f0-4757-b491-1b331395cd14",
"type": "main",
"index": 0
}
]
]
},
"d5fb83e9-689f-44f3-a02a-32ff511c9ee0": {
"main": [
[
{
"node": "1ec7a4ea-e929-4f50-b4b8-4732b9e439ed",
"type": "main",
"index": 0
}
]
]
},
"760cea59-8d84-4abf-b91a-c277ca122420": {
"main": [
[
{
"node": "398d41cf-c555-44d7-bf08-2732a47a18e7",
"type": "main",
"index": 0
}
]
]
},
"1ec7a4ea-e929-4f50-b4b8-4732b9e439ed": {
"main": [
[]
]
},
"2744df51-ca51-4c01-9a49-b29c5b27f7bf": {
"main": [
[
{
"node": "398d41cf-c555-44d7-bf08-2732a47a18e7",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
GPT-5 nanoとYoast SEOでWordPress SEO最適化を自動化
GPT-5 nanoとYoast SEOを使って、WordPressのSEO最適化を自動化
Set
Code
Gmail
+
Set
Code
Gmail
35 ノードOriol Seguí
その他
YouTube 動画に基づく自律ブログ公開
YouTube 動画から ChatGPT、Sheets、Apify、Pexels、WordPress を使用してブログの自主公開
If
Set
Code
+
If
Set
Code
80 ノードOriol Seguí
コンテンツ作成
n8nノードの探索(可視化リファレンスライブラリ内)
n8nノードを可視化リファレンスライブラリで探索
If
Ftp
Set
+
If
Ftp
Set
113 ノードI versus AI
その他
自動ニュース要約AIエージェントv13
AIニュース制作チーム:24/7リポート自動化+Perplexity引用
Set
Code
Gmail
+
Set
Code
Gmail
37 ノードDerek Cheung
プロダクト
アクセルレーション隊スプリント計画の自動化
OpenAI、Googleカレンダー、Gmailを使ってアジャイルチームのスプリント計画を自動化
If
Set
Code
+
If
Set
Code
52 ノードWillemijn
プロダクト
ペットショップ 4
ペットショップ予約AIエージェント
If
Set
Code
+
If
Set
Code
187 ノードBruno Dias
人工知能