코드 주석을 FAQ로 동기화 (GitHub)
고급
이것은Engineering, AI Chatbot분야의자동화 워크플로우로, 18개의 노드를 포함합니다.주로 If, Code, Slack, Notion, GoogleSheets 등의 노드를 사용하며. GPT-4o, Notion 및 Slack을 사용한 개발 팀을 위한 GitHub PR 질문 자동 답변
사전 요구사항
- •Slack Bot Token 또는 Webhook URL
- •Notion API Key
- •Google Sheets API 인증 정보
- •GitHub Personal Access Token
- •OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "ZtkkWwiBICaiGc4g",
"meta": {
"instanceId": "8443f10082278c46aa5cf3acf8ff0f70061a2c58bce76efac814b16290845177",
"templateCredsSetupCompleted": true
},
"name": "Code Comment-to-FAQ Sync (GitHub)",
"tags": [],
"nodes": [
{
"id": "5b60a73e-3918-4730-b195-ac429b2f5acf",
"name": "GPT-4o 모델 구성",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
144,
144
],
"parameters": {
"model": "gpt-4o",
"options": {}
},
"credentials": {
"azureOpenAiApi": {
"id": "C3WzT18XqF8OdVM6",
"name": "Azure Open AI account"
}
},
"typeVersion": 1
},
{
"id": "2b63fa67-e389-43a5-ab07-0a54a890dd57",
"name": "메모지",
"type": "n8n-nodes-base.stickyNote",
"position": [
-944,
-400
],
"parameters": {
"height": 448,
"content": "## Node Name: GitHub PR Comment Trigger\n**Action**: Starts the workflow when a pull-request comment event occurs in GitHub.\n**Description**:\nThis node listens for the `pull_request_review_comment` webhook from a specified repository (`weather-app`) and user. \nWhenever a developer comments on a PR, this node captures the event payload — including comment text, file path, PR number, and author — to start the automation chain.\n"
},
"typeVersion": 1
},
{
"id": "49031929-9cdb-4a5e-97e4-cfbcaa93fd1f",
"name": "메모지1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
144
],
"parameters": {
"height": 368,
"content": "## Node Name: Validate GitHub Webhook Payload\n**Action**: Checks if the incoming PR comment data is valid and complete.\n**Description**:\nBefore processing, this node verifies that the GitHub payload includes a valid comment URL. \nIf the webhook is malformed or missing fields, the workflow routes execution to the error-logging path to prevent failed AI or Notion operations.\n"
},
"typeVersion": 1
},
{
"id": "7df85bda-9810-4dc0-97c6-4280bffcf513",
"name": "메모지2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
448
],
"parameters": {
"height": 384,
"content": "## Node Name: Log Errors in Google Sheets\n**Action**: Records any webhook or processing errors in a shared Google Sheet.\n**Description**:\nIf validation fails or data parsing encounters issues, this node logs the error details (error ID + message) in the “error log sheet.” \nThis ensures complete visibility into failed webhook events and AI generation errors for future troubleshooting.\n"
},
"typeVersion": 1
},
{
"id": "9eae3668-e27a-46ec-925b-e187ebb38d39",
"name": "메모지3",
"type": "n8n-nodes-base.stickyNote",
"position": [
176,
-528
],
"parameters": {
"height": 432,
"content": "## Node Name: Generate AI Response for Developer Question\n**Action**: Uses GPT-4o to draft a clear, concise reply to the developer’s PR comment.\n**Description**:\nThis agent node sends the extracted GitHub comment text and PR context to GPT-4o. \nThe AI analyzes the query and returns a brief (2–3 line) technical answer that can later be stored or displayed for review.\n"
},
"typeVersion": 1
},
{
"id": "7298a7db-60d9-4891-99d4-17ab86e2eb26",
"name": "메모지4",
"type": "n8n-nodes-base.stickyNote",
"position": [
464,
-512
],
"parameters": {
"height": 416,
"content": "## Node Name: Extract GitHub Comment Metadata\n**Action**: Parses and structures key GitHub comment details into a clean JSON object.\n**Description**:\nUsing a JavaScript Code node, this step extracts repository name, comment content, author username, file path, and PR number from the original webhook payload. \nIt standardizes the data so it can be easily stored in Notion.\n"
},
"typeVersion": 1
},
{
"id": "b149f1f2-65a2-4a0b-8736-e556a6caf632",
"name": "메모지5",
"type": "n8n-nodes-base.stickyNote",
"position": [
704,
160
],
"parameters": {
"height": 432,
"content": "## Node Name: Save Comment Insight to Notion Database\n**Action**: Appends the processed comment data and AI response into a Notion database.\n**Description**:\nThis node creates a new page entry in a Notion database (“test db”) capturing details like repository, username, comment body, file path, and PR number. \nIt serves as a living documentation hub for tracking developer queries and AI answers from GitHub PRs.\n"
},
"typeVersion": 1
},
{
"id": "5d286fc7-9919-4102-8afc-c6f12933c510",
"name": "메모지6",
"type": "n8n-nodes-base.stickyNote",
"position": [
224,
272
],
"parameters": {
"height": 352,
"content": "## Node Name: Configure GPT-4o Model\n**Action**: Establishes the Azure OpenAI GPT-4o model connection for AI processing.\n**Description**:\nThis node defines and connects to the GPT-4o model hosted on Azure OpenAI. \nIt serves as the language engine for generating short, precise, and context-aware technical responses to developer comments.\n"
},
"typeVersion": 1
},
{
"id": "f035aa9a-2f76-4de6-a451-84a00dbb690e",
"name": "메모지7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-176,
-464
],
"parameters": {
"height": 400,
"content": "## Node Name: Detect Developer Question in PR Comment\n**Action**: Evaluates whether a PR comment contains a question like “how do I…” or “how to…”.\n**Description**:\nThis conditional node scans the text of the GitHub comment for help-related keywords. \nIf the comment is a technical query, it routes the flow to the AI assistant for generating a concise answer. Otherwise, the workflow ends silently.\n"
},
"typeVersion": 1
},
{
"id": "c6e89357-de32-4be6-bbe0-f486751ead92",
"name": "GitHub PR 댓글 트리거",
"type": "n8n-nodes-base.githubTrigger",
"position": [
-672,
-32
],
"webhookId": "1114ba07-d98e-4751-80f2-119a9394f666",
"parameters": {
"owner": {
"__rl": true,
"mode": "name",
"value": "saurabhg97"
},
"events": [
"pull_request_review_comment"
],
"options": {},
"repository": {
"__rl": true,
"mode": "name",
"value": "weather-app"
},
"authentication": "oAuth2"
},
"credentials": {
"githubOAuth2Api": {
"id": "rnLgyYy9XPnp6GZ9",
"name": "saurabh github"
}
},
"typeVersion": 1
},
{
"id": "c4f82baa-ca82-4858-8d2f-2e9dd7febe3c",
"name": "GitHub 웹훅 페이로드 검증",
"type": "n8n-nodes-base.if",
"position": [
-400,
-32
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e2adb005-2b3c-4d1e-8445-442df1fe925a",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $json.body.comment.url }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "a739f228-5357-4ab7-bee6-62b7929d08df",
"name": "PR 댓글에서 개발자 질문 감지",
"type": "n8n-nodes-base.if",
"position": [
-112,
-48
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "2ad8bc15-beaa-4606-9a8d-ecfd38e446cb",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ \n (\n $json[\"body\"][\"comment\"][\"body\"].toLowerCase().includes(\"how do i\") ||\n $json[\"body\"][\"comment\"][\"body\"].toLowerCase().includes(\"how to\")\n ).toString()\n}}\n",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "5b0d7c5e-cc2d-44fd-9cf2-b6edfc5e08bc",
"name": "개발자 질문에 대한 AI 응답 생성",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
192,
-64
],
"parameters": {
"text": "={{ \n`Question: ${$json[\"body\"][\"comment\"][\"body\"]}\n\nContext: PR Link - ${$json[\"body\"][\"comment\"][\"html_url\"]}\nRepository: ${$json[\"body\"][\"repository\"][\"full_name\"]}\n` \n}}\n",
"options": {
"systemMessage": "=You are a helpful developer assistant. \nProvide short, clear, and technically correct answers (2–3 lines max) to developer questions found in GitHub PR comments.\n"
},
"promptType": "define"
},
"typeVersion": 2.1
},
{
"id": "433930c9-f10d-4db5-b419-9ed8a1adb5d0",
"name": "GitHub 댓글 메타데이터 추출",
"type": "n8n-nodes-base.code",
"position": [
544,
-64
],
"parameters": {
"jsCode": "// Access the original webhook data\nconst webhookData = $(' GitHub PR Comment Trigger').first().json;\n\nreturn [\n {\n json: {\n repository: webhookData.body.repository.full_name,\n comment: webhookData.body.comment.body,\n username: webhookData.body.comment.user.login,\n file_path: webhookData.body.comment.path,\n pr_number: webhookData.body.pull_request.number\n }\n }\n];"
},
"typeVersion": 2
},
{
"id": "3c1ef780-1b15-4932-9aa9-99cb89f4195b",
"name": "Notion 데이터베이스에 댓글 인사이트 저장",
"type": "n8n-nodes-base.notion",
"position": [
784,
-64
],
"parameters": {
"title": "={{ $json.repository }}",
"simple": false,
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "265802b9-1fa0-806f-a52a-e6d71d9ff2e0",
"cachedResultUrl": "https://www.notion.so/265802b91fa0806fa52ae6d71d9ff2e0",
"cachedResultName": "test db"
},
"propertiesUi": {
"propertyValues": [
{
"key": "Name|title",
"title": "={{ $json.comment }}"
},
{
"key": "Name|title",
"title": "={{ $json.username }}"
},
{
"key": "Name|title",
"title": "={{ $now }}"
},
{
"key": "Name|title",
"title": "={{ $json.file_path }}"
},
{
"key": "Name|title",
"title": "={{ String($json.pr_number) }}\n"
}
]
}
},
"credentials": {
"notionApi": {
"id": "iDjtgSTYG9ECVBtT",
"name": "Notion account 2"
}
},
"typeVersion": 2.2
},
{
"id": "828abb32-ab14-4a13-aaf8-2d0723df639d",
"name": "Google Sheets에서 오류 기록",
"type": "n8n-nodes-base.googleSheets",
"position": [
-128,
256
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "error_id",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "error_id",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "error",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "error",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"error_id"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": 1338537721,
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Uldk_4BxWbdZTDZxFUeohIfeBmGHHqVEl9Ogb0l6R8Y/edit#gid=1338537721",
"cachedResultName": "error log sheet"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1Uldk_4BxWbdZTDZxFUeohIfeBmGHHqVEl9Ogb0l6R8Y",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Uldk_4BxWbdZTDZxFUeohIfeBmGHHqVEl9Ogb0l6R8Y/edit?usp=drivesdk",
"cachedResultName": "Interviewer Brief Pack "
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "kpPEOLCGn963qpoh",
"name": "automations@techdome.ai"
}
},
"typeVersion": 4.6
},
{
"id": "5f0bdf64-2400-416f-a2b0-5b8a19bba710",
"name": "메모지8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1024,
160
],
"parameters": {
"height": 576,
"content": "## Node Name: Post AI Answer & PR Link to Slack\n**Action**: Sends the generated AI response and the GitHub PR comment link to a Slack channel or user.\n**Description**:\nThis node posts the AI-generated technical answer (from “Generate AI Response for Developer Question”) directly to Slack, followed by the original GitHub PR comment link for quick context. \nIt ensures that the internal team (or reviewer) is instantly notified whenever a developer’s query is processed by the AI system — allowing faster review and collaboration inside Slack. \nTypically used to streamline developer feedback loops and keep AI-assisted responses visible to the engineering team in real time.\n"
},
"typeVersion": 1
},
{
"id": "945e97e6-b51a-4771-931b-02ab81ef902b",
"name": "AI 답변 및 PR 링크를 Slack에 게시",
"type": "n8n-nodes-base.slack",
"position": [
1056,
-64
],
"webhookId": "ddaa7632-9e35-4bd3-82d6-572d5cae84cc",
"parameters": {
"text": "={{ $('Generate AI Response for Developer Question').item.json.output }}{{ $('Detect Developer Question in PR Comment').item.json.body.comment.url }}",
"user": {
"__rl": true,
"mode": "list",
"value": "U09HMPVD466",
"cachedResultName": "newscctv22"
},
"select": "user",
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "rNqvWj9TfChPVRYY",
"name": "Slack account vivek"
}
},
"typeVersion": 2.3
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "9f9ae9c5-9555-4e6d-94e6-2891348064ae",
"connections": {
"5b60a73e-3918-4730-b195-ac429b2f5acf": {
"ai_languageModel": [
[
{
"node": "5b0d7c5e-cc2d-44fd-9cf2-b6edfc5e08bc",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"c6e89357-de32-4be6-bbe0-f486751ead92": {
"main": [
[
{
"node": "c4f82baa-ca82-4858-8d2f-2e9dd7febe3c",
"type": "main",
"index": 0
}
]
]
},
"433930c9-f10d-4db5-b419-9ed8a1adb5d0": {
"main": [
[
{
"node": "3c1ef780-1b15-4932-9aa9-99cb89f4195b",
"type": "main",
"index": 0
}
]
]
},
"c4f82baa-ca82-4858-8d2f-2e9dd7febe3c": {
"main": [
[
{
"node": "a739f228-5357-4ab7-bee6-62b7929d08df",
"type": "main",
"index": 0
}
],
[
{
"node": "828abb32-ab14-4a13-aaf8-2d0723df639d",
"type": "main",
"index": 0
}
]
]
},
"a739f228-5357-4ab7-bee6-62b7929d08df": {
"main": [
[
{
"node": "5b0d7c5e-cc2d-44fd-9cf2-b6edfc5e08bc",
"type": "main",
"index": 0
}
]
]
},
"3c1ef780-1b15-4932-9aa9-99cb89f4195b": {
"main": [
[
{
"node": "945e97e6-b51a-4771-931b-02ab81ef902b",
"type": "main",
"index": 0
}
]
]
},
"5b0d7c5e-cc2d-44fd-9cf2-b6edfc5e08bc": {
"main": [
[
{
"node": "433930c9-f10d-4db5-b419-9ed8a1adb5d0",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - 엔지니어링, AI 챗봇
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
릴리스 노트를 FAQ 스텁으로 변환(Jira/ClickUp)
GPT-4o를 사용한 ClickUp에서 Notion 및 Slack으로 릴리스 노트 자동 생성
If
Code
Gmail
+
If
Code
Gmail
20 노드Rahul Joshi
엔지니어링
신입 개발자 온보딩 자동화
GPT-4o를 사용한 직원 온보딩 자동화: Jira, Notion, Gmail 통합
If
Set
Code
+
If
Set
Code
21 노드Rahul Joshi
인사
세일즈 담당자 성과 추적기
HighLevel CRM, GPT-4o, Notion 및 Slack 기반 자동화된 영업 리더보드
If
Code
Slack
+
If
Code
Slack
21 노드Rahul Joshi
고객관계관리
API 속도 제한 및 인증 FAQ 테스트
GPT-4o-mini, Google 시트 및 Slack 알림을 사용한 API FAQ 품질 테스트 자동화
If
Set
Code
+
If
Set
Code
19 노드Rahul Joshi
문서 추출
AI 기반 API 오류 디렉토리 구축: GitHub에서 Airtable, Notion, Slack으로
GPT-4o를 사용하여 GitHub API 오류를 Airtable, Notion, Slack에 자동 감지 및 분류
If
Set
Code
+
If
Set
Code
30 노드Rahul Joshi
티켓 관리
개발자 채팅 질문 답변 캡처(Slack)
GPT-4o를 사용하여 Slack에서 개발자 문제를 Notion과 Airtable로 분류
If
Code
Notion
+
If
Code
Notion
20 노드Rahul Joshi
내부 위키
워크플로우 정보
난이도
고급
노드 수18
카테고리2
노드 유형9
저자
Rahul Joshi
@rahul08Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유