Auto-Share YouTube Videos with AI-Generated Posts to Facebook, X & Discord

Go to Workflow
0 views
Built by Fan Luo Fan Luo
Created on June 05, 2026

Description

Auto-Share YouTube Videos with AI-Generated Posts to Facebook, X and Notify in Discord

This n8n template demonstrates how to use a LLM like DeepSeek to generate a post and share to Facebook page and X automatically whenever a new video is published to a YouTube channel.

How it works
We first define RSS with a polling schedule to pull YouTube videos from a specified channel
Prompt AI agent to generate a post with proper url and hash tags based on the video metadata
Then automatically create a new post in Facebook and X via their APIs
Post a new message in Discord channel via Webhook

How to use
Simply setup a RSS polling trigger to automatically trigger the workflow

Requirements
Facebook API setup, see step by step tutorials
X v2 API setup, see step by step tutorials
Discord channel webhook, see step by step tutorials

Need Help?
Contact me via My Blog or ask in the Forum!

Happy Hacking!

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Discord
n8n-nodes-base.discord
HTTP Request
n8n-nodes-base.httpRequest
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
X (Formerly Twitter)
n8n-nodes-base.twitter