πŸ“± Automate video story publishing to Facebook Page using Google Drive and Sheets

⚑ 670 views Β· πŸ“± Social Media & Email Marketing

Description

Automated Facebook Page Story Video Publisher (Google Drive β†’ Facebook β†’ Google Sheet)

> Recommended: Self-hosted via tino.vn/vps-n8n?affid=388 β€” use code VPSN8N for up to 39% off.

This workflow is an automated solution for publishing video content from Google Drive to your Facebook Page Stories, while using Google Sheets as a posting queue manager.


What This Workflow Does (Workflow Function)

This automation orchestrates a complete multi-step process for uploading and publishing videos to Facebook Stories:

  1. Queue Management: Every 2 hours and 30 minutes, the workflow checks a Google Sheet (Get Row Sheet node) to find the first video whose Stories column is empty β€” meaning it hasn’t been posted yet.

  2. Conditional Execution: An If node confirms that the video’s File ID exists before proceeding.

  3. Video Retrieval: Using the File ID, the workflow downloads the video from Google Drive (Google Drive node) and calculates its binary size (Set to the total size in bytes node).

  4. Facebook 3-Step Upload: It performs the Facebook Graph API’s three-step upload process through HTTP Request nodes:

    • Step 1 – Initialize Session: Starts an upload session and retrieves the upload_url and video_id.
    • Step 2 – Upload File: Uploads the binary video data to the provided upload_url.
    • Step 3 – Publish Video: Finalizes and publishes the uploaded video as a Facebook Story.
  5. Status Update: Once completed, the workflow updates the same row in Google Sheets (Update upload status in sheet node) using the row_number to mark the video as processed.


Prerequisites (What You Need Before Running)

1. n8n Instance

> Recommended: Self-hosted via tino.vn/vps-n8n?affid=388 β€” use code VPSN8N for up to 39% off.

2. Google Services

3. Facebook Setup


Usage Guide and Implementation Notes

How to Use

  1. Queue Videos: Add video entries to your Google Sheet. Each entry must include a valid Google Drive File ID. Leave the Stories column empty for videos that haven’t been posted.
  2. Activate: Save and activate the workflow. The Schedule Trigger will automatically handle new uploads every 2 hours and 30 minutes.

Implementation Notes


βœ… Result

Once active, this workflow automatically:

πŸ”— Nodes Used

Google Sheets, HTTP Request, Google Drive, Schedule Trigger

πŸ“₯ Import

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

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