AutomationMart
Home/Browse/Automated document sync between SharePoint and Google Drive with Supabase
n8n

Automated document sync between SharePoint and Google Drive with Supabase

n8nn8n15 modulesv1.0
Google DriveLinkedIn

SharePoint → Supabase → Google Drive Sync Workflow Overview This workflow is a multi-system document synchronization pipeline built in n8n, designed to automatically sync and back up files between Microsoft SharePoint, Supabase/Postgres, and Google Drive. It runs on a scheduled trigger, compares SharePoint file metadata against your Supabase table, downloads new or updated files, uploads them to Google Drive, and marks records as completed — keeping your databases and storage systems perfectly i

At a glance

Automated document sync between SharePoint and Google Drive with Supabase is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Drive, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Drive, LinkedIn
Modules
15
Price
Free
Version
v1.0
Automated document sync between SharePoint and Google Drive with Supabase workflow diagram

About this workflow

SharePoint → Supabase → Google Drive Sync Workflow Overview This workflow is a multi-system document synchronization pipeline built in n8n, designed to automatically sync and back up files between Microsoft SharePoint, Supabase/Postgres, and Google Drive. It runs on a scheduled trigger, compares SharePoint file metadata against your Supabase table, downloads new or updated files, uploads them to Google Drive, and marks records as completed — keeping your databases and storage systems perfectly in sync. --- Workflow Structure - Data Source: SharePoint REST API for recursive folder and file discovery. - Processing Layer: n8n logic for filtering, comparison, and metadata normalization. - Destination Systems: Supabase/Postgres for metadata, Google Drive for file backup. --- SharePoint Sync Flow (Frontend Flow) - Trigger: Schedule Trigger Runs at fixed intervals (customizable) to start synchronization. - Fetch Files: Microsoft SharePoint HTTP Request Recursively retrieves folders and files using SharePoint’s REST API: /GetFolderByServerRelativeUrl(...)?$expand=Files,Folders,Folders/Files,Folders/Folders/Folders/Files - Filter Files: filter files A Code node that flattens nested folders and filters unwanted file types: - Excludes system or temporary files ($) - Excludes extensions: .db, .msg, .xlsx, .xlsm, .pptx - Normalize Metadata: normalize last modified date Ensures consistent Lastmodifieddate format for accurate comparison. - Fetch Existing Records: Supabase (Get) Retrieves current entries from n8nmetadata to compare against SharePoint files. - Compare Datasets: Compare Datasets Detects new or modified files based on UniqueId, Lastmodifieddate, and Exists. Routes only changed entries forward for processing. --- File Processing Engine (Backend Flow) - Loop: Loop Over Items2 Iterates through each new or updated file detected. - Build Metadata: get metadata and Set metadata Constructs final metadata fields: - fileid, filetitle, fileurl, filetype, foldername, lastmodifieddate Generates fileUrl using UniqueId and ServerRelativeUrl if missing. - Upsert Metadata: Insert Document Metadata Inserts or updates file records in Supabase/Postgres (n8nmetadata table). Operation: upsert with id as the primary matching key. - Download File: Microsoft SharePoint HTTP Request1 Fetches the binary file directly from SharePoint using its ServerRelativeUrl. - Rename File: rename files Renames each downloaded binary file to its original filetitle before upload. - Upload File: Upload file Uploads the renamed file to Google Drive (My Drive → root folder). - Mark Complete: Postgres Updates the Supabase/Postgres record setting Loading Done = true. - Optional Cleanup: Supabase1 Deletes obsolete or invalid metadata entries when required. --- Integrations Used | Service | Purpose | Credential | |----------|----------|-------------| | Microsoft SharePoint | File retrieval and download | microsoftSharePointOAuth2Api | | Supabase / Postgres | Metadata storage and synchronization | Supabase account 6 ayan | | Google Drive | File backup and redundancy | Google Drive account 6 rn dbt | | n8n Core | Flow control, dataset comparison, batch looping | Native | --- System Prompt Summary > “You are a SharePoint document synchronization workflow. Fetch all files, compare them to database entries, and only process new or modified files. Download files, rename correctly, upload to Google Drive, and mark as completed in Supabase.” Workflow rule summary: > “Maintain data integrity, prevent duplicates, handle retries gracefully, and continue on errors. Skip excluded file types and ensure reliable backups between all connected systems.” --- Key Features - Scheduled automatic sync across SharePoint, Supabase, and Google Drive - Intelligent comparison to detect only new or modified files - Idempotent upsert for consistent metadata updates - Configurable file exclusion filters - Safe rename + upload pipeline for clean backups - Error-tolerant and fully automated operation --- Summary > A reliable, SharePoint-to-Google Drive synchronization workflow built with n8n, integrating Supabase/Postgres for metadata management. It automates file fetching, filtering, downloading, uploading, and marking as completed — ensuring your data stays mirrored across platforms. Perfect for enterprises managing document automation, backup systems, or cross-cloud data synchronization. --- Need Help or More Workflows? Want to customize this workflow for your organization? Our team at Digital Biz Tech can extend it for enterprise-scale document automation, RAGs and social media automation. We can help you set it up for free — from connecting credentials to deploying it live. Contact: rajeet.nair@digitalbiz.tech Website: LinkedIn: You can also DM us on LinkedIn for any help. ---

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Auto-publish latest news on X with AI content generation using keywords and Bright Data

