by David Roberts
This workflow allows you to define multiple tickets/issues in a Notion page, then easily import them into Linear. Why is it useful? We use this workflow internally at n8n for collaboration between Product and Engineering teams: Engineering needs all work to be in our ticketing system (Linear) in order to keep track of it Product prefers to review features in Notion. This is because it and can be used to dump all your thoughts and organise them into themes afterwards, plus it better supports rich content like videos Features Supports rich formatting (bullets, images, videos, links, etc.) Keeps links between the Notion and Linear version, in case you need to refer back Allows you to assign each issue to a team member in the Notion definition Avoids importing the same issues twice if you run it again on the same page (meaning you can issues incrementally) You can see an example of the required format of the Notion page here.
by PiAPI
What's the workflow used for? Leverage this Kling API (unofficial) provided by PiAPI workflow to streamline virtual try-on video creation. This tool is designed for e-commerce platforms, fashion brands, content creators and content influencers. By uploading model and clothing images and linking PiAPI account, users can swiftly generate a realistic video of the model sporting the outfit with a 360° turn, offering an immersive viewing experience. Step-by-step Instruction For basic settings of virtual try-on, check API doc to get best practice. Fill in your X-API-Key of your PiAPI account in Preset Parameters node. Upload the model photo and provide target clothing image urls. Click Test Workflow to generate virtual try-on image. Get the video output in the final node. Param Settings If you want to change into a dress, input the model_input URL and the dress_input URL in the parameters. If you want to change into separates, input model_input URL, upper_input URL and lower_input URL in Preset Parameters. Use Case Input images: Output Video The output demonstrates that the model is wearing the clothing from the specified image and showcases a rotating runway-style view. This workflow enables you to efficiently test garment-on-model presentation effects while reducing business model validation costs to a certain extent.
by Max Mitcham
Want to check out all my flows, follow me on: https://maxmitcham.substack.com/ https://www.linkedin.com/in/max-mitcham/ This automation flow is designed to generate comprehensive, research-backed lead magnet articles based on a user-submitted topic, conduct deep research across multiple sources, and automatically create a professional Google Doc ready for LinkedIn sharing. ⚙️ How It Works (Step-by-Step): 📝 Chat Input (Entry Point) A user submits a topic through the chat interface: Topic for lead magnet content Target audience (automatically detected) Company context (when relevant) 🔍 Query Builder Agent An AI agent refines the input by: Converting the topic into 5 targeted research queries Determining if topic relates to *company for specialized research Using structured output parsing for consistent results 📚 Research Leader Agent Conducts comprehensive research that: Uses Perplexity API for real-time web research Integrates *company knowledge base when relevant Creates detailed table of contents with research insights Identifies key trends, expert opinions, and case studies 📋 Project Planner Agent Structures the content by: Generating professional title and subtitle Creating 8-10 logical chapter outlines Developing detailed writing prompts for each section Ensuring step-by-step actionable guidance ✍️ Research Assistant Team Multiple AI agents write simultaneously: Each agent writes one chapter with proper citations Maintains consistent voice across all sections Includes real-world examples and implementation steps Uses both web research and *company knowledge 📝 Editor Agent Professional content polishing: Refines tone for authenticity and engagement Adds image placeholders where appropriate Ensures proper flow between chapters Optimizes for LinkedIn lead magnet format 📄 Google Docs Creation Automated document generation: Creates new Google Doc with formatted content Sets proper sharing permissions (public link) Organizes in designated company folder Returns shareable URL for immediate use 🛠️ Tools Used: n8n: Workflow orchestration platform Anthropic Claude: Primary AI model for content generation OpenRouter: Backup AI model options Perplexity API: Real-time research capabilities *Company Knowledge Hub: Internal documentation access Google Docs API: Document creation and formatting Google Drive API: File management and sharing 📦 Key Features: End-to-end automation from topic to published document Multi-agent approach ensures comprehensive coverage Real-time research with proper citations Company-specific knowledge integration Professional editing and formatting Automatic Google Docs creation with sharing Scalable content generation (3-5 minutes per article) 🚀 Ideal Use Cases: B2B companies building thought leadership content Sales teams creating industry-specific lead magnets Marketing departments scaling content production Consultants developing expertise-demonstrating resources SaaS companies creating feature-focused educational content Startups establishing market presence without content teams `
by Samir Saci
Tags*: Ghost CMS, SEO Audit, Image Optimisation, Alt Text, Google Sheets, Automation Context Hi! I’m Samir — a Supply Chain Engineer and Data Scientist based in Paris, and founder of LogiGreen Consulting. I help companies and content creators use automation and analytics to improve visibility, enhance performance, and reduce manual work. > Let’s use n8n to automate SEO audits to increase your traffic! 📬 For business inquiries, feel free to connect on LinkedIn Who is this template for? This workflow is perfect for bloggers, marketers, or content teams using Ghost CMS who want to: Extract and review all images from articles Detect missing or short alt texts Check image file size and filename SEO compliance Push the audit results into a Google Sheet How does it work? This n8n workflow extracts all blog posts from Ghost CMS, scans the HTML to collect all embedded images, then evaluates each image for: ✅ Presence and length of alt text 📏 File size in kilobytes 🔤 Filename SEO quality (e.g. lowercase, hyphenated, no special chars) All findings are written to Google Sheets for further analysis or manual cleanup. 🧭 Workflow Steps: 🚀 Trigger the workflow manually or on schedule 📰 Extract blog post content from Ghost CMS 🖼️ Parse all ` tags with src and alt` attributes 📤 Store image metadata in a Google Sheet (step 1) 🌐 Download each image using HTTP request 🧮 Extract file size, extension, and filename SEO flag 📄 Update the audit sheet with size and format insights What do I need to get started? This workflow requires: A Ghost Content API key A Google Sheet (to log audit results) No AI or external APIs required — works fully with built-in nodes Next Steps 🗒️ Follow the sticky notes inside the workflow to: Plug in your Ghost blog credentials Select or create a Google Sheet Run the audit and start improving your SEO! This template was built using n8n v1.93.0 Submitted: June 8, 2025
by Davide
This workflow creates an AI-powered Telegram bot that allows users to generate and modify images using Grok Imagine models via the Kie AI API. Key Advantages 1. ✅ Multi-Modal Input Support Users can interact using: Text Voice Images This makes the bot highly flexible and user-friendly. 2. ✅ Intelligent AI Orchestration Instead of directly calling APIs, the workflow uses an AI agent that: Understands intent Enhances prompts Chooses the correct tool automatically This dramatically improves output quality. 3. ✅ Fully Automated Image Pipeline From user input to final image delivery: Upload Processing Generation Result retrieval Delivery via Telegram Everything is automated end-to-end. 4. ✅ Asynchronous & Scalable Architecture The use of: Webhook callbacks Wait nodes Task polling Prevents timeouts and supports longer image generation tasks. 5. ✅ Secure Access Control The Telegram ID validation ensures: Only authorized users can access the workflow. 6. ✅ Modular & Extendable Design The workflow is built with: Tool-based architecture Separate image generation workflows Clear orchestration logic This makes it easy to extend with: Video generation Style presets Advanced editing tools Multi-user support 7. ✅ Production-Ready Structure The workflow includes: Error handling guidelines Structured system prompts Memory handling Clear separation of concerns This makes it suitable for: Creative agencies AI SaaS products Marketing automation Telegram-based AI services How it works This workflow creates a Telegram bot that uses AI to generate and transform images through Grok Imagine models, with support for text, voice, and image inputs. Telegram Input Handling: Users interact with the bot by sending messages, voice notes, or images. The workflow authenticates users based on their Telegram ID. Input Processing: Text messages → Directly sent to the AI agent Voice messages → Transcribed using OpenAI Whisper, then converted to text Images → Downloaded from Telegram, uploaded to an FTP server (BunnyCDN), and the public URL is generated AI Agent Decision Making: The "Grok Imagine Agent" (powered by Grok 4.1 Fast model) analyzes user input and determines whether to: Generate a new image from text description (text-to-image) Transform an existing image using a prompt (image-to-image) Tool Execution: The agent calls specialized workflow tools that trigger image generation via Kie.ai API: Text-to-Image: Creates images from text prompts using "grok-imagine/text-to-image" model Image-to-Image: Modifies existing images using "grok-imagine/image-to-image" model Async Processing: The workflow uses Wait nodes to handle asynchronous image generation, polling Kie.ai for results via task IDs. Result Delivery: Once images are generated, they're sent back to the user through Telegram messages. Setup Steps Telegram Configuration: Create a Telegram Bot via BotFather to get a bot token Add your Telegram user ID in the "Code" node (replace XXX) Configure Telegram credentials in n8n with your bot token API Credentials: OpenRouter: Sign up at OpenRouter.ai, get API key for Grok 4.1 Fast access Kie.ai: Register at Kie.ai for free API key to access image generation models OpenAI: Set up OpenAI API key for voice transcription (Whisper model) FTP Server Setup: Configure FTP server (BunnyCDN recommended) for image hosting Update FTP credentials in n8n Set the public URL path in the "Set Image Url" node (replace XXX) Workflow Configuration: Import the JSON workflow into n8n Update all credential references to match your accounts Verify webhook URLs are properly configured for callback handling Test the workflow and activate when ready Optional Customizations: Adjust the system prompt in the "Grok Imagine Agent" node for different behavior Modify image aspect ratios or other parameters in the HTTP Request nodes Add additional tools for more functionality 👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. Need help customizing? Contact me for consulting and support or add me on Linkedin.
by Jacob
Unlock the full potential of your YouTube channel with our powerful integration that connects Google Sheets and DeepSeek AI — designed to skyrocket your video visibility and engagement without manual hassle. What this integration does for you: Automates video data management by pulling your YouTube URLs straight from Google Sheets — no more copy-pasting or manual tracking. Extracts your current titles and descriptions directly from YouTube, giving you a clear starting point. Generates 3 high-impact, SEO-optimized titles plus 1 compelling, conversion-focused description — crafted by DeepSeek’s AI to grab attention and rank higher. Updates your Google Sheet automatically with new optimized titles and descriptions — keeping all your video info in one place, ready to publish. Why it matters: In the crowded world of YouTube, having the right title and description can make all the difference between millions of views or being lost in the noise. This integration takes the guesswork out of optimization, saving you time and boosting your channel’s growth with proven AI-driven content. You need to Sheet with columns: Url Keyword Status Old Title New Title Old Description New Description My contact: jacobmarketingservice@gmail.com
by Zacharia Kimotho
This workflow is aimed to create new posts in wordpress automatically from an airtable dashboard. When creating content in bulk, we can save time by automating how we can post and publish this content. Usage Get the content from Airtable. Since we have this as a markdown, we will have to convert it to a html format to make it easier to publish and manage on WordPress Upload the blog post with the content, title and all other relevant information needed for an optimized blog Once the post is posted, we need to upload the image and set it as a features image for the blogs Happy productivity
by PiAPI
What this workflow does? This workflow converts orthographic three-view drawings into 360° rotation videos through PiAPI's GPT-4o-Image and Kling APIs (unofficial). The workflow could be set with our 3D Figurine Orthographic Views workflow for generation. Who is the workflow for? Designers**: Generate inspiration into 3D designs and make them spin to gain concrete details in a efficient way. Online shoppers**: Show protential products from all angles in videos and preview overall texture of models. Content Creators** (including toy bloggers): Make fun videos of collectible models. Step-by-step Instructions 1.Fill in basic params with your X-API-Key of your PiAPI account and 3-View image url. 2.Click test workflow. 3.Get the final video in the last node. Use Case Input Image Output Video
by Intuz
This n8n template from Intuz provides a complete and automated solution for transforming a static product image and a creative idea into a dynamic, AI-generated video ad. Using Google's state-of-the-art Veo 3 model, this workflow manages the entire creative process from concept to a final, downloadable video file. Who's this workflow for? E-commerce Brands & Marketers Advertising Agencies Social Media Content Creators Product Managers How it works 1. Submit a Creative Brief: The workflow starts when a user submits a creative idea via a simple web form (e.g., "A Pepsi can exploding into a vibrant disco party"). 2. Upload a Product Image: The user is then prompted to upload a corresponding image (e.g., a high-quality photo of the Pepsi can). 3. Log the Project in Airtable: The idea and the uploaded image are saved to an Airtable base, which acts as the central tracking system for all video generation projects. 4. AI Creative Analysis: Google Gemini analyzes both the user's text prompt and the uploaded image. It acts as an "AI Creative Director," generating a detailed video brief that reinterprets the static image according to the user's creative vision. 5. Generate Video with Veo 3: The detailed creative brief is sent to Google's Veo 3 AI video generation model. The workflow initiates a long-running task to create the video. 6. Retrieve the Final Video: After a brief waiting period, the workflow polls the Veo 3 API to retrieve the finished video, converts it into a binary file, and makes it available for download directly from the n8n execution log. Key Requirements to Use This Template n8n Instance & Required Nodes: An active n8n account (Cloud or self-hosted). This workflow uses the official n8n LangChain integration (@n8n/n8n-nodes-langchain). If you are using a self-hosted version of n8n, please ensure this package is installed. Google Cloud Account: A Google Cloud Project with the Vertex AI API enabled. You must have access to both the Gemini and Veo 3 models within your project. You will need a Gemini API Key and a Google OAuth2 Credential configured for the Vertex AI scope. Airtable Account: An Airtable base with a table set up to track the video projects. It should have columns for Image Prompt, Image (Attachment), Video (Attachment/URL), and Status. Setup Instructions 1. Airtable Configuration (Crucial): In the Create a record, Get a record, and Update record nodes, connect your Airtable credentials and update the Base ID and Table ID to match your setup. In the Uploading Image in Airtable (HTTP Request) node, you must edit the URL and the "Authorization" header to include your Base ID, Table ID, and Personal Access Token. 2. Google AI Configuration (Gemini & Veo): In the Analyze image (Google Gemini) node, select your Gemini API credentials. In both the Generate Video Veo 3 and Get the the Video (HTTP Request) nodes: You must replace [Project ID] and [Location] in the URLs with your own Google Cloud Project ID and region (e.g., us-central1). Select your Google OAuth2 credentials for authentication. 3. Customize Video Parameters (Optional): In the Parse Request (Code) node, you can modify the JavaScript code to change video generation settings like aspectRatio, durationSeconds, and resolution. 4. Execute the Workflow: Activate the workflow. Open the Form URL from the Prompt your Idea node to start the process. Sample Videos Connect with us Website: https://www.intuz.com/services Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz Get Started: https://n8n.partnerlinks.io/intuz For Custom Workflow Automation Click here- Get Started
by Kristian Ekachandra
🎬 AI-Powered UGC Video Generator Automatically create consistent, professional UGC (User-Generated Content) videos at scale using cutting-edge AI models. This workflow combines three reference images into hyper-realistic selfie-style photos, then transforms them into engaging 8-second videos perfect for TikTok, Instagram Reels, and social media ads. ✨ What This Workflow Does Part 1: Image Generation Combines 3 reference images (product + character + background) using NanoBanana Pro AI agent generates optimized prompts for realistic UGC selfie photos Analyzes output quality before proceeding to video generation Part 2: Video Creation Transforms static images into dynamic 8-second videos using Google Veo 3.1 AI agent creates natural dialogue and scene descriptions Batch processes multiple tasks automatically via Google Sheets 🎯 Perfect For E-commerce brands** creating product demonstration videos Marketing agencies** producing social media ad content at scale Content creators** generating consistent UGC-style videos A/B testing** multiple video variations quickly Dropshippers** needing authentic product videos without filming 🚀 Key Features ✅ Consistent Characters - Same person, style, and aesthetic across all videos ✅ Batch Processing - Manage multiple tasks via Google Sheets ✅ Multi-Model Support - Primary + fallback AI models for reliability ✅ Smart Error Handling - Automatic retries and status tracking ✅ Dual Workflow - Separate pipelines for image and video generation ✅ Quality Analysis - AI checks image quality before video creation 🛠️ Required APIs Essential: Google Sheets API (free) Atlas Cloud API (for NanoBanana Pro & Veo 3.1) Choose at least ONE: OpenAI API (GPT-5-Mini recommended) Groq API (fast & free tier available) Google Gemini API (alternative) 📋 How It Works Image Generation Pipeline: Reads tasks from Google Sheets (Status: "Ready") AI agent generates optimized image prompt Downloads and uploads 3 reference images to temp storage NanoBanana Pro combines images into realistic UGC selfie Analyzes output image quality Updates sheet with results (Status: "Edited") Video Generation Pipeline: Reads edited tasks from Google Sheets (Status: "Edited") AI agent generates video prompt with natural dialogue Veo 3.1 transforms image into 8-second video Polls generation status every 10 seconds Updates sheet with final video (Status: "Finished") 💡 Pro Tips Use high-quality reference images** (minimum 1024x1024px) Keep character photos consistent** (same person, similar lighting) Write clear scene descriptions** for better results Test with 1 task first** before running large batches Monitor API quotas** to avoid rate limits 📺 Full Tutorial Complete setup walkthrough available on YouTube: Watch Tutorial 🎓 What You'll Learn Setting up multi-step AI automation workflows Integrating multiple AI models (OpenAI, Groq, Gemini) Using NanoBanana Pro for advanced image editing Generating videos with Google Veo 3.1 Managing batch processes via Google Sheets Implementing fallback models for reliability Handling errors and status tracking 📊 Google Sheets Template Structure The workflow includes a pre-built template with these columns: Task ID** - Unique identifier Product Photo** - Product image URL Character** - Person reference image URL Background** - Scene background URL Product Name** - Name of the product Product Description** - Details about the product Target Market** - Audience for the video Video Scene** - Scene description for video Status** - Workflow status (Ready → Edited → Finished) Image Prompt** - Generated prompt for image Image Result** - Output image URL Analyze Image** - Quality analysis results Video Prompt** - Generated prompt for video Video Result** - Final video URL Error Message** - Error details if failed 🔄 Status Flow Ready → Edited → Finished ↓ ↓ ↓ Error Error Error ⚙️ Customization Options Adjust Image Style: Modify the Image Prompt Agent system message Change composition (close-up, medium shot, wide) Adjust lighting (natural, studio, dramatic) Modify Video Output: Edit Video Prompt Agent for different styles Change duration (default: 8 seconds) Customize dialogue language (default: Indonesian) Adjust camera angles and movements Add More AI Models: Connect additional providers as fallbacks Models are tried in order until success Supports OpenAI, Anthropic, Groq, Gemini 🔐 Security Notes Never commit API keys to version control Use environment variables in production Don't share your Google Sheets publicly Rotate API keys regularly Set billing alerts on all platforms 📞 Support & Updates Created by: Kristian Ekachandra Follow for more AI automation workflows: 🎥 YouTube: @aichandre 📸 Instagram: @aichandre 🎵 TikTok: @aichandre 🏷️ Tags ai-video ugc content-creation video-generation batch-processing google-sheets openai groq nanobanana-pro veo-3.1 marketing social-media tiktok instagram-reels automation
by Davide
This workflow automates the full process of generating, creating, and assigning optimized WordPress tags to a specific blog post. It uses a combination of WordPress API actions, AI analysis (Claude Opus 4.5), and internal data cleaning to ensure SEO-friendly, consistent, and properly structured tags. Key Features ✅ 1. Full Tag Automation The workflow removes the need for manual tag selection or creation. It automatically: Reads the article content Chooses relevant existing tags Creates new SEO-optimized ones Assigns them to the article This eliminates human error and saves significant editorial time. ✅ 2. AI-Optimized SEO Thanks to the integrated Claude analysis, tags are: Semantically relevant Optimized for search intent Designed to improve discoverability and CTR Adapted to the specific content structure This allows for a much higher SEO quality compared to manual tagging. ✅ 3. Intelligent Tag Management The system ensures: A maximum of 4 total tags No irrelevant or duplicate tags Tags follow naming conventions (e.g., multi-word or acronyms) This creates a clean, consistent tag taxonomy across the WordPress site. ✅ 4. Automated Tag Creation in WordPress New tags are automatically created directly in WordPress via API, ensuring: Perfect synchronization with your CMS No need to manually add new tags from the WordPress backend Immediate availability for future posts ✅ 5. Clean and Reliable Data Handling Custom code nodes and aggregation steps: Merge tag arrays safely Remove duplicates Produce clean, valid JSON outputs This makes the workflow stable even with large or complex tag lists. ✅ 6. Modular and Scalable Architecture Every step (fetching, AI analysis, creation, merge, update) is separated into independent nodes, making it easy to: Extend the workflow (e.g., add categories, multilingual tags, taxonomy validation) Plug in different AI models Reuse the structure for other WordPress automations ✅ 7. Consistent Output Validation The Structured Output Parser ensures: Correct JSON schema Safe handling of AI output No malformed data sent to WordPress This makes the automation robust and production-ready. How it works This workflow is an intelligent, AI-powered tag suggestion and assignment system for WordPress. It automates the process of analyzing a blog post's content and assigning the most relevant tags, creating new ones if necessary. Data Retrieval & Preparation: The workflow starts by fetching a specific WordPress article using a provided post_id. Simultaneously, it retrieves all existing tags from the WordPress site via the REST API. These two data streams are then merged into a single data structure. AI-Powered Tag Analysis: The merged data (article content and existing tag list) is sent to an LLM (Claude Opus 4.5). The AI acts as an "SEO expert," analyzing the article's title, content, and excerpt. It follows a strict set of instructions to select up to 4 relevant tags from the existing list and, if needed, suggests new tag names to reach a total of 4 tags. Tag Processing & Creation: The workflow splits the AI's output into two paths: Existing Tags: The list of selected tag IDs is prepared for the final update. New Tags: The list of new tag names is processed in a loop. For each new tag, the workflow sends a POST request to the WordPress API to create it. The newly created tag IDs are collected. Final Assignment: The existing tag IDs and the newly created tag IDs are merged into a single list. This final list of tag IDs is then sent back to the original WordPress article via an "Update" operation, effectively tagging the post. Set up steps To configure and run this workflow, follow these steps: Provide Input Data: In the "Set data" node, you must configure the two required assignment fields: post_id: Set this to the numerical ID of the WordPress post you want to analyze and tag. url: Set this to the base URL of your WordPress site (e.g., https://yourwebsite.com/). Configure WordPress Credentials: Ensure that the "Wordpress" and "HTTP Request" nodes are correctly linked to a valid set of WordPress credentials within n8n. These credentials must have the necessary permissions to read and update posts, as well as create new tags. Configure Claude Opus 4.5 Credentials: Verify that the "Claude Chat Model" nodes are linked to a valid Claude API key credential in n8n. Execute: Once the credentials and input data are set, click "Execute Workflow" on the manual trigger node to run the process. The workflow will fetch the article, analyze it with AI, create any new tags, and update the post with the final selection of tags. Need help customizing? Contact me for consulting and support or add me on Linkedin.
by Davide
The Video Grok Agent is an AI-powered video generation and editing workflow that uses Grok 4.1 Fast (via OpenRouter) and Grok Imagine Video to create and modify videos through natural language. This workflow enables seamless AI-driven video creation and editing through a conversational interface, with built-in validation, async processing, and secure credential management. Key Advantages 1. ✅ Unified Video Creation Pipeline A single workflow supports text-to-video, image-to-video, and video editing, reducing complexity and avoiding duplicated logic across multiple automations. 2. ✅ AI-Guided User Interaction The conversational agent ensures: the correct tool is selected, all mandatory parameters are provided, errors due to missing inputs are minimized. This makes the workflow usable even by non-technical users. 3. ✅ Asynchronous & Scalable Execution The workflow is designed around queued, non-blocking requests: wait nodes + status polling no execution timeouts scalable for multiple concurrent video jobs 4. ✅ Automatic Media Handling Uploaded images are: detected automatically, uploaded to external storage, converted into usable URLs without manual steps. This enables smooth image-to-video generation directly from chat uploads. 5. ✅ Clear Separation of Responsibilities Each step is modular: orchestration (agent), decision routing (switch), media processing (Fal.run APIs), status monitoring (HTTP + wait loops). This makes the workflow easy to maintain, extend, or debug. 6. ✅ Strong Guardrails & Validation The agent enforces: correct tool usage (e.g. video-to-video only for editing), duration limits (1–15 seconds), mandatory URLs before execution. This prevents incorrect API calls and wasted compute. 7. ✅ Extensible Architecture New tools (e.g. different models, resolutions, aspect ratios, or providers) can be added without redesigning the whole system—just plug them into the existing agent + switch logic. How it works User Interaction The workflow starts with a chat trigger (When chat message received), where users can upload images and submit text prompts. If an image is uploaded, it is automatically stored via FTP (BunnyCDN) and its URL is passed to the AI agent. AI Agent Orchestration The Grok Imagine Video Agent processes the user’s request and determines which action to perform: Text-to-Video: Create a new video from a text prompt. See test result Image-to-Video: Animate an existing image. See test result Video-to-Video: Edit an existing video. See test result The agent follows strict rules to ensure all required parameters (e.g., duration, URLs, prompts) are collected before proceeding. Video Processing via Fal.run API Depending on the selected tool, the workflow calls the corresponding Fal.run endpoint: text-to-video image-to-video edit-video Each request returns a request_id used to poll for completion. Asynchronous Processing & Polling After submission, the workflow enters a polling loop: Waits 10–30 seconds. Checks the request status via Fal.run’s status endpoint. Once the status is COMPLETED, it retrieves the final video URL. Result Delivery The final video URL is returned to the user via the chat interface. The agent does not proceed further once the video is ready. Set Up Steps To deploy and use this workflow in n8n: Credentials Configuration Set up the following credentials in n8n: OpenRouter API (for Grok 4.1 Fast) Fal.run API (HTTP Header Auth) FTP/BunnyCDN (for image uploads) Workflow Activation Ensure all nodes are correctly connected as per the connections mapping. Activate the workflow via the Execute Workflow Trigger (Run Text-to-Video1). Chat Interface Setup The workflow is designed to be triggered via a chat message. Configure the When chat message received node to connect to your frontend or chat platform. Parameter Validation The AI agent includes validation rules to ensure: Duration is between 1–15 seconds. Required URLs (image/video) are provided where needed. The correct tool is invoked based on user intent. Testing & Monitoring Test each tool separately (text, image, video) to ensure Fal.run API responses are handled correctly. Monitor the polling loops to avoid timeouts and ensure video URLs are retrieved successfully. 👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. Need help customizing? Contact me for consulting and support or add me on Linkedin.