Skip to main content

Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord

Workflow preview

Workflow preview
100%
Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 an...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.httprequest, n8n-nodes-base.rssfeedreadtrigger, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.twitter, n8n-nodes-base.discord

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Fan Luo.

Original n8n.io source

1.1 Workflow description

Title
Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord
Workflow name
Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord

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

Need Help?

Contact me via My Blog or ask in the Forum!

Happy Hacking!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - API Requirements

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 3 - Post on Facebook

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Pull Youtube Video From Channel

Type / Role
n8n-nodes-base.rssFeedReadTrigger - rssFeedReadTrigger
Config choices
Version 1

Block 5 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 6 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - API Requirements1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - API Requirements2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - API Requirements3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - API Requirements4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Post on X

Type / Role
n8n-nodes-base.twitter - twitter
Config choices
Version 2

Block 12 - Notify in Discord

Type / Role
n8n-nodes-base.discord - discord
Config choices
Version 2

3. Summary Table

Workflow Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord
Complexity intermediate
Nodes 12
Categories Social Media, Multimodal AI
Author Fan Luo
Published 06 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5725/5725.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-share YouTube videos with AI-generated posts to Facebook, X & Discord do?

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 an...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.