Okay, here are the "How It Works" and "Setup Steps" for your "Automated Social Media Content Distribution System," presented clearly in Markdown.
This system transforms manual, repetitive tasks into a smooth, automated content distribution pipeline:
Content Submission & Trigger:
Content Preparation:
social_media_text_core) that is suitable for posting across different social media platforms.Conditional Social Media Posting:
Check Facebook Post, Check Twitter Post, Check LinkedIn Post) sequentially check your preferences (based on the Post_to_Facebook, Post_to_Twitter, Post_to_LinkedIn columns in your sheet).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.Status Update & Notification:
Publication_Status column of your original row to "Published." This prevents re-posting and provides a clear record.Follow these detailed steps to build and implement this workflow in your n8n instance:
Prepare Your Google Sheet:
Title, URL, Short_Description, Image_URL, Hashtags, Post_to_Facebook, Post_to_Twitter, Post_to_LinkedIn, Publication_StatusTRUE/FALSE values for the posting flags.Gather Your API Keys & Credentials:
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:
[Copy the ID from your Google Sheet's URL][Your Sheet Name, e.g., 'Sheet1' or 'Content']RowsAddedConnections: Output to Set Content Parameters.
2. Set
Name: Set Content Parameters
Parameters:
Stringsocial_media_text_core={{ $json.Title }} - {{ $json.Short_Description }}\nRead more: {{ $json.URL }}\n{{ $json.Hashtags }}Connections: Output to Check Facebook Post.
3. If
Name: Check Facebook Post
Parameters:
={{ $json.Post_to_Facebook }}is trueConnections: True output to Post Facebook Message. False output to Check Twitter Post.
4. Facebook
Name: Post Facebook Message
Parameters:
[YOUR_FACEBOOK_PAGE_ID]={{ $json.social_media_text_core }}={{ $json.URL }}={{ $json.Image_URL }}Published (checked)Connections: Output to Check Twitter Post.
5. If
Name: Check Twitter Post
Parameters:
={{ $json.Post_to_Twitter }}is trueConnections: True output to Create Tweet. False output to Check LinkedIn Post.
6. Twitter
Name: Create Tweet
Parameters:
={{ $json.social_media_text_core }}={{ $json.Image_URL }}Connections: Output to Check LinkedIn Post.
7. If
Name: Check LinkedIn Post
Parameters:
={{ $json.Post_to_LinkedIn }}is trueConnections: True output to Share LinkedIn Update. False output to Update Publication Status.
8. LinkedIn
Name: Share LinkedIn Update
Parameters:
Share UpdateOrganization or Personal (Choose as appropriate)[YOUR_LINKEDIN_ORG_ID] (If Organization type selected)={{ $json.social_media_text_core }}={{ $json.URL }}={{ $json.Image_URL }}Connections: Output to Update Publication Status.
9. Google Sheets
Name: Update Publication Status
Parameters:
[YOUR_GOOGLE_SHEET_CONTENT_ID][Your Sheet Name, e.g., 'Sheet1' or 'Content']Update RowURL={{ $json.URL }}Publication_StatusPublishedConnections: Receives connections from both Share LinkedIn Update and the False branch of Check LinkedIn Post.
10. Slack
Name: Send Slack Notification
Parameters:
[YOUR_SLACK_CHANNEL_ID]New content "{{ $json.Title }}" successfully published to social media! 🎉 Check: {{ $json.URL }}Connections: Output to Update Publication Status.
Final Steps & Activation:


