A crucial n8n workflow template that loads content from multiple Google Drive documents within a specified folder and aggregates them into a single, clean JSON dictionary using an n8n Code node. Ideal for RAG or AI inputs.
Download this n8n workflow template and start using it instantly.
Processing large amounts of documentation often requires reading content from multiple files and presenting it in a standardized format. This specialized n8n workflow addresses the challenge of managing multi-item outputs from file operations. It uses the Google Drive n8n node to identify all files in a folder, downloads the content using the Google Docs n8n node, and critically, uses a Set n8n node followed by a custom Code n8n node to combine all these separate items into one master dictionary. This single-item output, where the key is the filename and the value is the clean content, is extremely valuable for downstream AI processing, search indexing, or complex data transformations. This structure is a powerful example of advanced n8n automation logic, suitable for use as a component in larger n8n templates.
This n8n workflow is initiated by the 'When Executed by Another Workflow' n8n trigger, making it an excellent component for parent n8n templates or for manual testing.
aggregatedDict). It also includes string cleaning logic to compress excessive newlines, ensuring clean output. The result of this complex n8n node is a single item containing the complete aggregated dictionary, ready for the next step in your larger n8n workflow.To deploy this robust n8n workflow template:
folderId you wish to process, rather than the default 'Root folder.'folderId.={{ $json.id }} to fetch the document ID passed from the previous n8n node.={{ $('Get files from folder').item.json.name }} (the file name) and the value is the document content (={{ $json.content }}). This prepares the data for final aggregation by the next n8n node.Automate scraping websites for new PDFs, extracting content, generating executive summaries using AI (Llama via OpenRouter), and tracking processing status in Google Sheets with this n8n workflow.

Automate flight price tracking using this n8n workflow. Monitor API data against historical records and receive instant price drop or increase alerts via Gmail and Telegram.

Use this powerful n8n workflow to automate hourly monitoring of airport delay data via the FlightStats API. Log results to Google Sheets and send immediate Slack alerts for severe delays. Explore other useful n8n templates.

Automate ETL processes by downloading CSV data, transforming fields using an n8n workflow, and loading records directly into a Snowflake table. Use this pre-built n8n template.

Use this structured n8n workflow to mock complex CRM data, transform contact properties (Name, Email), and prepare the clean output for insertion into any database or Google Sheet.








































