Skip to content
FlowHubFluxonLab
Nextcloud
Nextcloudfree

Save email attachments to Nextcloud

by Manuadapted from n8n official workflow galleryUpdated Aug 2026
RequiresNextcloudNextcloud
Share Post Share
ERIMAP EmailNextcloudFuMap each attachmentMap each attach…12
1/5
STEPS · 2
Execution path through the workflow

This workflow will take all emails you put into a certain folder, upload any attachements to Nextcloud, and mark the emails as read (configurable). Attachements will be saved with automatically generated filenames: 2021-01-01_From-Sender-Name_Filename-of-attachement.pdf Instructions: Allow lodash to be used in n8n (or rewrite the code...) NODE_FUNCTION_ALLOW_EXTERNAL=lodash (environment variable) Import workflow Set credentials for Email & Nextcloud nodes Configure to use correct folder / custom filters Activate Custom filter examples: Only unread emails: Custom Email Config = ["UNSEEN"] Filter emails by 'to' address: Custom Email Config = [["TO", "[email protected]"]]

Tags

n8nreference-onlynext-cloud
Connects
nextcloudNextcloud
CategoryNextcloud
Triggermanual
Complexitysimple
Nodes3
AddedNov 29, 2021

Related workflows

See all Nextcloud
Wnextcloud
free

Manage folders in Nextcloud

Companion workflow for enhanced Nextcloud node docs

by amudhan
Wnextcloud
free

Automatically Upload Scanned Documents to Nextcloud via ScanservJS

This workflow connects a USB scanner to Nextcloud via ScanservJS and the integrated API. It checks for new scans at a scheduled time (e.g., every 5 minutes). If there are any, they are automatically retrieved via HTTP request and then saved to a desired Nextcloud folder. Ideal for home offices, offices, or maker projects with Raspberry Pi and network scanners. Nodes used: Schedule Trigger – starts the flow cyclically HTTP Request – retrieves document data from ScanservJS Nextcloud Node – uploads the file directly to your Nextcloud account Requirements: Local installation of ScanservJS (e.g., on a Raspberry Pi) Configured USB scanner Nextcloud access with write permissions in the target folder

by Joachim Hummel
Wnextcloud
free

Backs up n8n Workflows to NextCloud

Temporary solution using the undocumented REST API for backups with file versioning (Nextcloud)

by dave