Automatically Save Email Attachments to Nextcloud with Custom Filters
This workflow processes emails from a specified folder, uploads attachments to Nextcloud with sanitized filenames, and marks emails as read. Customize filters to manage which emails are processed.
This workflow leverages n8n to automate the process of handling email attachments. It reads emails from a designated folder using IMAP, processes each attachment to ensure filenames are sanitized and unique, and uploads them to a specified path in Nextcloud. The workflow allows for custom email filtering, such as processing only unread emails or filtering by recipient address. The filenames are automatically generated in the format: `YYYY-MM-DD_From-Sender-Name_Filename-of-attachment.pdf`.
- Platform
- n8n
- Category
- File & Document Management
- Price
- $3.99
- Creator
- Finn O'Brien
- function
- nextCloud
- emailReadImap
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
- Convert Files to Markdown with Datalab.to API in n8n$9.99
More from Finn O'Brien
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.