Attachments Gmail to drive and google sheets

Automated workflow: Attachments Gmail to drive and google sheets. This workflow integrates 13 different services: stickyNote, httpRequest, gmailTrigger, chainLlm, googleDrive. It contains 25 nodes and follows best practices for error handling and security.

Workflow Structure (14 nodes)
100%
Gmail Trigger
Gmail Trigger1
Set
Setup1
If
Only invoice mails with attachments
Http Request
Upload PDF to Drive1
Google Drive
Rename file1
Google Drive
Move to the correct folder1
Google Drive
Google Drive
Extract From File
Extract from File2
Gmail
Gmail
No Op
OpenAI Model
No Op
Apply Data Extraction Rules
No Op
Structured Output Parser
Set
Map Output
Google Sheets
Append to Reconciliation Sheet
Node Types:
trigger
transform
http
action
default
logic
Requires credentials

Prerequisites

Required Credentials (4)

Gmail

Used by: Gmail Trigger1, Gmail

Docs

Google Drive

Used by: Upload PDF to Drive1, Rename file1 +2 more

Docs

Google Sheets

Used by: Append to Reconciliation Sheet

Docs

OpenAI

Used by: OpenAI Model

Docs

Multiple services required

This workflow needs 4 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~55 min
Score: 62/100
Conditional Logic
7 Integrations

When to Use This Workflow

Automated Reporting

Automatically collect and organize data into spreadsheets for analysis.

Spend less time on data entry and more time on insights.

Email Automation

Automate email responses, forwarding, or organization based on rules.

Handle routine email tasks automatically and focus on what matters.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

workflow.json
{
  "id": "XnGZZfT5u0Cw1X3p",
  "meta": {
    "instanceId": "workflow-43deb4b3",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:44.717821",
    "updatedAt": "2025-09-29T07:07:44.717853",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Attachments Gmail to drive and google sheets",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
17
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Googledrive Workflow

Automated workflow: Googledrive Workflow. This workflow integrates 10 different services: stickyNote, gmailTrigger, func...

Google-drive
Gmail
Google-sheets
20 nodesEvent

DSP Certificate w/ Google Forms

Automated workflow: DSP Certificate w/ Google Forms. This workflow integrates 9 different services: stickyNote, googleSh...

Google-sheets
Google-drive
Googleslides
Gmail
18 nodesEvent

Agent Workflow

Automated workflow: Agent Workflow. This workflow integrates 97 different services: vectorStoreInMemory, if, gumroadTrig...

Bitly
Dropbox
Gmail
Google-calendar
113 nodesEvent

AutoClip – Automatically Generate Video Clips and Upload to YouTube

Automated workflow: AutoClip – Automatically Generate Video Clips and Upload to YouTube. This workflow integrates 11 dif...

Google-sheets
Google-drive
Readwritefile
Http-request
23 nodesManual

n8n Graphic Design Team

Automated workflow: n8n Graphic Design Team. This workflow integrates 14 different services: convertToFile, stickyNote,...

Google-sheets
Google-drive
Http-request
Gmail
37 nodesEvent

Web Server Monitor.

Automated workflow: Web Server Monitor.. This workflow integrates 6 different services: stickyNote, httpRequest, schedul...

Schedule
Google-sheets
Http-request
Gmail
7 nodesScheduled