Auto-answer GitHub PR questions with GPT-4o, Notion & Slack for dev teams
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs on Github events (pull request review comment). Along the way it connects Azure OpenAI Chat Model, GitHub, Notion and Google Sheets and 1 more.
How it runs
Trigger: On Github events (pull request review comment).
- Validate GitHub Webhook Payload (If): checks a condition and branches into true / false
- Detect Developer Question in PR Comment (If): checks a condition and branches into true / false
- Log Errors in Google Sheets (Google Sheets): append
- Generate AI Response for Developer Question (AI Agent): runs an AI agent, with model: Configure GPT-4o Model
- Extract GitHub Comment Metadata (Code): runs custom JavaScript code
- Save Comment Insight to Notion Database (Notion): work with database page
- Post AI Answer & PR Link to Slack (Slack): uses Slack
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Github Trigger
n8n-nodes-base.githubTrigger - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Notion
n8n-nodes-base.notion - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
📘 Description: This workflow automates developer Q&A handling by connecting GitHub, GPT-4o (Azure OpenAI), Notion, Google Sheets, and Slack. Whenever a developer comments on a pull request with a “how do I…” or “how to…” question, the workflow automatically…