FM
FlowMarket
Email & Outreach Beginner ⚡ 3 n8n Nodes

Save email attachments to Nextcloud

This workflow will take all emails you put into a certain folder, upload any attachements to Nextcloud, and mark the emails as read (configurable). Attacheme...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

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: 1. **Allow lodash to be used in n8n** (or rewrite the code...) `NODE_FUNCTION_ALLOW_EXTERNAL=lodash` (environment variable) 2. Import workflow 3. Set credentials for Email & Nextcloud nodes 4. Configure to use correct folder / custom filters 5. Activate

Custom filter examples: - Only unread emails: `Custom Email Config` = `["UNSEEN"]` - Filter emails by 'to' address: `Custom Email Config` = `[["TO", "example+invoices@posteo.de"]]`

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Save email attachments to Nextcloud.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Email & Outreach Workflows

View All in Email & Outreach →