Automatically Rename Gmail Attachments with GPT-4 and Save to Google Drive - n8n Workflow | Neura Market

    Automatically Rename Gmail Attachments with GPT-4 and Save to Google Drive

    ## Automatically Rename Gmail Attachments with AI and Save to Google Drive ### Who is this for? This workflow is perfect for anyone who regularly receives important email attachments like reports, invoices, or PDFs and wants them: - Renamed using clean AI-generated filenames - Automatically saved to a specific Google Drive folder - Neatly organized without manual work It is ideal for freelancers, business owners, accountants, and productivity enthusiasts. ### What does it solve? Manually naming and organizing email attachments takes time and often leads to messy files. This workflow solves that by: - Automatically downloading unread Gmail attachments - Using AI to understand the content and generate clean, consistent filenames - Saving the renamed files to your chosen Google Drive folder - Marking emails as read after processing No more confusing filenames like Attachment1.pdf. ### How it works 1. The workflow runs on a scheduled interval (every hour by default). 2. It checks Gmail for any unread emails with attachments. 3. For each email: - Downloads attachments - Extracts and reads PDF content - Uses AI to generate a new filename in the format: `YYYYMMDD-keyword-summary.pdf` 4. Saves the file to Google Drive with the new name. 5. Marks the email as read to avoid duplicates. ### How to set up? 1. Connect these accounts in your n8n credentials: - Gmail (OAuth2) - Google Drive (OAuth2) - OpenAI (API key) 2. Update the folder URL in the Google Drive node to your target folder. 3. Optional: adjust the trigger interval if you want it to run more or less often. ### How to customize this workflow to your needs - Change the AI prompt to create different naming rules, such as including sender or topic. - Dynamically set Drive folders based on email sender or subject.

    Platform
    n8n
    Category
    Productivity
    Price
    Free
    Creator
    Matt Chong | n8n Creator
    • set
    • gmail
    • merge
    • googleDrive
    • agent
    • extractFromFile
    • scheduleTrigger
    • lmChatOpenAi
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related Productivity workflows

    • Automate Personal Life Management with Telegram and Google ServicesFree
    • Automate Google Sheets Cleanup by Removing Duplicates via Profile URLs
    Free
  1. Automate Google Sheets with AI-Driven Text Generation in n8nFree
  2. Automated Daily Briefing for Executive Communication ManagementFree
  3. Automate Salon Bookings with AI, Google Calendar, and Email ConfirmationsFree
  4. Automate Meeting Scheduling with AI via TelegramFree
  5. More from Matt Chong | n8n Creator

    • Send AI-Summarized Unread Email Alerts to Slack using GPT-4 and Gmail
    All Productivity workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.