Reusable Subworkflow Zip Multiple Files Dynamically (Compress) โ n8n ์ํฌํ๋ก
๊ฐ์
๐ฆ Zip Multiple Files Dynamically
This template enables you to dynamically bundle multiple files into a ZIP archive. Designed to be used as a Subworkflow, itโs modular, flexible, and easy to integrate into various workflows. The output is a single ZIP file with a name that includes the current date, time, and fileName.
Shoutout: Code from: Tom (mutedjam)
๐ค Who is this for?
This workflow is perfect for:
๐ Businesses automating file archiving tasks.
๐ป Developers managing files programmat
์ฌ์ฉ๋ ๋ ธ๋
์ํฌํ๋ก ๋ฏธ๋ฆฌ๋ณด๊ธฐ
์๋ ์๋ฆฌ
- 1
ํธ๋ฆฌ๊ฑฐ
์ํฌํ๋ก๋ ํธ๋ฆฌ๊ฑฐ ํธ๋ฆฌ๊ฑฐ๋ก ์์ํฉ๋๋ค.
- 2
์ฒ๋ฆฌ
๋ฐ์ดํฐ๊ฐ 4๊ฐ์ ๋ ธ๋๋ฅผ ํตํด ํ๋ฆ ๋๋ค, connecting code, compression, executeworkflowtrigger.
- 3
์ถ๋ ฅ
์ํฌํ๋ก๊ฐ ์๋ํ๋ฅผ ์๋ฃํ๊ณ ๊ตฌ์ฑ๋ ๋์์ ๊ฒฐ๊ณผ๋ฅผ ์ ๋ฌํฉ๋๋ค.
๋ ธ๋ ์ธ๋ถ ์ ๋ณด (4)
Compression
compression
Code
code
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๋ ๋ฐฉ๋ฒ
- 1์ค๋ฅธ์ชฝ์ JSON ๋ค์ด๋ก๋ ๋ฒํผ์ ํด๋ฆญํ์ฌ ์ํฌํ๋ก ํ์ผ์ ์ ์ฅํฉ๋๋ค.
- 2n8n ์ธ์คํด์ค๋ฅผ ์ด๊ณ ์ํฌํ๋ก โ ์๋ก ๋ง๋ค๊ธฐ โ ํ์ผ์์ ๊ฐ์ ธ์ค๊ธฐ๋ก ์ด๋ํฉ๋๋ค.
- 3๋ค์ด๋ก๋๋
reusable-subworkflow-zip-multiple-files-dynamically-compressํ์ผ์ ์ ํํ๊ณ ๊ฐ์ ธ์ค๊ธฐ๋ฅผ ํด๋ฆญํฉ๋๋ค. - 4๊ฐ ์๋น์ค ๋ ธ๋์ ๋ํ ์๊ฒฉ ์ฆ๋ช ๏ผAPI ํค, OAuth ๋ฑ๏ผ์ ์ค์ ํฉ๋๋ค.
- 5์ํฌํ๋ก ํ ์คํธ๋ฅผ ํด๋ฆญํ์ฌ ๋ชจ๋ ๊ฒ์ด ์๋ํ๋์ง ํ์ธํ ํ ํ์ฑํํฉ๋๋ค.
๋๋ n8n โ JSON์์ ๊ฐ์ ธ์ค๊ธฐ์ ์ง์ ๋ถ์ฌ๋ฃ๊ธฐ:
ํตํฉ
์ด ์ํฌํ๋ก ๊ฐ์ ธ์ค๊ธฐ
ํ ๋ฒ์ ํด๋ฆญ์ผ๋ก ๋ค์ด๋ก๋ ๋ฐ ๊ฐ์ ธ์ค๊ธฐ
JSON ๋ค์ด๋ก๋n8n.io์์ ๋ณด๊ธฐ์ ์์
Simon
@simonfes
ํ๊ทธ
n8n์ ์ฒ์ ์ฌ์ฉํ์๋์?
n8n์ ๋ฌด๋ฃ ์คํ์์ค ์ํฌํ๋ก ์๋ํ ๋๊ตฌ์ ๋๋ค. ์์ฒด ํธ์คํ ํ๊ฑฐ๋ ํด๋ผ์ฐ๋ ๋ฒ์ ์ ์ฌ์ฉํ์ธ์.
n8n ๋ฌด๋ฃ๋ก ์์ํ๊ธฐ โRelated File Management Workflows
Sync SharePoint to Google Drive via Supabase (n8n Workflow)
Eliminate manual file transfers and data silos with this enterprise-grade synchronization pipeline. This n8n workflow automates the heavy lifting of mirroring your Microsoft SharePoint document libraries to Google Drive while maintaining a robust audit trail in Supabase or Postgres. Designed for high-reliability environments, the automation utilizes a sophisticated delta-check logic: it fetches SharePoint metadata, compares it against your existing database records using the 'Compare Datasets' node, and identifies only new or modified files for processing. By leveraging the 'Split in Batches' node, the system handles large volumes of data without hitting memory limits, ensuring every document is securely downloaded via HTTP and re-uploaded to its destination. Once the transfer is verified, the workflow updates your database status in real-time, providing a transparent log of your synchronization history. This is an essential solution for organizations transitioning between cloud ecosystems or those requiring a redundant, cross-platform backup strategy. It effectively bridges the gap between Microsoft and Google ecosystems using Supabase as a high-performance state-management layer. **Common Use Cases:** - Automated Multi-Cloud Disaster Recovery: Maintain a real-time mirror of critical SharePoint corporate assets in Google Drive to ensure business continuity during service outages. - Cross-Departmental Collaboration: Automatically sync project documentation from an executive SharePoint site to a creative team's Google Drive folder for seamless cross-platform access. - Centralized Document Auditing: Use Supabase to track every file movement between ecosystems, creating a searchable metadata index for compliance and regulatory reporting.
Automate Threads Video Backups to Google Drive & Sheets
Streamline your social media asset management with this robust n8n automation designed for digital marketers and content creators. This workflow eliminates the manual effort of downloading Threads content by providing a seamless bridge between Instagram's text-based platform and your cloud storage. Once triggered via a simple form input, the automation utilizes a RapidAPI connection to fetch high-quality video assets, processes the binary data, and securely uploads the file to a designated Google Drive folder. Simultaneously, the workflow maintains a centralized audit log in Google Sheets, capturing essential metadata such as timestamps and file IDs. Built-in logic gates and wait nodes ensure API rate limits are respected and file transfers are verified before logging. This is an essential tool for agencies managing high volumes of social content who need a reliable, automated pipeline for content repurposing, archival compliance, or collaborative review processes. By centralizing your Threads media assets, you ensure your creative team has instant access to raw footage without the friction of manual downloads. **Common Use Cases:** - Automated Social Media Content Archiving for Compliance - Centralized Asset Library Syncing for Creative Agencies - Competitor Research and Video Content Benchmarking