Automate social media content distribution with Google Sheets & Slack
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Facebook Graph API
n8n-nodes-base.facebookGraphApi - X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
What it does
Okay, here are the "How It Works" and "Setup Steps" for your "Automated Social Media Content Distribution System," presented clearly in Markdown. --- How It Works (Workflow Stages) ⚙️ This system transforms manual, repetitive tasks into a smooth, automated content distribution pipeline: 1. Content Submission & Trigger: You add a new row to your designated Google Sheet with all the content details (Title, URL, ShortDescription, ImageURL, Hashtags, and boolean flags for which platforms to post to). The Google Sheets Trigger node immediately detects this new entry, initiating the workflow. 2. Content Preparation: The Set node takes the raw data from your Google Sheet and formats it into a cohesive text string (socialmediatextcore) that is suitable for posting across different social media platforms. 3. Conditional Social Media Posting: A series of If nodes (Check Facebook Post, Check Twitter Post, Check LinkedIn Post) sequentially check your preferences (based on the PosttoFacebook, PosttoTwitter, PosttoLinkedIn columns in your sheet). If a platform is marked TRUE, the corresponding social media node (Facebook, Twitter, LinkedIn) is activated to publish your content. If FALSE, that platform is skipped, and the workflow moves to the next check. 4. Status Update & Notification: After attempting to post to all selected platforms, the Google Sheets (Update) node updates the PublicationStatus column of your original row to "Published." This prevents re-posting and provides a clear record. Finally, the Slack (Notification) node sends an alert to your chosen Slack channel, confirming that the content has been successfully distributed. Setup Steps 🛠️ (Build It Yourself!) Follow these detailed steps to build and implement this workflow in your n8n instance: 1. Prepare Your Google Sheet: Create a new Google Sheet (e.g., named "Social Media Posts"). Set up the following exact column headers in the first row: Title, URL, ShortDescription, ImageURL, Hashtags, PosttoFacebook, PosttoTwitter, PosttoLinkedIn, PublicationStatus Fill in a test row with some sample data, ensuring TRUE/FALSE values for the posting flags. 2. Gather Your API Keys & Credentials: Google Sheets Credential: You'll need an OAuth2 credential for Google Sheets in n8n to allow read/write access to your sheet. Facebook Credential: An OAuth2 credential for Facebook with permissions to post to your selected Page. Twitter Credential: A Twitter API credential (API Key, API Secret, Access Token, Access Token Secret) from your Twitter Developer App. LinkedIn Credential: An OAuth2 credential for LinkedIn with permissions to share updates to your profile or organization page. Slack Credential: A Slack API token (Bot User OAuth Token) for sending messages to your channel. 3. Build the n8n Workflow Manually (10 Nodes): Start a new workflow in n8n. Drag and drop each of the following nodes onto the canvas and connect them as described below: 1. Google Sheets Trigger Name: Google Sheets Trigger Parameters: Authentication: Select your Google Sheets credential. Spreadsheet ID: Copy the ID from your Google Sheet's URL Sheet Name: Your Sheet Name, e.g., 'Sheet1' or 'Content' Watch For: Rows Events: Added Connections: Output to Set Content Parameters. 2. Set Name: Set Content Parameters Parameters: Values to Set: Add a new value: Type: String Name: socialmediatextcore Value: ={{ $json.Title }} - {{ $json.ShortDescription }}\nRead more: {{ $json.URL }}\n{{ $json.Hashtags }} Connections: Output to Check Facebook Post. 3. If Name: Check Facebook Post Parameters: Value 1: ={{ $json.PosttoFacebook }} Operation: is true Connections: True output to Post Facebook Message. False output to Check Twitter Post. 4. Facebook Name: Post Facebook Message Parameters: Authentication: Select your Facebook credential. Page ID: YOURFACEBOOKPAGEID Message: ={{ $json.socialmediatextcore }} Link: ={{ $json.URL }} Picture: ={{ $json.ImageURL }} Options: Published (checked) Connections: Output to Check Twitter Post. 5.