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.
Download this n8n workflow template and start using it instantly.
Managing feature flags in large codebases can quickly lead to technical debt if unused flags are left active or cluttering the configuration. This sophisticated n8n workflow provides an automated solution for sweeping 'dead' flags.
By leveraging n8n’s ability to connect diverse services—GitLab for code, LaunchDarkly for flag status, Google Sheets for logging, and Jira/Slack for alerting—this automation runs weekly. It drastically reduces manual effort required for feature flag cleanup, ensuring your Android application remains lean and maintainable. This powerful n8n workflow is a prime example of complex, multi-system automation.
This n8n workflow executes weekly, driven by the Schedule Trigger n8n node:
GitLab n8n node fetches the specified codebase content.Detect flags Code n8n node uses a Regular Expression (ENABLE[A-Z0-9]+) to identify all feature flags currently referenced in the Kotlin/Java source files.HTTP Request n8n node queries the LaunchDarkly API to retrieve a list of all defined flags and their operational status (archived, production status).Find dead flags Code n8n node compares the two lists. A flag is marked as 'dead' if it is not found in the codebase AND is either archived in all environments or turned off in production. This custom n8n node ensures highly accurate detection.Google Sheets document for historical tracking and review.Check Dead Flags If n8n node checks if the previous step produced any dead flags.Jira Software with a clear summary: 'Dead feature flag: [Flag Name]'.Slack about the detected issues. This robust use of n8n templates ensures rapid response to emerging technical debt.To install this n8n workflow template, follow these steps:
HTTP Request n8n node, typically placed in the headers for authentication.Schedule Trigger time if the weekly 10 AM schedule is unsuitable.GitLab and Google Sheets n8n nodes with the correct repository and document IDs.Jira Software n8n node.\/(ENABLE[A-Z0-9]+)\/g) to extract a set of currently utilized feature flag names./api/v2/flags/default) to retrieve the current state of all feature flags, their environments, and archival status.Find dead flags n8n node, providing a persistent record of detected unused flags.deadFlag variable exists in the input data. Only if dead flags are found does the n8n workflow proceed down the success branch.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.

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

A Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.







































