Generate short-form marketing videos instantly using current viral trends. This automated n8n workflow combines Perplexity, GPT-4o, and Seedance AI for zero-touch content creation.
Download this n8n workflow template and start using it instantly.
Marketing Managers and Content Creators needing rapid, trend-aligned video content.
Founders and Small Business Owners looking to scale creative output without a design team.
This powerful n8n workflow transforms a simple text request into a ready-to-use marketing video by leveraging multiple AI services. It solves the critical challenge of generating timely, trend-relevant video content that performs well on platforms like TikTok and Instagram. The automation integrates a Telegram n8n trigger for simple input, an AI trend research agent (Perplexity) to ensure relevance, an AI prompt engineer (GPT-4o) for optimization, and the Seedance video generation API (via Wavespeed). This is a sophisticated n8n template demonstrating how complex multi-step processes, including conditional status checking and polling, can be seamlessly automated using n8n.
This n8n workflow is designed as a fully autonomous AI agent pipeline:
Trend Research Agent. It scans the latest 14-day data to identify the most compelling, recent marketing trend relevant to the user's input.Video Prompt Engineer), utilizing GPT-4o. This dedicated AI agent crafts a concise, visually descriptive prompt specifically optimized for the Seedance text-to-video model, ensuring the current trend is incorporated as the core concept.Post Request - Wavespeed) sends the AI-engineered prompt to the Seedance API, initiating the 5-second video creation process.Wait 30 Sec). It then begins a monitoring loop, repeatedly using a GET Request Wavespeed n8n node to check the processing status using the prediction ID.If n8n node checks if the status is still 'processing'. If true, the workflow routes to another Wait 30 sec n8n node and loops back to check the status again. This is a crucial piece of core logic flow control within this n8n workflow.To deploy this comprehensive n8n template, follow these steps:
Telegram Trigger and the final Send a text message n8n node.Trend Research Agent n8n node.Video Prompt Engineer n8n node, allowing access to GPT-4o. Telegram Trigger: Function: Initiates the entire n8n workflow. It acts as the primary user input mechanism for the automation. Key Configuration: Listens for incoming messages to trigger the automation.
Trend Research Agent (Perplexity): Function: Serves as an AI agent using the Sonar Pro model to search for highly relevant, recent marketing trends based on the input prompt. Key Configuration: Uses a strict system prompt to ensure trend insights are actionable for video concepts.
Video Prompt Engineer (OpenAI): Function: Utilizes the ChatGPT-4o model to engineer a concise and visually compelling video generation prompt by fusing the user's goal with the discovered trend. Key Configuration: System instructions strictly limit output to the raw video prompt itself, optimized for the Seedance API.
Post Request - Wavespeed (HTTP Request): Function: Sends the generated prompt to the Seedance API endpoint to start video rendering. Key Configuration: POST method, specifies a 5-second video duration, and dynamically injects the prompt from the previous n8n node.
Wait 30 Sec / Wait 30 sec (Wait): Function: Essential flow control n8n node used to pause the execution during the asynchronous video generation process.
GET Request Wavespeed (HTTP Request): Function: Polls the API to check the status of the generated video job. Key Configuration: Dynamic URL includes the job ID received in the previous POST request.
If: Function: Determines if the video is ready or still 'processing', managing the retry loop. This is a critical core logic flow control n8n node.
Send a text message (Telegram): Function: Final delivery mechanism, sending the completed video output URL back to the original user chat ID. Key Configuration: Dynamic reference to the chat ID captured by the Telegram n8n trigger.
Use this powerful n8n workflow to automate text-to-video creation using the Google Veo 3 model accessed via Replicate. This n8n template handles complex API polling automatically.

Instantly generate text-to-video or image-to-video content using the Bytedance Seedance 1 Lite model and Replicate. This advanced n8n workflow handles asynchronous polling seamlessly.

Use this powerful n8n workflow template to create an instant Text-to-Speech API endpoint using Elevenlabs. Automate audio generation and streamline your content creation using this robust n8n node configuration.

Automate trend research, creative ideation, and AI video prompt generation using a powerful n8n workflow. Integrates GPT-4, Tavily, and the Veo 3 API for daily content.

Automate Twitter/X caption and thread creation using this advanced n8n workflow. Triggered by Google Drive, the n8n node uses Cloudinary and GPT-4o-mini for powerful content generation.

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc







































