Generate video ad scenes from URLs with Tavily, Google Gemini, OpenAI and JSON2Video
UnknownWhat this workflow does
This AI workflow has 70 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI, Google Drive, Google Gemini Chat Model and OpenAI Chat Model and 1 more. It also calls api.json2video.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Make A JobID (Code): runs custom JavaScript code
- Get Job ID (Code): runs custom JavaScript code
- Set Workflow Variables (Edit Fields (Set)): sets 3 fields: workflow, MAX_RETRIES, renameNodes
- Respond to Webhook: sends the response back to the webhook caller
- Search files and folders (Google Drive): work with file folder
- Strip & Prepare (Code): runs custom JavaScript code
- Crawl (Tavily): work with crawl
- If: checks a condition and branches into true / false
- Parse Nodes (Code): runs custom JavaScript code
- Structure Agent (AI Agent): runs an AI agent, with model: Google Gemini; output parser: Structured Output
…plus 47 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Drive templates (628) · Other Google Gemini + Google Drive templates (272) · Other OpenAI + Google Gemini templates (249)
HTTP calls to: api.json2video.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @tavily/n8n-nodes-tavily is verified or supports 3.0 (used in Crawl).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Drive
n8n-nodes-base.googleDrive - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Tavily
@tavily/n8n-nodes-tavily.tavily - Manual Trigger
n8n-nodes-base.manualTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick Overview This workflow accepts a website URL via webhook, crawls and structures the site content with Tavily and Google Gemini, generates three ad scenes and a voiceover with OpenAI, renders a captioned video via JSON2Video, and stores the final MP4 in…