Templates / Sync Android env config to Gradle files with GitHub and Slack alerts

Sync Android env config to Gradle files with GitHub and Slack alerts

Ready for 3.0

by WeblineIndia ✓ · 14 views · created 2026-01-21 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Check if .env.staging Changed (Code): runs custom JavaScript code
  2. Proceed Only if ENV Changed (If): checks a condition and branches into true / false
  3. Fetch .env.staging from Repo (GitHub): get (file)
  4. Fetch gradle.properties from Repo (GitHub): get (file)
  5. Parse .env.staging into Key-Value (Code): runs custom JavaScript code
  6. Parse gradle.properties into Key-Value (Code): runs custom JavaScript code
  7. Combine Env & Gradle (Merge): merges the data from its input branches
  8. Compare ENV and Gradle Variables (Code): runs custom JavaScript code
  9. Generate New Branch Name (Code): runs custom JavaScript code
  10. Get Latest SHA of main Branch (HTTP Request): calls an HTTP API

…plus 17 more steps. See the full node list below.

Services it uses

GitHubSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Environment Config Diff & Propagate for Android Builds This workflow automatically detects changes in the .env.staging file in a GitHub repository and keeps Android configuration files (build.gradle and gradle.properties) in sync.It creates a new Git branch,…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.