Summarize Nextcloud documents with IONOS AI Model Hub for sovereign AI
This n8n template shows you how to automate document summarization while keeping full digital sovereignty. By combining Nextcloud for file storage and the IONOS AI Model Hub, your sensitive documents stay on European infrastructure—fully outside US CLOUD Act jurisdiction.
Use cases
Daily briefings: Automatically summarize lengthy reports as soon as your team uploads them. Meeting notes: Turn uploaded transcripts into clear, actionable bullet points—hands-free. Research management: Get instant summaries of academic papers or PDFs the moment they land in your research folder.
How it works
A Schedule Trigger kicks off the workflow at regular intervals. It calls the Nextcloud List a Folder node to retrieve all files in your chosen directory.
A Code node then acts as a filter, checking each file's last-modified timestamp and letting through only files changed within the past 24 hours.
Filtered files are pulled into the workflow via the Nextcloud Download a File node. From there, the Summarization Chain takes over: a Default Data Loader and Token Splitter prepare the content, and the IONOS AI Model Hub Chat Model generates a concise, structured summary.
The final output is saved back to your Nextcloud instance as a note for your team.
Good to know
Nextcloud setup: Make sure your Nextcloud credentials include both read and write permissions—one to download source files, one to upload the generated summary.
Model selection: The IONOS AI Model Hub currently offers several LLMs, including Llama 3.1 8B, Mistral Nemo 12B, Mistral Small 24B, Llama 3.3 70B, GPT-OSS 120B, and Llama 3.1 405B. For document summarization, Llama 3.3 70B strikes the best balance between output quality and speed. If you're processing high volumes or need faster turnaround, Mistral Nemo 12B is a leaner alternative.
How to set it up
Set your folder path in the List a Folder node to the directory you want to monitor. In the New Files Only code node, adjust the 24 value to change how far back the workflow looks. Open the Summarization Chain and define your output format—for example: "Summarize this document in 3 bullet points."
Requirements
Nextcloud account for file hosting and retrieval IONOS Cloud account to access the AI Model Hub
Related Templates
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Add product ideas to Google Sheets via a Slack
Use Case This workflow is a slight variation of a workflow we're using at n8n. In most companies, employees have a lot o...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments