Use this powerful n8n workflow to automate syncing multi-density Android drawable assets (PNGs) directly from Figma to a GitHub repository, complete with standardized file paths and a ready-to-merge Pull Request. This n8n template streamlines design-to-development handoffs.
Download this n8n workflow template and start using it instantly.
Mobile Development Teams: Who need reliable, automated syncing of UI assets.
Design Ops Specialists: Looking to enforce design system standards directly in the codebase.
n8n Automation Engineers: Seeking advanced n8n templates for integrating design tools (Figma) with code repositories (GitHub).
Anyone: Who frequently manages Android resource folders (drawable-mdpi, drawable-hdpi, etc.) and wants to save manual effort.
Managing multi-density assets for Android can be tedious and prone to human error. This comprehensive n8n workflow solves this problem by creating an automated pipeline from Figma directly into your GitHub repository.
It ensures that all assets matching specific naming conventions (like 'icon' or 'button') are exported at the correct scales (1x, 1.5x, 2x, 3x) required for mdpi, hdpi, xhdpi, and xxhdpi folders. This eliminates manual downloading, renaming, and staging, significantly speeding up the design-to-development handover process. By utilizing multiple n8n node steps for API calls, data transformation, and file handling, this sophisticated n8n template guarantees that your drawable assets are standardized, correctly structured, and presented via a clean Pull Request, ready for code review.
This automation starts with the Execute workflow n8n trigger.
Find Icons & Buttons) scans the Figma file structure recursively, identifying specific components (like icons and buttons) that are targeted for export.Predefine drawable folders) defines the necessary Android folder names (e.g., drawable-mdpi) and their corresponding scale factors (1, 1.5, 2, 3).Download Each Image HTTP Request n8n node downloads the binary PNG file data for all resolutions.Edit File names Code n8n node standardizes the naming convention and defines the full resource path within the Git repository (e.g., app/src/main/res/drawable-hdpi/my_asset.png).Prepare Pull Request, runs only once per execution cycle. This final HTTP Request n8n node pushes all committed files to a feature branch and creates the final GitHub Pull Request, completing the automated n8n workflow.To deploy this powerful n8n workflow template, follow these steps:
Get Figma Export URL and get figma Url). Replace FIGMAPROJECTID in the URLs and FIGMATOKEN in the header parameters with your actual Figma file ID and Personal Access Token.Edit File names Code n8n node, update the placeholders for REPOOWNER and REPONAME to match your target repository.Prepare Pull Request HTTP Request n8n node, replace GITHUBTOKEN in the Authorization header with a valid GitHub Personal Access Token that has repository write permissions.This n8n workflow relies on several specialized n8n node types to handle asset processing and Git integration:
Execute workflow (n8n trigger): Serves as the starting point for this specific n8n workflow, allowing manual or test execution.
Get Figma Export URL / get figma Url (HTTP Request n8n node): Crucial for interacting with the Figma API. The first fetches the file structure; the second uses dynamic expressions (={{ $json["scale"] }}) to request the specific image export URLs based on the required Android density scale.
Find Icons & Buttons (Code n8n node): Implements recursive logic to traverse the Figma document JSON structure and filter nodes by names containing 'icon' or 'button', providing targeted data for the downstream n8n nodes.
Predefine drawable folders (Code n8n node): Statically defines the four required Android drawable folders and their corresponding scale factors (1, 1.5, 2, 3), preparing the data for the merging step.
Merge (n8n node): Used twice in this n8n workflow. The first instance combines every identified asset with every density scale defined. The second combines the downloaded binary files with the structured metadata.
Filter nullable url of nodes (Code n8n node): Essential for robustness, ensuring that only items that received a valid export URL from Figma proceed to the download stage, preventing errors in the subsequent HTTP Request n8n node.
Download Each Image from the Figma Export URL (HTTP Request n8n node): Downloads the actual image files. Configured to store the response as binary file data.
Edit File names (Code n8n node): Performs vital data manipulation, converting component names to a safe Android format (lowercase, underscores) and setting up the full file path and necessary GitHub repository parameters for the PR step.
Prepare Pull Request action, which affects the repository state, is only executed once per full batch processing cycle, optimizing this robust n8n workflow.Use this comprehensive n8n workflow to automatically sync Adobe Commerce orders and customer data to KlickTipp. Segment contacts instantly based on purchase value and product SKUs using conditional routing, ensuring targeted marketing campaigns. Explore other powerful n8n templates today.

Use this personalized n8n workflow to switch off your work brain using an AI Agent. This n8n template integrates a Webhook n8n trigger and GPT-4.1 for structured, motivational output.

Use this specialized n8n workflow template to create an MCP server tool for converting Swagger definitions to OpenAPI specifications, API validation, and status checks. This is an essential n8n node configuration for dev teams.

Use this comprehensive n8n workflow to capture Jotform leads, automatically provision Attio CRM (creating stages/fields), update deal status (Pending/Urgent), and instantly notify your sales team via Slack. Essential n8n templates for robust CRM integration.

Use this powerful n8n workflow to automatically sync Azure DevOps Stories to GitHub Issues, randomly assign collaborators, and maintain a traceable index of all corresponding IDs in Google Sheets.

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







































