GLPIチケット締切り提醒の自動化
上級
これはTicket Management, Multimodal AI分野の自動化ワークフローで、16個のノードを含みます。主にIf, Set, SplitOut, Aggregate, HttpRequestなどのノードを使用。 Microsoft Teamsを通じたオートメーションGLPIチケット締切提醒
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
使用ノード (16)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "9a6585d268bcb16af660ea2f3e8e0a8881962c92868e9c530eb83c6c580731c3"
},
"nodes": [
{
"id": "89d3c9e8-e4cc-4a28-80ab-7f7661491168",
"name": "操作なし, do nothing3",
"type": "n8n-nodes-base.noOp",
"position": [
320,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5c41293e-18e8-49eb-94bd-442d4c1fc373",
"name": "End session1",
"type": "n8n-nodes-base.httpRequest",
"position": [
96,
32
],
"parameters": {
"url": "={{ $('Configuration Variables').item.json.glpi_url }}apirest.php/killSession",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Session-Token",
"value": "={{ $('Get session token').item.json.session_token }}"
},
{
"name": "App-Token",
"value": "={{ $('Configuration Variables').item.json.app_token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d15822e3-b973-457a-9706-779958ff44b1",
"name": "操作なし, do nothing2",
"type": "n8n-nodes-base.noOp",
"position": [
320,
32
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d33d8698-b491-4d09-8ea0-ce2d9feb9e95",
"name": "Configuration Variables",
"type": "n8n-nodes-base.set",
"position": [
-1248,
560
],
"parameters": {
"fields": {
"values": [
{
"name": "glpi_url",
"stringValue": "https://your_glpi_server.com"
},
{
"name": "app_token",
"stringValue": "Your App Token is here"
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "37f976d6-bc9e-4bb1-a1a8-c2cd80dc0f21",
"name": "Send a message to Support Technician 1",
"type": "n8n-nodes-base.microsoftTeams",
"position": [
96,
416
],
"webhookId": "faef30e7-48b9-48d8-ac4a-2930a533a552",
"parameters": {
"chatId": {
"__rl": true,
"mode": "list",
"value": "19:9d87b5db-9cfe-4cc5-ab11-b131a06789ff_b3481c22-4337-4a46-aec4-0457bad71345@unq.gbl.spaces",
"cachedResultUrl": "https://teams.microsoft.com/l/chat/19%3A9d87b5db-9cfe-4cc5-ab11-b131a06789ff_b3481c22-4337-4a46-aec4-0457bad71345%40unq.gbl.spaces/0?tenantId=84a66816-16ec-48c3-bcea-b62049cde20b",
"cachedResultName": "Support Technician 1, Integropen Solutions (oneOnOne)"
},
"message": "=## Action Required: Ticket about to expire\n\n**Title:** {{ $json['1'] }}\n\n**ID:** {{ $json['2'] }}\n\n**Expires in:** {{ $json['18'] }}",
"options": {
"includeLinkToWorkflow": false
},
"resource": "chatMessage"
},
"credentials": {
"microsoftTeamsOAuth2Api": {
"id": "6gsSfvAqrtsa0H1n",
"name": "Microsoft Teams account"
}
},
"typeVersion": 2
},
{
"id": "ad446521-d997-4563-84f6-30dbd5865622",
"name": "Send a message to Support Technician 2",
"type": "n8n-nodes-base.microsoftTeams",
"position": [
320,
608
],
"webhookId": "faef30e7-48b9-48d8-ac4a-2930a533a552",
"parameters": {
"chatId": {
"__rl": true,
"mode": "list",
"value": "19:57fafa2a-5195-4d52-a389-ef2fb95d75f0_b3481c22-4337-4a46-aec4-0457bad71345@unq.gbl.spaces",
"cachedResultUrl": "https://teams.microsoft.com/l/chat/19%3A57fafa2a-5195-4d52-a389-ef2fb95d75f0_b3481c22-4337-4a46-aec4-0457bad71345%40unq.gbl.spaces/0?tenantId=84a66816-16ec-48c3-bcea-b62049cde20b",
"cachedResultName": "Support Technician 2, Integropen Solutions (oneOnOne)"
},
"message": "=## Action Required: Ticket about to expire\n\n**Title:** {{ $json['1'] }}\n\n**ID:** {{ $json['2'] }}\n\n**Expires in:** {{ $json['18'] }}",
"options": {
"includeLinkToWorkflow": false
},
"resource": "chatMessage"
},
"credentials": {
"microsoftTeamsOAuth2Api": {
"id": "6gsSfvAqrtsa0H1n",
"name": "Microsoft Teams account"
}
},
"typeVersion": 2
},
{
"id": "27036a12-b3ee-4319-b65c-c98bb217897a",
"name": "集計",
"type": "n8n-nodes-base.aggregate",
"position": [
-128,
32
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "1f1bb9d4-d8f6-40d2-94ce-ffe727d8c0ef",
"name": "Tickets about to expire",
"type": "n8n-nodes-base.httpRequest",
"position": [
-800,
560
],
"parameters": {
"url": "={{ $('Configuration Variables').item.json.glpi_url }}/apirest.php/search/Ticket",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "criteria[0][field]",
"value": "18"
},
{
"name": "criteria[0][searchtype]",
"value": "lessthan"
},
{
"name": "criteria[0][value]",
"value": "={{new Date(Date.now() + (2 * 24 * 60 * 60 * 1000)).toISOString().split('T')[0]}}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Session-Token",
"value": "={{ $json.session_token }}"
},
{
"name": "App-Token",
"value": "={{ $('Configuration Variables').item.json.app_token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "861d3525-6e45-476d-a00b-fade07e0ded8",
"name": "Get session token",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1024,
560
],
"parameters": {
"url": "={{ $json.glpi_url }}/apirest.php/initSession",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpBasicAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "App-Token",
"value": "={{ $json.app_token }}"
}
]
}
},
"credentials": {
"httpBasicAuth": {
"id": "7dcUgKfChVkBmVFm",
"name": "GLPI"
}
},
"typeVersion": 4.2
},
{
"id": "db9e10ea-b03f-4792-b5e7-5b4484a5351c",
"name": "Support Technician 1?",
"type": "n8n-nodes-base.if",
"position": [
-128,
320
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "2aae6f0c-eea2-4402-a2dc-d75f946134ee",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json[\"5\"] }}",
"rightValue": "7"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "097be4cb-3a42-413e-99a1-281c5fbd284b",
"name": "Support Technician 2?",
"type": "n8n-nodes-base.if",
"position": [
96,
224
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "6c4e4a5b-7eda-48dd-8b44-cc66715d3399",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json[\"5\"] }}",
"rightValue": "8"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "9143952e-58bd-40ac-aece-3d718e54674b",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1472,
560
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 9
}
]
}
},
"typeVersion": 1.2
},
{
"id": "9a2a292d-4472-4ad2-8c92-ee7ff5989f03",
"name": "ループ処理",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-352,
560
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "38834a1f-125c-4aa6-a4e0-63f8fce69d69",
"name": "分割出力",
"type": "n8n-nodes-base.splitOut",
"position": [
-576,
560
],
"parameters": {
"options": {},
"fieldToSplitOut": "data"
},
"typeVersion": 1
},
{
"id": "0f8bf852-c719-49ed-8400-975c74cdd7cd",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2048,
-32
],
"parameters": {
"color": 5,
"width": 720,
"height": 496,
"content": "## Requirements:\n- GLPI REST API\n- User with application administrator privileges\n\n- Necessary Changes\n\nUpdate the GLPI server URL in the \"Configuration Variables\" node\n\nglpi_url: \"https://your_glpi_server.com\"\napp_token: \"Your App Token is here\"\n\nGLPI User ID Identification\nFor complete workflow configuration, it's necessary to identify the correct IDs of technical users for proper notification assignment.\nUser IDs can be obtained by accessing user management in GLPI and observing the ID directly in the browser URL when selecting a specific user.\nPath: Administration > Users > [Select User]\nWhen clicking on the desired user, you can see the user ID directly in the browser URL (e.g., id=7 for Support Technician 1, id=8 for Support Technician 2).\n\n- The technician id must be taken into account for IF nodes to redirect to the correct technician in teams."
},
"typeVersion": 1
},
{
"id": "ee77c5c3-03b1-47e2-825f-734f386ae613",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1312,
-32
],
"parameters": {
"color": 4,
"width": 976,
"height": 496,
"content": "## Tickets about to expire node\n\nThe criteria[0][value] field sets the date range for identifying cases that are close to expiration, allowing a notification to be generated for the technician.\n\nExample:\ncriteria[0][value]: {{new Date(Date.now() + (5 * 24 * 60 * 60 * 1000)).toISOString().split('T')[0]}}\n\nTechnical explanation:\nThe {{new Date(Date.now() + (5 * 24 * 60 * 60 * 1000)).toISOString().split('T')[0]}} value does the following:\n\nDate.now() → Gets the current date and time in milliseconds.\n\n+ (5 * 24 * 60 * 60 * 1000) → Adds 5 days (5 days × 24 hours × 60 minutes × 60 seconds × 1000 ms).\n\nnew Date(...) → Creates a Date object with that future date.\n\n.toISOString() → Converts the date to ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\n\n.split('T')[0] → It only keeps the date portion (YYYY-MM-DD) without the time.\n\nIn short: the field automatically generates the date 5 days from today in YYYY-MM-DD format, which will be used as a criterion to filter cases that are about to expire."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Aggregate": {
"main": [
[
{
"node": "5c41293e-18e8-49eb-94bd-442d4c1fc373",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"5c41293e-18e8-49eb-94bd-442d4c1fc373": {
"main": [
[
{
"node": "No Operation, do nothing2",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
],
[
{
"node": "db9e10ea-b03f-4792-b5e7-5b4484a5351c",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "d33d8698-b491-4d09-8ea0-ce2d9feb9e95",
"type": "main",
"index": 0
}
]
]
},
"861d3525-6e45-476d-a00b-fade07e0ded8": {
"main": [
[
{
"node": "1f1bb9d4-d8f6-40d2-94ce-ffe727d8c0ef",
"type": "main",
"index": 0
}
]
]
},
"db9e10ea-b03f-4792-b5e7-5b4484a5351c": {
"main": [
[
{
"node": "37f976d6-bc9e-4bb1-a1a8-c2cd80dc0f21",
"type": "main",
"index": 0
}
],
[
{
"node": "097be4cb-3a42-413e-99a1-281c5fbd284b",
"type": "main",
"index": 0
}
]
]
},
"097be4cb-3a42-413e-99a1-281c5fbd284b": {
"main": [
[
{
"node": "ad446521-d997-4563-84f6-30dbd5865622",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing3",
"type": "main",
"index": 0
}
]
]
},
"d33d8698-b491-4d09-8ea0-ce2d9feb9e95": {
"main": [
[
{
"node": "861d3525-6e45-476d-a00b-fade07e0ded8",
"type": "main",
"index": 0
}
]
]
},
"1f1bb9d4-d8f6-40d2-94ce-ffe727d8c0ef": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"No Operation, do nothing3": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"37f976d6-bc9e-4bb1-a1a8-c2cd80dc0f21": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"ad446521-d997-4563-84f6-30dbd5865622": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - チケット管理, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
毎日のGLPI未対応チケットをMicrosoft Teamsへ自動通知
毎日のGLPI未対応チケット通知をMicrosoft Teamsに自動送信する
If
Split Out
Aggregate
+
If
Split Out
Aggregate
19 ノードLuis Hernandez
チケット管理
Airtable、OpenAI、Unipile を使用した LinkedIn リード生成と自動ダイレクトメッセージングの自動化
Airtable、OpenAI、Unipileを使用した自動LinkedInリード生成とInMail投稿
If
Set
Code
+
If
Set
Code
143 ノードRuben AI
リードナーチャリング
毎日の WhatsApp グループ スマート分析:GPT-4.1 による分析と音声メッセージの transcrição
毎日の WhatsApp グループ インタラクティブ分析:GPT-4.1 分析と音声メッセージ文字起こし
If
Set
Code
+
If
Set
Code
52 ノードDaniel Lianes
その他
GitHub 同期ダッシュボード - V2
コミット履歴とロールバック機能を備えた GitHub ワークフロー バージョン管理ダッシュボード
If
N8n
Set
+
If
N8n
Set
94 ノードEduard
DevOps
GLPIサポートパフォーマンスレポートの生成(SLA追跡+メール送信付き)
GLPIサポートパフォーマンスレポートを自動生成し、SLAモニタリングとメール送信機能を含める
Set
Code
Html
+
Set
Code
Html
20 ノードLuis Hernandez
コンテンツ作成
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
ワークフロー情報
難易度
上級
ノード数16
カテゴリー2
ノードタイプ10
作成者
Luis Hernandez
@integropenI like solving problems and have a true passion for no-code automation. I'm thoughtful by nature and enjoy finding ways to optimize processes, always guided by my principles and values.
外部リンク
n8n.ioで表示 →
このワークフローを共有