Publish Latest News on X and Other Social Media Platforms Using Keyword A comprehensive n8n automation that fetches the latest news based on keywords, generates AI-powered social media content, and automatically publishes to X (Twitter) with complete tracking and notification systems. 📋 Overview This workflow provides a professional news publishing solution that automatically discovers breaking news, creates engaging social media content using AI, and publishes to X (Twitter) with comprehensive

Free

Organize email attachments into Google Drive folders by company with Gmail & Sheets

Automated Email Attachment Organizer Automatically process labeled emails with attachments into organized Google Drive folders --- Who Is This For? - Teams or Individuals needing to: - Automatically sort invoices, receipts, and files. - Organize client documents by date. - Verify sender emails against a whitelist. - Timestamp files to avoid duplicate names. --- What Does This Workflow Solve? - 🕒 Manual Email Sorting: Saves time by automating the organization of email attachments. - 📂 Disorga

Free

Binance spot market quant AI agent | GPT-4o + Telegram (Main interface)

A professional-grade AI automation system for spot market trading insights on Binance. It analyzes multi-timeframe technical indicators, live price/order data, and crypto sentiment, then delivers fully formatted Telegram-style trading reports. 🎥 Watch Tutorial: []( --- 🧩 Required Workflows You must install and activate all of the following workflows for the syste

Free

Scrape Indeed job listings for hiring signals using Bright Data and LLMs

Scrape Indeed Job Listings for Hiring Signals Using Bright Data and LLMs How the flow runs 1. Fill the form with job position you're hunting for. 2. Bright data's scraper will scrape Indeed based on your requirments. 3. Workflow waits for the snapshot. 4. Data returns as JSON. 5. Jobs append to Google Sheets. 6. Each row goes to an LLM to analyze if you're a good fit for the job (based on your prompts). 7. The LLMswrites YES or NO next to each job opportunity, helping you find job posts tha

Free

Generate and publish SEO-optimized blog posts to Blogger with OpenAI & DALL-E

This n8n workflow, BlogBlizt: Blogger Edition, automates the complete creation and publishing of long-form blog posts to Blogger, saving you hours of content creation time. Simply send a blog title via Telegram, and it generates comprehensive 10,000+ word articles with custom conceptual images and publishes everything to your Blogger site with proper SEO structure and custom URLs. Who is this for? Blogger users, content creators, and digital marketers who want to automate high-quality, SEO-optim

Free

Social media content generator and publisher | X, Linkedin

Generate and Publish AI Content to LinkedIn and X (Twitter) with n8n Overview This n8n workflow automates the generation and publishing of AI-powered social media content across LinkedIn and X (formerly Twitter). By leveraging AI, this workflow helps social media managers, marketers, and content creators streamline their posting process. Who is this for? - Social media managers - Content creators - Digital marketers - Businesses looking to automate content generation F

Free

Simple social: Instagram single image post with Facebook API

Simple Social: Instagram Single Image Post with Facebook API Who is this workflow for? This workflow is designed for businesses, social media managers, content creators, and developers who need to automate the process of posting single images to Instagram using the Facebook API. It is ideal for anyone looking to streamline their social media posting process, saving time and ensuring consistent content delivery. Use Case / Problem Solved Manually posting images and captions on Instagram can be ti

Free

Create professional LinkedIn posts from Telegram messages using OpenAI text & image

Create LinkedIn Post from Telegram Voice or Text Message with AI Image Who's it for This workflow is perfect for busy professionals, content creators, and marketers who want to publish polished LinkedIn posts without spending time on formatting or design. Send a quick text or voice message via Telegram, and get a fully formatted LinkedIn post with a relevant AI-generated image, post it immediately on LinkedIn. Example use cases: - Entrepreneurs sharing business insights on the go wit

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free