Use this advanced n8n workflow to automatically convert popular Reddit threads into engaging vertical videos (e.g., TikTok/Shorts) using OpenAI for script generation and TTS, leveraging the power of the n8n node ecosystem.
Download this n8n workflow template and start using it instantly.
Social Media Managers looking to quickly repurpose popular Reddit content.
Content Creators needing automated, scalable video production tools.
Developers implementing advanced media processing logic within an n8n workflow.
Anyone interested in complex AI-driven n8n templates combining multiple services.
Creating engaging vertical video content from long-form text, like Reddit threads, is usually a tedious, multi-step manual process involving scripting, sourcing stock footage, recording voiceovers, and editing. This specialized n8n workflow template solves this challenge by completely automating the pipeline.
It orchestrates the retrieval of Reddit data, uses the OpenAI n8n node for smart script generation and Text-to-Speech (TTS), sources visual content from Pexels, and compiles everything into a finished video using a video rendering API (like ShotStack).
This robust n8n automation eliminates the need for manual editing, allowing for high-volume content creation directly triggered via a simple Webhook. If you are looking for advanced n8n templates that showcase the full potential of custom code and external APIs, this flow is an excellent example.
This high-level n8n workflow operates in six distinct phases, triggered either manually or via an incoming Webhook request containing the Reddit URL and desired video parameters.
create timeline with video) builds the complex JSON payload required by the video rendering API. An HTTP Request n8n node submits this payload to render the video. Wait n8n nodes are used strategically to allow the rendering service time to process.If rendered). Once complete, the final video link is retrieved and returned immediately to the originating system via the Respond to Webhook n8n node.To deploy this comprehensive n8n workflow, follow these steps:
get reddit token and get reddit thread).OpenAI (ChatGPT) and Generate TTS n8n node operations (scripting and voiceover).Pexels Query HTTP Request n8n node to find stock videos.When clicking ‘Test workflow’ n8n node and provide sample input data (Reddit URL, voice, etc.).Code n8n nodes handle complex data manipulation and JSON structure creation, especially for the video timeline. Review these scripts to ensure they match your specific API key formats and data schemas. Webhook / Manual Trigger: The starting n8n trigger for this automation. It receives the target Reddit link and video generation settings (like voice style and desired video length).
HTTP Request (Reddit & Pexels): These n8n node instances manage external API calls—first to Reddit to authenticate and pull thread content, and then to Pexels to source high-quality, relevant stock footage.
Convert url to reddit api url (Code): A custom n8n node that transforms the human-readable Reddit URL into the correct API endpoint format required for data fetching.
OpenAI (ChatGPT) & Generate TTS (OpenAI): The core AI components. One n8n node instance generates the video script from the comments, and the other generates the corresponding Text-to-Speech audio file.
Split Clips (Item Lists): Breaks the AI-generated script into logical chunks, which are then used to drive individual Pexels queries.
Code (Extract 3 videos per item & Combine 3 into 1): Custom n8n node logic used to select and structure the Pexels video URLs for the rendering service.
HTTP Request (Upload videos to ShotStack / Render the video): These are critical API calls responsible for pushing the raw media files and the final timeline JSON to the video rendering platform.
create timeline with video (Code): A highly specialized n8n node that constructs the detailed, multi-layered JSON structure (timeline) required by the video editing API, merging the video clips, audio tracks, and subtitle text.
Maximize social engagement with this advanced n8n workflow. Scrape business pain points from Reddit, use AI (Gemini, OpenAI) to generate viral content and images, and publish automatically to LinkedIn.

Automate medical communications using this n8n workflow. Leverage GPT-4 Vision to analyze radiology images, generate patient-friendly PDF reports, log data, and email results using n8n.

Use this powerful n8n workflow to automatically convert new RSS feed articles into SEO-friendly, summarized social media posts for X (Twitter), complete with image handling and AI content generation.

Use this specialized n8n workflow to automate the conversion of Revit (.rvt) files into structured data (XLSX, DAE) and drawings (PDF) using an external command-line utility (RvtExporter.exe). A powerful n8n template for BIM professionals.

Automate task management by converting Slack reactions (📝) into Notion to-do items. This n8n workflow also provides daily reminders of incomplete tasks in Slack.








































