# Automated code review on GitHub push with report delivered via email
This workflow automates code change analysis after every GitHub commit using AI and delivers a structured HTML report via email. Enables developers and tech leads to get instant feedback without manual code reviews.
## Who it´s for
- Developers who want to automate code review after each commit.
- Tech leads monitoring team code quality through automated reports.
- DevOps engineers integrating AI-powered review into CI/CD pipelines.
## What the automation does
- Triggers on a GitHub push event.
- Retrieves commit details and changed files via GitHub API.
- Extracts file diffs and formats them into syntax-highlighted HTML.
- Passes changes to a LangChain agent powered by Groq LLM for logic, style, security, and spelling analysis.
- Generates structured feedback with improvement suggestions.
- Sends the final HTML report via email (e.g., using Gmail).
## What´s included
- Ready-to-use n8n workflow.
- Webhook trigger logic from GitHub.
- Integrations with GitHub, Gmail, and Groq API.
- Basic text guide for setup and adaptation.
## Requirements for setup
- GitHub account with repository access and webhook permissions.
- Gmail (or compatible SMTP) account.
- API key for Groq.
- Access to an n8n instance capable of receiving webhooks.
## Benefits and outcomes
- Saves time on initial code review.
- Early detection of bugs, vulnerabilities, and style issues.
- Simplifies code quality control without mentor or peer involvement.
- Enables integration of AI review into pre-merge development stages.
- Scalable across teams without added overhead.
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet