๐ฑ Generate social media posts with GPT-4 for LinkedIn, X, and Facebook
โก 137 views ยท ๐ฑ Social Media & Email Marketing
Description
Automatically generates engaging marketing posts using OpenAI and publishes them across LinkedIn, Twitter (X), and Facebook. Creates platform-optimized content with hashtags, emojis, and proper formatting.
How it works
- Trigger โ Runs daily at 10 AM or manual trigger for on-demand content
- Generate โ Creates tailored marketing content using OpenAI GPT-4 based on topic/theme
- Optimize โ Customizes content for each platform (character limits, hashtags, tone)
- Review โ Optional human approval gate before publishing
- Publish โ Auto-posts to LinkedIn, Twitter, and Facebook simultaneously
- Track โ Logs all posts to database for analytics and content history
- Notify โ Sends confirmation to Slack with links to published posts
Setup steps
- OpenAI API โ Add your OpenAI API key in credentials
- Social Media APIs โ Configure LinkedIn, Twitter (X), and Facebook credentials
- PostgreSQL โ Create
social_poststable to store post history - Slack โ Add webhook URL for notifications
- Content Topics โ Customize the topic list in the initial node
- Approval (Optional) โ Enable/disable manual review gate
- Test โ Run manually first, then activate for daily automation
What It Does:
- Randomly selects content topics and types for variety
- Generates engaging posts using OpenAI
- Optimizes content for each platform (character limits, hashtags, tone)
- Publishes simultaneously to all three platforms
- Stores complete records in database
- Sends confirmation notifications to Slack
๐ Nodes Used
HTTP Request, Postgres, Schedule Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File