Quick overview
This workflow fetches the latest video from a YouTube channel feed, generates platform-specific promo captions with DeepSeek, and creates draft promotion posts in Posta for one active account per social platform.
How it works
- Runs manually when you click “Execute workflow”.
- Fetches your YouTube channel RSS feed over HTTP, parses the XML, and extracts the latest video’s title, description, thumbnail URL, and link.
- Downloads the video thumbnail and uploads it to Posta to create a reusable media asset.
- Retrieves your social accounts from Posta, keeps only active accounts, and de-duplicates them to one account per platform.
- Combines the latest video data with each target platform and asks DeepSeek (via an n8n LangChain LLM chain) to write a tailored promotional caption per platform.
- Tags each generated caption with its platform and merges it back to the matching Posta social account.
- Creates a draft Posta post per selected account, attaching the uploaded thumbnail and the platform-specific caption and video link.
Setup
- Add a Posta API credential and select it in the Posta nodes that list accounts, upload media, and create posts.
- Add a DeepSeek API credential and select it in the DeepSeek Chat Model node.
- Update the YouTube channel feed URL (channel_id) in the HTTP request that downloads the YouTube feed.
- Review your Posta social accounts to ensure the intended accounts are marked active and have the correct platform values for de-duplication.
Additional info
Video explanation: https://youtu.be/tTWaYb71YyA