Automatically Save Email Attachments to Nextcloud with Custom Filters - n8n Workflow | Neura Market
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
Free
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.