Skip to main content

Auto-publish Facebook posts from Google Sheets with Slack & email alerts

Workflow preview

Workflow preview
100%
Auto-publish Facebook posts from Google Sheets with Slack & email alerts preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description Simplify your social media publishing process by automating post scheduling from Google Sheets directly to Meta (Facebook Pages). This workflow detects pending posts, uploads im...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.facebookgraphapi, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.microsoftoutlook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Auto-publish Facebook posts from Google Sheets with Slack & email alerts
Workflow name
Auto-publish Facebook posts from Google Sheets with Slack & email alerts

๐Ÿ“Š Description

Simplify your social media publishing process by automating post scheduling from Google Sheets directly to Meta (Facebook Pages). ๐Ÿ“…๐Ÿ’ฌ This workflow detects pending posts, uploads images with captions to your Facebook Page, updates the sheet status, and sends real-time notifications via Slack and email โ€” keeping your marketing team always in sync. ๐Ÿš€

What This Template Does

1๏ธโƒฃ Trigger โ€“ Monitors a Google Sheet for new or pending posts every minute. โฐ 2๏ธโƒฃ Filter โ€“ Identifies the latest โ€œpendingโ€ entry for publishing. ๐Ÿ” 3๏ธโƒฃ Extract โ€“ Captures post details like caption, image URL, and ID. ๐Ÿงพ 4๏ธโƒฃ Publish โ€“ Uploads the post to your Meta (Facebook) Page using the Graph API. ๐Ÿ“ค 5๏ธโƒฃ Validate โ€“ Confirms success or failure of the post operation. โœ… 6๏ธโƒฃ Notify โ€“ Sends instant Slack and email updates on publishing status. ๐Ÿ’Œ 7๏ธโƒฃ Update โ€“ Marks the published post as โ€œCompletedโ€ in Google Sheets. ๐Ÿ“Š

Key Benefits

โœ… Hands-free publishing from Google Sheets to Meta โœ… Instant Slack and email alerts for post outcomes โœ… Prevents duplicate or failed post uploads โœ… Centralized content tracking and status updates โœ… Improves consistency and speed in social media operations

Features

  • Google Sheets trigger for post scheduling
  • Facebook Graph API integration for auto-posting
  • Slack and Outlook notifications for success/error alerts
  • Automatic sheet updates post-publication
  • Error handling and reporting for failed posts

Requirements

  • Google Sheets OAuth2 credentials
  • Facebook Page Access Token via Graph API
  • Slack Bot token for notifications
  • Outlook or SMTP credentials for email updates
  • Target Audience
  • Marketing teams managing Facebook content calendars ๐Ÿ“†
  • Social media managers seeking automated posting ๐Ÿ“ฃ
  • Agencies coordinating client content delivery ๐Ÿ“‹
  • Teams tracking campaign publishing performance ๐Ÿ“Š

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 - Workflow Overview

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

Block 2 - Sheets Setup

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

Block 3 - Success Check

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

Block 4 - Success Notifications

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

Block 5 - Error Notifications

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

Block 6 - rigger โ€“ Fetch Pending Posts (Google Sheets)

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

Block 7 - Filter Pending Posts (Code Node)

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

Block 8 - Prepare Post Data

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

Block 9 - Publish Post to Meta (Facebook Graph API)

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

Block 10 - Check Publish Success

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

Block 11 - Notify Success in Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 12 - Send Success Email (Outlook/SMTP)

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

Block 13 - Update Post Status in Google Sheet

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

Block 14 - Notify Failure in Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 15 - Send Failure Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

3. Summary Table

Workflow Auto-publish Facebook posts from Google Sheets with Slack & email alerts
Complexity advanced
Nodes 15
Categories Social Media
Author Rahul Joshi
Published 06 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10551/10551.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 Auto-publish Facebook posts from Google Sheets with Slack & email alerts do?

Description Simplify your social media publishing process by automating post scheduling from Google Sheets directly to Meta (Facebook Pages). This workflow detects pending posts, uploads im...

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.