Templates / Auto-answer GitHub PR questions with GPT-4o, Notion & Slack for dev teams

Auto-answer GitHub PR questions with GPT-4o, Notion & Slack for dev teams

Ready for 3.0

by Rahul Joshi ✓ · 118 views · created 2025-10-30 · Engineering, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Validate GitHub Webhook Payload (If): checks a condition and branches into true / false
  2. Detect Developer Question in PR Comment (If): checks a condition and branches into true / false
  3. Log Errors in Google Sheets (Google Sheets): append
  4. Generate AI Response for Developer Question (AI Agent): runs an AI agent, with model: Configure GPT-4o Model
  5. Extract GitHub Comment Metadata (Code): runs custom JavaScript code
  6. Save Comment Insight to Notion Database (Notion): work with database page
  7. Post AI Answer & PR Link to Slack (Slack): uses Slack

Services it uses

Azure OpenAI Chat ModelGitHubNotionGoogle SheetsSlack

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)

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…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.