Developer & DevOps

GitHub Automation

14 nodes 222 119 Automatic trigger
Download

Workflow Description

An intelligent automation that connects GitHub with OpenAI and Google Sheets, monitoring repository events and executing development tasks automatically through an AI agent that analyzes requests and updates data.

How it works

  1. 1.Monitor GitHub events and trigger automation when specific repository actions occur
  2. 2.Send event details to OpenAI for natural language processing and content analysis
  3. 3.Execute the intelligent agent to perform requested tasks and query necessary data
  4. 4.Log results and metrics in Google Sheets for continuous monitoring and reporting

Use cases

  • Automatically generate summaries of issues and pull requests using artificial intelligence
  • Track repository activity and document contributor metrics in a centralized spreadsheet
  • Process comments and suggestions through an AI agent that understands context and intent

Requirements

  • OpenAI API key and connected GitHub account with authentication
  • Repository permissions to read events and execute automated actions
  • Google Workspace account with access permissions to create and modify sheets

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI GitHub Google Sheets AI Agent

Details

Trigger Automatic trigger
Nodes 14
Apps 4
Views 222
Downloads 119

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (14)

/

OpenAI Chat Model

OpenAI

#1

PR Trigger

Github Trigger

#2

Get file's Diffs from PR

HTTP Request

#3

Create target Prompt from PR Diffs

Code

#4

GitHub Robot

Github

#5

Add Label to PR

Github

#6

Code Best Practices

Google Sheets Tool

#7

Sticky Note

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Sticky Note2

Sticky Note

#10

Sticky Note3

Sticky Note

#11

Code Review Agent

Agent

#12

Sticky Note4

Sticky Note

#13

Sticky Note5

Sticky Note

#14