Generate Veo 3 short-form videos from a form using Groq and Google Sheets
Quick overview This workflow collects a video topic via an n8n form, uses Groq to generate a short-form video idea and Veo 3 prompt, logs the content to Google Sheets, generates the video through Vertex AI (Veo 3), uploads it to Google Drive, and writes the Drive URL to the sheet.
How it works Receives a submission from an n8n form with a topic, desired vibe, and target audience. Uses Groq (llama-3.3-70b-versatile) to generate a structured video concept (caption, idea, environment, status) and then expands it into a detailed cinematic prompt for Google Veo 3. Appends the generated idea, caption, environment, status, and prompt to a Google Sheets content log. Submits the prompt to Google Veo 3 via the Vertex AI REST API and polls the long-running operation until the generation reports it is done. If the Veo 3 response returns an API error, waits and retries the full generation up to five times before stopping. Converts the returned base64 video into an MP4 file, uploads it to Google Drive, and updates Google Sheets with the Drive webViewLink matched by the prompt.
Setup Add Groq API credential and select it in the Groq Chat Model used by the idea and prompt generation steps. Create a Google Sheet with columns like Idea, Captions, Environment, Status, Prompt, and Video URL, then replace YOUR_GOOGLE_SHEET_ID and set the target sheet name. Add a Google Service Account credential with Vertex AI access, enable the Veo API in your GCP project, and replace YOUR_GCP_PROJECT_ID in both Vertex AI HTTP request URLs. Add a Google Drive OAuth2 credential and replace YOUR_DRIVE_FOLDER_ID with the folder where the generated MP4s should be uploaded. Publish the n8n form (or use the test URL) and share it with users who should be able to submit video requests.
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
Build a PDF-Based RAG System with OpenAI, Pinecone and Cohere Reranking
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow prov...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments