πŸ“ Automated document sync between SharePoint and Google Drive with Supabase

⚑ 158 views Β· πŸ“ File Management

Description

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


SharePoint Sync Flow (Frontend Flow)


File Processing Engine (Backend Flow)


Integrations Used

ServicePurposeCredential
Microsoft SharePointFile retrieval and downloadmicrosoftSharePointOAuth2Api
Supabase / PostgresMetadata storage and synchronizationSupabase account 6 ayan
Google DriveFile backup and redundancyGoogle Drive account 6 rn dbt
n8n CoreFlow control, dataset comparison, batch loopingNative

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


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: https://www.digitalbiz.tech
LinkedIn: https://www.linkedin.com/company/digital-biz-tech/
You can also DM us on LinkedIn for any help.


πŸ”— Nodes Used

HTTP Request, Postgres, Google Drive, Supabase, Schedule Trigger

πŸ“₯ Import

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

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