Proactively monitor team wellness using this advanced n8n workflow. It analyzes GitHub commits, PRs, and workflows for burnout indicators (late-night/weekend activity) and uses an n8n AI Agent powered by Groq to generate actionable wellness reports via Gmail and GitHub issues.
Download this n8n workflow template and start using it instantly.
Maintaining a healthy pace is crucial for long-term development success. This sophisticated n8n workflow provides a solution to proactively monitor developer workload patterns, detecting early signs of burnout such as excessive late-night or weekend commits. By leveraging the analytical power of a dedicated n8n AI Agent and high-speed LLMs (like those available via Groq), the system transforms raw GitHub data into objective, professional wellness reports complete with health scores and concrete recommendations.
This specific n8n templates demonstrates a powerful use case for combining core n8n node logic (HTTP requests, code execution) with modern AI tools. It ensures that critical wellness data is not just collected, but intelligently interpreted, allowing managers to intervene positively before issues escalate.
This n8n workflow executes on a regular schedule, acting as a proactive monitoring system.
Schedule Trigger n8n node, which initiates the monitoring cycle weekly.Config n8n node sets critical variables, including the target repoowner, reponame, the period of analysis (defaulting to 7 days), and the emailreport recipient.Github Get Workflows, Github Get Commits, and Get Prs. These use HTTP Request and GitHub n8n nodes, configured with dynamic filtering to retrieve data only within the specified period.Analyze Patterns Developer n8n node, a Custom Code script, takes the raw data. It iterates through all commits to calculate metrics like total commits, failed workflow counts, and crucially, counts of latenightcommits (22:00–6:00) and weekend_commits. This structured data is prepared for the AI Agent.AI Agent n8n node is the core intelligence. It receives the calculated patterns and is instructed with strict guidelines (e.g., focus on systemic issues, avoid personal judgments). It uses the Groq Chat Model Report as its underlying LLM.Update Github Issue: Used to create or update an issue in the monitored repository for ongoing tracking of team wellness concerns.Send a message in Gmail: Sends the generated wellness report (which includes a health score and recommendations) to the designated stakeholder email address. This demonstrates how an n8n workflow can seamlessly integrate multiple services based on intelligent decision-making.To deploy this n8n workflow template, follow these steps:
Config n8n node (Set node) and customize the following JSON parameters:repoowner: The owner/organization of the GitHub repository.reponame: The name of the repository to monitor.period: The number of days for the analysis window (default is 7).emailreport: The email address of the team lead or stakeholder who should receive the report. Schedule Trigger (n8n trigger): Sets the periodic execution of the n8n workflow, running weekly to provide regular wellness checks.
Config (Set n8n node): Acts as a global configuration source, storing repository details and the reporting email address.
Github Get Workflows / Github Get Commits / Get Prs (HTTP Request & GitHub n8n nodes): These nodes are responsible for data ingestion, retrieving the fundamental activity metrics required for burnout analysis.
Analyze Patterns Developer (Code n8n node): This is a custom script that performs the feature engineering. Key function: Calculating developer-level metrics, identifying late-night commits (22:00–6:00), and aggregating weekend activity into a clean JSON structure for the AI.
Groq Chat Model Report (LLM n8n node): Serves as the high-speed large language model used by the AI Agent for analysis, allowing for quick processing of complex data patterns.
AI Agent (n8n node): The core decision engine. It takes the statistical patterns, applies its programmed rules (strict guardrails against personal judgment), and uses available tools (Update Github Issue and Send a message in Gmail) to deliver the outcome.
Automate financial monitoring using n8n. This powerful n8n workflow detects stock price anomalies (±2σ), retrieves related news, translates it with DeepL, and sends instant bilingual Slack alerts.

Leverage this powerful n8n workflow to monitor Reddit for specific user problems, classify them using Google Gemini, automatically generate solutions, and log results in Google Sheets. This n8n template showcases advanced AI automation.

Use this advanced n8n workflow to automatically detect keyword cannibalization across multiple client websites using Google Search Console data and GPT-4o analysis, generating actionable SEO reports.

Use this powerful n8n workflow to automatically detect unused Android feature flags (Kotlin/Java) in GitLab by comparing them against LaunchDarkly status. Integrate Jira and Slack for cleanup, reducing technical debt.

Use this sophisticated n8n workflow to automatically search YouTube for potentially viral videos, calculate a unique Algorithmic Lift Score, and generate an insightful AI-powered analysis report delivered via email.

I embarked on my coding journey at the age of 13, driven by a deep passion for AI, automation, and engineering. Over the years, I've taken on various roles including Developer, Engineer, Senior Engineer, Architect, Principal Engineer, Freelance Consultant, and Head of Engineering.







































