Skip to main content

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

Workflow preview

Workflow preview
100%
AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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, format...

Best for

  • Engineering automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.githubtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.gmail, n8n-nodes-base.code, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatgroq

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Akhil Varma Gadiraju.

Original n8n.io source

1.1 Workflow description

Title
AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search
Workflow name
AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search

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

  • Node Type: n8n-nodes-base.githubTrigger
  • Purpose: Initiates the workflow on GitHub push events.
  • Repo: akhilv77/relevance
  • Output: JSON with commit and repo details.

2. Parser

  • Node Type: n8n-nodes-base.set
  • Purpose: Extracts key info (repo ID, name, commit SHA, file changes).

3. HTTP Request

  • Node Type: n8n-nodes-base.httpRequest
  • Purpose: Fetches commit diff details using GitHub API.
  • Auth: GitHub OAuth2 API.

4. Code (HTML Formatter)

  • Node Type: n8n-nodes-base.code
  • Purpose: Formats commit info and diffs into styled HTML.
  • Output: HTML report of commit details.

5. Groq Chat Model

  • Node Type: @n8n/n8n-nodes-langchain.lmChatGroq
  • Purpose: Provides the AI model (llama-3.1-8b-instant).

6. Simple Memory

  • Node Type: @n8n/n8n-nodes-langchain.memoryBufferWindow
  • Purpose: Maintains memory context for AI agent.

7. AI Agent

  • Node Type: @n8n/n8n-nodes-langchain.agent
  • Purpose: Executes AI-based code review.
  • Prompt: Reviews for bugs, style, grammar, and security. Outputs styled HTML.

8. Output Parser

  • Node Type: n8n-nodes-base.code
  • Purpose: Combines commit HTML with AI review into one HTML block.

9. Gmail

  • Node Type: n8n-nodes-base.gmail
  • Purpose: Sends review report via email.
  • Recipient: [email protected]

10. End Workflow

  • Node Type: n8n-nodes-base.noOp
  • Purpose: Marks the end.

Customization Tips

  • GitHub Trigger: Change repo/owner or trigger events.
  • HTTP Request: Modify endpoint to get specific data.
  • AI Agent: Update the prompt to focus on different review aspects.
  • Groq Model: Swap for other supported LLMs if needed.
  • Memory: Use dynamic session key for per-commit reviews.
  • Email: Change recipient or email styling.

Error Handling

Use Error Trigger nodes to handle failures in:

  • GitHub API requests
  • LLM generation
  • Email delivery

Use Cases

  • Instant AI-powered feedback on code pushes.
  • Pre-human review suggestions.
  • Security and standards enforcement.
  • Developer onboarding assistance.

Required Credentials

Credential Used By Notes
GitHub API (ID PSygiwMjdjFDImYb) GitHub Trigger PAT with repo and admin:repo_hook
GitHub OAuth2 API HTTP Request OAuth2 token with repo scope
Groq - Akhil (ID HJl5cdJzjhf727zW) Groq Chat Model API Key from GroqCloud
Gmail OAuth2 - Akhil (ID wqFUFuFpF5eRAp4E) Gmail Gmail OAuth2 for sending email

Final Note

Made with ❤️ using n8n by Akhil.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Github Trigger

Type / Role
n8n-nodes-base.githubTrigger - githubTrigger
Config choices
Version 1

Block 2 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 4 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Parser

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Output Parser

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 8 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 9 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 10 - End Workflow

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search
Complexity intermediate
Nodes 14
Categories Engineering, AI Summarization
Author Akhil Varma Gadiraju
Published 29 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4477/4477.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search do?

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, format...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI Summarization use case.