πŸ“ Organize email attachments into Google Drive folders by company with Gmail & Sheets

⚑ 4,311 views Β· πŸ“ File Management

Description

Automated Email Attachment Organizer

Automatically process labeled emails with attachments into organized Google Drive folders


Who Is This For?


What Does This Workflow Solve?


Setup Guide

1. Pre-Requisites

To Create a Gmail Filter:

  1. Open your Gmail Inbox.
  2. Click the search bar and select β€œShow search options”.
  3. Enter your criteria (e.g., type has:attachment).
  4. Click β€œCreate filter”.
  5. Choose β€œApply the label: Custom_Label” and save.

2. Credentials Setup

Make sure your n8n instance is connected with:


3. Configure Your n8n Workflow Nodes

1. Trigger and Email Retrieval

2. Whitelist settings

3. File storage location


Final Steps

  1. Test Your Workflow: Run the workflow to verify emails are processed and files are uploaded correctly.

Happy Automating!

πŸ”— Nodes Used

Function, Google Sheets, Google Drive, Gmail, Gmail Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup