This workflow automates social media content creation and publishing across Twitter, LinkedIn, and Facebook using AI. Key nodes include Webhook, Cron, Code, OpenAI, Set, Switch, Twitter, LinkedIn, Facebook Graph API, Google Sheets, Slack, and Respond to Webhook, leveraging OpenAI, Twitter, LinkedIn, Facebook, Google Sheets, and Slack APIs. To set up, install n8n from n8n.io for self-hosting or use cloud.n8n.io for a hosted solution. Create a Google Sheet for content scheduling (columns: platform, content_type, target_audience, topic). Register an Azure app for Google Sheets, enable Drive API, and add OAuth2 credentials to the Google Sheets node ('Content Queue Manager'). Obtain an OpenAI API key from platform.openai.com for the OpenAI node ('AI Content Generator'). For Twitter, create an app at developer.twitter.com, get OAuth1 credentials, and configure the Twitter node ('Twitter Publisher'). For LinkedIn, register an app at developer.linkedin.com, enable OAuth2, and set up the LinkedIn node ('LinkedIn Publisher'). For Facebook, get a Graph API token from developers.facebook.com and configure the Facebook Graph API node ('Facebook Publisher'). Create a Slack app at api.slack.com, obtain a Bot Token, and set it in the Slack nodes ('Notification Sender', 'Error Notification'). Set the Webhook node’s path to 'social-content-automation' with HTTPS and an API key header. Test by sending a POST request to the Webhook with JSON (e.g., {platform: 'twitter', content_type: 'post', target_audience: 'tech', topic: 'automation'}). Verify the Respond to Webhook node for 'success: true', checking post_url and content_length. Check Slack for success notifications and platform posts. If errors occur, like 400 (validation failed), ensure required fields (platform, content_type, target_audience) are included. For 401 errors, verify API credentials. Deploy by activating the Cron node for weekday scheduling (9 AM, 1 PM, 5 PM UTC). Monitor the Google Sheets node ('Analytics Logger') for request_id and publish_status.
$6.99
Workflow steps: 19
Integrated apps: webhook, code, if