Share OneDrive videos on LinkedIn, YouTube, Instagram, and Facebook via PostWire

Go to Workflow
0 views
Built by PostWire PostWire
Created on September 29, 2026

Description

Quick Overview
This workflow watches a Microsoft OneDrive folder for new video files, uploads them to PostWire, generates platform-specific captions, and publishes the video natively to LinkedIn, YouTube Shorts, Instagram Reels, and Facebook, emailing the team via Microsoft Outlook if any network fails.

How it works
Triggers when a new file is created in a selected Microsoft OneDrive folder.
Filters the event to continue only when the file MIME type indicates a video.
Derives a posting prompt from the video filename and sets the target platforms and brand voice.
Requests an upload URL from PostWire, downloads the video from OneDrive, uploads it to PostWire, and finalizes the upload to get a PostWire media URL.
Asks PostWire to generate per-platform drafts using the prompt, brand voice, and uploaded media URL.
Publishes the video to LinkedIn, YouTube, Instagram, and Facebook via PostWire using the OneDrive file ID as an idempotency key to prevent duplicate posts.
If any platform publish fails, sends a Microsoft Outlook email to the team with the error and suggested fix.

Setup
Create a PostWire account, connect your LinkedIn/YouTube/Instagram/Facebook profiles, and add an n8n HTTP Header Auth credential with Authorization: Bearer for the PostWire requests.
Add Microsoft OneDrive credentials and select the folder ID to watch in the OneDrive trigger.
Add Microsoft OneDrive credentials for the download step if needed, and ensure the workflow has access to download the files from the watched folder.
Add Microsoft Outlook credentials and replace [email protected] with your team’s distribution address.

Nodes Used (3)

HTTP Request
n8n-nodes-base.httpRequest
Microsoft OneDrive
n8n-nodes-base.microsoftOneDrive
Microsoft Outlook
n8n-nodes-base.microsoftOutlook