GitHub の issue 情報を取得
中級
これはEngineering, DevOps分野の自動化ワークフローで、9個のノードを含みます。主にSet, Filter, Github, Telegram, ScheduleTriggerなどのノードを使用。 GitHub の issue 更新を取得して Telegram に通知
前提条件
- •GitHub Personal Access Token
- •Telegram Bot Token
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "okjjim5PVb2dZUgg",
"meta": {
"instanceId": "b229c9a129a49cc78e21e7f6e65be625850967828e8c77a8f82738e7c8461afc",
"templateCredsSetupCompleted": true
},
"name": "FetchGithubIssues",
"tags": [],
"nodes": [
{
"id": "2f3cac64-7326-471d-8f6a-1677a4ff5a6d",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-540,
-560
],
"parameters": {
"color": 5,
"content": "### Get Github Issues HTTP Request \n- Edit the OWNER and REPO NAME in the respective fields\n- The request is configured with query parameters of *state*, *since* and *labels*"
},
"typeVersion": 1
},
{
"id": "13809408-63f3-4161-87f2-c5d950274aa9",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-560
],
"parameters": {
"color": 3,
"width": 180,
"content": "### Extract Fields\nExtract fields like title, comments, created_at, etc from the github api response"
},
"typeVersion": 1
},
{
"id": "3df26230-c2b0-44d5-98da-cccbca493c8f",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-560
],
"parameters": {
"color": 3,
"width": 180,
"content": "### Filter on Fields\nFilter issues based on number of comments"
},
"typeVersion": 1
},
{
"id": "819bd3f8-8d23-4299-ac1d-ae9762f944dd",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
-680
],
"parameters": {
"color": 5,
"width": 200,
"height": 280,
"content": "### Send message to Telegram User\n- This node is configured to send *issue title* and *url* to your user id\n- Create a new telegram bot using the instructions [here](https://core.telegram.org/bots/tutorial#obtain-your-bot-token) and configure bot token in the telegram credential\n- Chat ID can be your username or your username ID"
},
"typeVersion": 1
},
{
"id": "9e08036f-e082-424d-b536-349d236a40ec",
"name": "@user へのメッセージ送信",
"type": "n8n-nodes-base.telegram",
"position": [
280,
-380
],
"webhookId": "d0c6ee9e-ed0b-49fa-95cd-e483fc29ffbc",
"parameters": {
"text": "=New Issue: {{ $json.title }} [Link]({{ $json.html_url }})",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "MEwozHKykMH3flb4",
"name": "Telegram account 2"
}
},
"typeVersion": 1.2
},
{
"id": "9cf3bf31-12a6-4f3b-a1e7-69f575f801f0",
"name": "コメントの確認",
"type": "n8n-nodes-base.filter",
"position": [
0,
-380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "88ae0b8f-c586-4f01-8389-bc0e2c0473bc",
"operator": {
"type": "number",
"operation": "lt"
},
"leftValue": "={{ $json.comments }}",
"rightValue": 5
}
]
}
},
"typeVersion": 2.2
},
{
"id": "0cfd2924-64c0-4f8b-a15b-7e619d5b21bf",
"name": "タイトル、URL、作成日、コメントのマッピング",
"type": "n8n-nodes-base.set",
"position": [
-220,
-380
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ebad3986-8804-428f-acbb-7c1953dbbc47",
"name": "title",
"type": "string",
"value": "={{ $json.title }}"
},
{
"id": "2daabd16-f1af-4d24-8409-51e7ba242bbb",
"name": "html_url",
"type": "string",
"value": "={{ $json.html_url }}"
},
{
"id": "7ea20a16-794c-4701-81e0-4b99fb1a9fc7",
"name": "created_at",
"type": "string",
"value": "={{ $json.created_at }}"
},
{
"id": "0a4985f9-5d80-420b-ae57-15329bf19634",
"name": "comments",
"type": "number",
"value": "={{ $json.comments }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "eacbb029-03b9-46d6-9f2e-edaab70cce10",
"name": "10分ごとに実行",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-780,
-380
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "d87f01e3-8277-4dbb-bcc0-4ca2e1c794d4",
"name": "Github 問題の取得",
"type": "n8n-nodes-base.github",
"position": [
-480,
-380
],
"parameters": {
"owner": {
"__rl": true,
"mode": "name",
"value": ""
},
"resource": "repository",
"repository": {
"__rl": true,
"mode": "name",
"value": ""
},
"getRepositoryIssuesFilters": {
"since": "={{ new Date(Date.now() - 30 * 60 * 1000).toISOString() }}",
"state": "open",
"labels": "Bug"
}
},
"credentials": {
"githubApi": {
"id": "2yRBqav2uahP1pas",
"name": "GitHub account"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5bc6fb0e-face-48c3-aba4-0c53ad1e9b35",
"connections": {
"d87f01e3-8277-4dbb-bcc0-4ca2e1c794d4": {
"main": [
[
{
"node": "0cfd2924-64c0-4f8b-a15b-7e619d5b21bf",
"type": "main",
"index": 0
}
]
]
},
"9cf3bf31-12a6-4f3b-a1e7-69f575f801f0": {
"main": [
[
{
"node": "9e08036f-e082-424d-b536-349d236a40ec",
"type": "main",
"index": 0
}
]
]
},
"eacbb029-03b9-46d6-9f2e-edaab70cce10": {
"main": [
[
{
"node": "d87f01e3-8277-4dbb-bcc0-4ca2e1c794d4",
"type": "main",
"index": 0
}
]
]
},
"0cfd2924-64c0-4f8b-a15b-7e619d5b21bf": {
"main": [
[
{
"node": "9cf3bf31-12a6-4f3b-a1e7-69f575f801f0",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, DevOps
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
n8nのGitHubアップデートをAIで要約してTelegramに送信
GPT-4o-miniを使用してGitHubから毎日のプルリクエスト要約をTelegramに送信
Set
Filter
Github
+
Set
Filter
Github
16 ノードMattis
DevOps
毎日のワークフローを GitHub へ自動バックアップ
GitHub への毎日の自動ワークフロー バックアップ
If
N8n
Set
+
If
N8n
Set
13 ノードHugo
エンジニアリング
TelePilotを使ったTelegramユーザーボットでの会話監視と自動復帰
TelePilotを使った自動Telegramユーザーボットセッション監視と復帰
Set
Filter
Telegram
+
Set
Filter
Telegram
16 ノードIvanCore
DevOps
高度な n8n ワークフローと GitHub の同期
GitHub による スマートな変更検出を使った ワークフロー バックアップの自動化
If
N8n
Set
+
If
N8n
Set
38 ノードMaksym Brashenko
DevOps
ワークフローを GitHub リポジトリに保存する
毎日のワークフロー バックアップを GitHub にアップロードし、Slack 通知を送信
If
N8n
Set
+
If
N8n
Set
18 ノードAndrew
DevOps
GitHub 同期ダッシュボード - V2
コミット履歴とロールバック機能を備えた GitHub ワークフロー バージョン管理ダッシュボード
If
N8n
Set
+
If
N8n
Set
94 ノードEduard
DevOps