Automate Google Drive Uploads to Notion Database with n8n

This workflow automates the process of capturing new Google Drive file uploads and logging them as database pages in Notion. Save hours by eliminating manual entry and ensuring real-time documentation of important files.
googleDriveTrigger
notion
Learn how to Build this Workflow with AI:
Workflow Identifier: 2422
NODES in Use: Google Drive Trigger, Notion

Press CTRL+F5 if the workflow didn't load.

Visit through Desktop for Best experience

1. Opening Problem Statement

Meet Emily, a project coordinator who manages numerous client files daily. Every new file uploaded to her team’s shared Google Drive folder needs to be documented in their Notion project management database. Before automation, Emily had to manually track file uploads and log details like file name and link into Notion. This manual process took upwards of 30 minutes a day, was prone to errors, and often caused delays in project updates.

Emily needed a reliable, automatic way to record every file uploaded to a specific Google Drive folder into their Notion database in real-time, saving time and minimizing mistakes.

2. What This Automation Does

This n8n workflow automates the following key tasks whenever a new file is added to a designated Google Drive folder:

  • Detects newly uploaded files every minute using the Google Drive Trigger node.
  • Extracts essential file information like name and web view link.
  • Creates a new page entry inside a specified Notion database with the file’s name as the page title.
  • Attaches the Google Drive file URL as a file property within that Notion database page.
  • Eliminates manual logging, increasing efficiency and data accuracy.
  • Enables real-time tracking of document uploads, improving collaboration.

By automating this process, users save around 30+ minutes daily and eliminate human error from their workflow.

3. Prerequisites ⚙️

  • Google Drive Account with OAuth credentials set up to allow n8n to trigger on file uploads to a specific folder. 📁🔑
  • Notion Account with access to the database where file information will be logged, plus an integration token for API access. 🔐📊
  • n8n Account with workflow editor access. Self-hosting optional for advanced users. 🔌

4. Step-by-Step Guide

Step 1: Set Up Google Drive Trigger Node

In your n8n workflow editor, click Add Node → type and select Google Drive Trigger.

Configure it as follows:

  • Event: Select fileCreated to listen for new files.
  • Trigger On: Choose specificFolder.
  • Folder To Watch: Paste the Google Drive folder ID you want to monitor (e.g., 1_vYi00lSdzU2p6wGrnW_IqsOblOL-3zG).
  • Poll Times: Set mode to everyMinute for near real-time detection.
  • Authenticate your Google Drive account with OAuth credentials if not done yet.

On successful configuration, you should see the node ready and waiting for file creation events.

Common mistake: Ensure you use the correct folder ID from Google Drive’s folder link and that OAuth permissions allow access.

Step 2: Add Notion Node to Create Database Page

Click Add Node → search and pick Notion. Set the node parameters:

  • Resource: Select databasePage to create a new page inside your database.
  • Database ID: Enter your Notion database’s unique ID where the file info will be stored (e.g., d637c796-d33b-4768-b955-55c66a0966b7).
  • Title: Use the expression {{$node["On file upload"].json["name"]}} to set the file name as the new page’s title dynamically.
  • Properties: Map the file URL from Google Drive to a file property in Notion using this expression: {{$json["webViewLink"]}}.
  • Ensure your Notion API credentials are authenticated correctly.

After configuration, connect the On file upload Google Drive Trigger node’s output to this Notion node’s input.

You should see a new page created in your Notion database with the title matching newly uploaded file name, including a clickable link to the file.

Common mistake: Double-check your database property keys match the names in the Notion schema.

5. Customizations ✏️

  • Add File Metadata: In the Notion node, add more properties like “Created Time” or “File Size” by extending the property values and mapping corresponding Google Drive file metadata fields.
  • Multiple Folder Watching: Duplicate the Google Drive Trigger node to monitor several folders and connect them to the same or different Notion databases.
  • Notification on Upload: Add a Slack or Email node after the Notion node to notify team members whenever a new file is logged.

6. Troubleshooting 🔧

Problem: “Google Drive Trigger node does not detect new files”

Cause: Incorrect folder ID or insufficient OAuth permission scopes.

Solution: Verify folder ID by navigating to the folder in Google Drive and copying the ID from the URL. Refresh OAuth credentials with the required permission scopes including “drive.readonly” or “drive.metadata.readonly”.

Problem: “Notion page creation fails with property errors”

Cause: Mismatch between Notion database schema keys and property keys used in n8n node.

Solution: Confirm property names exactly match the database fields in Notion. Use the Notion API or developer tools to verify field keys.

7. Pre-Production Checklist ✅

  • Confirm Google Drive OAuth credentials have sufficient permissions for folder access.
  • Verify Notion integration token has write access to target database page resource.
  • Test file upload to the specified Google Drive folder and confirm automatic page creation in Notion.
  • Backup your n8n workflow JSON for rollback in case of issues.

8. Deployment Guide

Activate your workflow in n8n by toggling the workflow from inactive to active on your dashboard.

Monitor the executions in the n8n UI to confirm files are being detected and pages created as expected.

If self-hosting, ensure your instance runs continuously for real-time triggers to work reliably.

9. FAQs

Q: Can I monitor subfolders within the Google Drive folder?

A: The Google Drive Trigger watches only the specified folder, not subfolders by default. You will need multiple triggers for subfolders.

Q: Does this workflow consume many API calls?

A: Polling every minute makes frequent API calls, so monitor usage especially on API limits for Google Drive and Notion.

Q: Is my file data secure?

A: Yes, authentication uses OAuth and API tokens with permissions scoped to minimize exposure.

10. Conclusion

By setting up this automated n8n workflow, you’ve empowered your team just like Emily to efficiently track every file uploaded to Google Drive directly within Notion. You’ve eliminated manual entry, reduced errors, and saved valuable time—up to 30 minutes daily.

Next, consider expanding your automation by adding notifications for new files, syncing file metadata to spreadsheets, or connecting approvals tasks around file uploads.

Ready to make file tracking effortless? Let’s automate with n8n!

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation in n8n (Beginner Guide)

A complete beginner guide to building an AI-powered SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free