⚒️ AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search

817 views · ⚒️ Engineering

Description

AI-Powered GitHub Commit Reviewer

Overview

Workflow Name: AI-Powered GitHub Commit Reviewer
Author: Akhil
Purpose: This n8n workflow triggers on a GitHub push event, fetches commit diffs, formats them into HTML, runs an AI-powered code review using Groq LLM, and sends a detailed review via email.


How It Works (Step-by-Step)

1. GitHub Trigger

2. Parser

3. HTTP Request

4. Code (HTML Formatter)

5. Groq Chat Model

6. Simple Memory

7. AI Agent

8. Output Parser

9. Gmail

10. End Workflow


Customization Tips


Error Handling

Use Error Trigger nodes to handle failures in:


Use Cases


Required Credentials

CredentialUsed ByNotes
GitHub API (ID PSygiwMjdjFDImYb)GitHub TriggerPAT with repo and admin:repo_hook
GitHub OAuth2 APIHTTP RequestOAuth2 token with repo scope
Groq - Akhil (ID HJl5cdJzjhf727zW)Groq Chat ModelAPI Key from GroqCloud
Gmail OAuth2 - Akhil (ID wqFUFuFpF5eRAp4E)GmailGmail OAuth2 for sending email

Final Note

Made with ❤️ using n8n by Akhil.

🔗 Nodes Used

Github Trigger, HTTP Request, Gmail, AI Agent, Simple Memory, Groq Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup