Automate YouTube Video Publishing to Instagram & Facebook with AI Captions
detail.loadingPreview
Automatically publish your new YouTube videos to Facebook and Instagram. This workflow leverages AI (GPT-4o-mini) to generate engaging social media captions, saving you time and ensuring consistent content distribution across your key platforms.
About This Workflow
Streamline your social media strategy with this powerful n8n workflow. Designed for content creators, businesses, and marketers, it monitors your YouTube channel hourly for new video uploads. Upon detection, it intelligently uses OpenAI's GPT-4o-mini to craft compelling, emoji-rich captions, complete with a call-to-action tailored to your video. The workflow then seamlessly publishes these posts, including your video thumbnail for Instagram, directly to your Facebook Page and Instagram Business Account. Reduce manual effort, maintain a strong online presence, and keep your audience engaged with your latest content effortlessly.
Key Features
- Automated YouTube Monitoring: Watches your channel's RSS feed hourly for new video uploads.
- AI-Powered Caption Generation: Dynamically creates engaging social media captions using OpenAI's GPT-4o-mini, including emojis and calls-to-action.
- Cross-Platform Publishing: Instantly shares your YouTube videos to both your Facebook Page and Instagram Business Account.
- Automatic Thumbnail Integration: Pulls your YouTube video's thumbnail for visual appeal on Instagram posts.
- Robust Meta API Integration: Configured with necessary permissions and long-lived access tokens for reliable posting to Facebook and Instagram.
How To Use
- Configure YouTube RSS Trigger: Locate your YouTube channel ID (by viewing page source on your channel page and searching for "channelId") and replace
<channel_id>in the RSS URL. - Set up OpenAI Credential: Provide your OpenAI API key for the 'OpenAI Chat Model' node. Ensure you have access to
gpt-4o-mini. - Prepare Meta App & Token: Create a Meta App, obtain a long-lived access token, and ensure it has the following permissions:
pages_manage_posts,pages_read_engagement,pages_show_list,instagram_content_publish,instagram_basic. - Update Placeholders: Replace all instances of
<Access_Token>with your Meta long-lived access token and<Facebook_PageID>with your Facebook Page ID in the 'Post on Facebook', 'Get IG Business Account ID', and 'Create Media Container on Instagram' nodes. - Link Instagram Business Account: Verify your Instagram Business Account is correctly linked to your Facebook Page, as this is required for Instagram publishing.
Apps Used
Workflow JSON
{
"id": "04b020b4-a1ef-4281-b594-5df930e6985a",
"name": "Automate YouTube Video Publishing to Instagram & Facebook with AI Captions",
"nodes": 24,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 04b020b4-a1ef...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.
Automate LinkedIn Content Promotion for Your Ghost Blog with AI
Effortlessly promote your latest Ghost blog posts on LinkedIn. This workflow leverages AI to generate engaging, professional LinkedIn messages based on your article content and saves them, along with article metadata, directly to a Google Sheet.
AI-Powered Instagram Comment Automation
This n8n workflow intelligently automates responses to Instagram comments, leveraging advanced AI to engage with your audience. It filters out irrelevant content and personalizes replies, saving you time while boosting your social media presence.