Learn how to use this modular n8n workflow template to dynamically zip multiple files (images, PDFs, documents) into a single compressed archive using the n8n Compression node.
Download this n8n workflow template and start using it instantly.
Handling variable numbers of files for compression can be complex in automation platforms. This n8n workflow provides a sophisticated solution by designing a reusable sub-workflow specifically for dynamic file zipping. Instead of duplicating the compression logic in every parent n8n workflow, you simply call this module, passing the files you need to zip. This robust n8n template ensures that regardless of whether you input one image or twenty documents, they are efficiently bundled into a single ZIP file, named with a timestamp. This approach significantly streamlines complex file operations and demonstrates the power of modular design within the n8n environment. This core logic makes your main n8n workflow cleaner and easier to maintain.
This modular n8n workflow starts with the execution trigger, expecting input items (files) from a parent n8n workflow.
Execute Workflow Trigger n8n node starts the process, awaiting input files from the calling n8n automation.data0, data1). It then compiles a comma-separated list of these newly created binary keys, which is passed forward as standard JSON data. This dynamic preparation is what allows the subsequent n8n node to handle any number of files.Compression n8n node receives the input. Using the dynamic list provided by the previous n8n node, it grabs all the specified binary properties and compresses them into a single ZIP file. The file is automatically named using a timestamp (e.g., dataYYYY-MM-DD-HHmm.zip).Prepare Output n8n node uses the n8n Set node functionality to ensure the resulting ZIP file name has no spaces, optimizing it for transfer or storage in subsequent steps of the parent n8n workflow.To utilize this n8n workflow template, follow these steps:
Execute Workflow n8n node (not the trigger node) and configure it to call this specific sub-workflow. Ensure you pass the files as input items to the Execute Workflow n8n node.compress the files specified by the dynamically generated binary property list (={{ $json.binary_keys }}). The resulting filename is dynamically generated using the current date and time.This powerful n8n workflow template automatically removes old retweets from your X (Twitter) profile on a scheduled basis, ensuring clean, on-brand social media hygiene. Uses specialized n8n node features for safe batch processing.

Use this robust n8n workflow template to implement conditional retries on failing API calls, distinguishing between transient and permanent errors to ensure reliability and maximize system uptime.

Use this powerful n8n workflow template to fetch and filter the latest Kagi News stories by a specific category using HTTP requests and core n8n nodes for precise data extraction.

Automate complex RevOps tasks and strategic analysis using this advanced n8n workflow. Deploy a CRO Agent powered by O3 and specialist GPT-4.1-mini agents for forecasting, attribution, and growth strategy. Get powerful n8n templates for AI operations.


I am an E-commerce entrepreneur specializing in spare parts, with a strong passion for automation and AI. I leverage n8n to build complex workflows, integrating tools like SeaTable, Supabase with various E-com platforms. I'm dedicated to continuously improving workflow processes, particularly in the e-commerce sector.







































