Generate and approve UGC ad videos with OpenRouter, Fal, Replicate, and Discord
Ready for 3.0What this workflow does
This AI workflow has 30 nodes and runs when someone submits an n8n form (“UGC AI Video Generator”). Along the way it connects OpenRouter Chat Model and Discord. It also calls openrouter.ai, fal.run and api.replicate.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“UGC AI Video Generator”).
- Post Chat to OpenRouter API (HTTP Request): calls openrouter.ai (POST)
- UGC Generation Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Interface
- Extract UGC Prompt Data (Code): runs custom JavaScript code
- Call UGC Image API Service (HTTP Request): calls fal.run (POST)
- Prepare UGC Image Data (Edit Fields (Set)): sets 7 fields: mode, status, image_source…
- Send UGC Image to Discord (Discord): uses Discord
- UGC Approval Form (n8n Form): shows the next form page
- Route by UGC Approval (Switch): routes items into 3 branches
- Request Replicate Video Creation (HTTP Request): calls api.replicate.com (POST)
- Regenerate UGC Content Agent (AI Agent): runs an AI agent, with model: Secondary OpenRouter Chat
…plus 17 more steps. See the full node list below.
Services it uses
HTTP calls to: openrouter.ai, fal.run, api.replicate.com
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 (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Discord
n8n-nodes-base.discord - n8n Form
n8n-nodes-base.form - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow collects a UGC video request via an n8n form, analyzes the uploaded product image with OpenRouter, generates image/video prompts, and posts them to Discord for human approval. Approved prompts trigger Replicate (minimax/video-01)…