Skip to main content

Automate video story publishing to Facebook Page using Google Drive and Sheets

Workflow preview

Workflow preview
100%
Automate video story publishing to Facebook Page using Google Drive and Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated Facebook Page Story Video Publisher (Google Drive → Facebook → Google Sheet) Recommended: Self hosted via tino.vn/vps n8n?affid=388 — use code VP...

Best for

  • Social Media automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googledrive, n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Đỗ Thành Nguyên.

Original n8n.io source

1.1 Workflow description

Title
Automate video story publishing to Facebook Page using Google Drive and Sheets
Workflow name
Automate video story publishing to Facebook Page using Google Drive and Sheets

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

  • Google Drive Credentials: OAuth2 credentials for Google Drive to let n8n download video files.

  • Google Sheets Credentials: OAuth2 credentials for Google Sheets to read the posting queue and update statuses.

  • Google Sheet: A spreadsheet (ID: 1RnE5O06l7W6TLCLKkwEH5Oyl-EZ3OE-Uc3OWFbDohYI) containing:

    • File ID — the video’s unique ID in Google Drive.
    • Stories — posting status column (leave empty for pending videos).
    • row_number — used for updating the correct row after posting.

3. Facebook Setup

  • Page ID: Your Facebook Page ID (currently hardcoded as 115432036514099 in the info node).
  • Access Token: A Page Access Token with permissions such as pages_manage_posts and pages_read_engagement. This token is hardcoded in the info node and again in Step 3. Post video.

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

  • ⚠️ Token Security: Hardcoding your Access Token inside the info node is not recommended. Tokens expire and expose your Page to risk if leaked. 👉 Action: Replace the static token with a secure Credential setup that supports token rotation.

  • Loop Efficiency: The “false” output of the If node currently loops back to the Get Row Sheet node. This creates unnecessary cycles if no videos are found. 👉 Action: Disconnect that branch so the workflow stops gracefully when no unposted videos remain.

  • Status Updates: To prevent re-posting the same video, the final Update upload status in sheet node must update the Stories column (e.g., write "POSTED"). 👉 Action: Add this mapping explicitly to your Google Sheets node.

  • Automated File ID Sync: This workflow assumes that the Google Sheet already contains valid File IDs. 👉 You can build a secondary workflow (using Schedule Trigger1 → Search files and folders → Append or update row in sheet) to automatically populate new video File IDs from your Google Drive.


Result

Once active, this workflow automatically:

  • pulls pending videos from your Google Sheet,
  • uploads them to Facebook Stories,
  • and marks them as posted — all without manual intervention.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 3 - info

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Search files and folders

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 5 - Schedule Trigger1

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Append or update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Step 1: Initialize session

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Set to the total size in bytes

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Step 2: Upload the stored file

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Step 3. Post video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Get upload status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Update upload status in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Get Row Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate video story publishing to Facebook Page using Google Drive and Sheets
Complexity advanced
Nodes 17
Categories Social Media
Author Đỗ Thành Nguyên
Published 23 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10067/10067.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate video story publishing to Facebook Page using Google Drive and Sheets do?

Automated Facebook Page Story Video Publisher (Google Drive → Facebook → Google Sheet) Recommended: Self hosted via tino.vn/vps n8n?affid=388 — use code VP...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media use case.