Automatically promote your YouTube video on X
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every 2 hours) (plus 1 other trigger). Along the way it connects X (Formerly Twitter), YouTube, Wikipedia and Google Sheets and 4 more.
How it runs
Trigger: On a schedule (every 2 hours) (plus 1 other trigger).
- Fetch Latest Videos (YouTube): work with video
- Set Fields (Edit Fields (Set)): sets 1 field: id.videoId
- Remove Duplicates: removes duplicate items
- If: checks a condition and branches into true / false
- Generate X Post (OpenAI): uses OpenAI, with 2 tools (Wikipedia, Calculator)
- Verify character limit constraints (If): checks a condition and branches into true / false
- Rewrite X Post to 220 Characters (OpenAI): uses OpenAI, with 2 tools (Wikipedia, Calculator)
- Set Final Fields (Edit Fields (Set)): sets or maps fields
- GS - Add Tweet (Google Sheets): append
- Post to X (X (Formerly Twitter)): uses X (Formerly Twitter)
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- X (Formerly Twitter)
n8n-nodes-base.twitter - YouTube
n8n-nodes-base.youTube - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Manual Trigger
n8n-nodes-base.manualTrigger - Discord
n8n-nodes-base.discord - Remove Duplicates
n8n-nodes-base.removeDuplicates - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
From the author
YouTube to X Post Overview This n8n workflow automates the process of promoting your latest YouTube videos on X (formerly Twitter). It ensures that posts are engaging, concise, and follow platform-specific requirements. Additionally, the workflow logs social…