AI Video Creation with Veo3 & Auto-Post to Social Media via Blotato

Automated Video Creation & Cross-Platform Publishing Workflow

This workflow demonstrates a fully automated pipeline for generating short, viral-style videos using Google's Veo3 AI video model, then publishing them across multiple social media platforms via Blotato. It combines AI creativity, cloud video generation, and a social media scheduler — all orchestrated in n8n.

Ideal for content creators, marketers, or anyone who wants to produce daily video content with minimal manual effort. The workflow runs on a schedule, generates unique video ideas and captions using GPT-4.1, creates a Veo3-compatible prompt, triggers video generation, uploads the result to Blotato, and posts to Instagram, YouTube, TikTok, Facebook, Threads, Twitter, LinkedIn, Bluesky, and Pinterest. All intermediate and final data is logged in Google Sheets for tracking.

Node-by-Node Breakdown

  1. Trigger: Run Daily Script Generator (Schedule Trigger, No auth) — Runs the workflow daily based on the configured interval (default: not set; user should define a schedule).
  2. AI Agent: Generate Video Concept (LangChain Agent, OAuth2 / API Key — uses OpenAI) — Sends a user-provided topic (e.g., "a Yeti doing a vlog") to an OpenAI GPT-4.1 model with a strict system prompt that forces the output into a JSON array containing a caption, idea, environment description, and status. Requires an OpenAI credential configured in n8n.
  3. Tool: Inject Creativity (Tool, No auth) — A placeholder tool that can be extended to inject external creativity or research data (currently empty).
  4. LLM: Generate Idea & Caption (GPT-4.1) (Language Model, OpenAI) — The actual LLM call used by the agent. Uses model gpt-4.1.
  5. Parser: Extract JSON from Idea (Output Parser, No auth) — Parses the LLM output into a structured JSON object, enforcing the schema defined in the node.
  6. Google Sheets: Save Script Idea (Google Sheets, OAuth2) — Appends the generated idea, caption, environment prompt, and status to a new row in a Google Sheet. Requires a Google Sheets credential and a configured sheet/document.
  7. AI Agent: Create Veo3-Compatible Prompt (LangChain Agent, OpenAI) — Takes the saved idea and environment, and asks GPT-4.1 to format a detailed, cinematic prompt suitable for Google Veo3. The system prompt enforces a strict structure (scene, character, dialogue, action, technical details).
  8. Tool: Build Prompt Structure (Tool, No auth) — Placeholder for potential future enhancements.
  9. LLM: Format Prompt for Veo3 (GPT-4.1) (Language Model, OpenAI) — The underlying LLM call for prompt generation.
  10. Call Veo3 API to Generate Video (HTTP Request, Header Auth) — Sends the Veo3 prompt as JSON to https://queue.fal.run/fal-ai/veo3 using a POST method. Authentication uses a generic HTTP Header credential (e.g., a Fal.ai API key passed in the Authorization header or similar). Expects a request ID in the response.
  11. Wait for Veo3 Processing (5 mins) (Wait, No auth) — Pauses execution for 5 minutes to allow Veo3 to generate the video. You may need to adjust this delay based on actual queue times.
  12. Retrieve Final Video URL from Veo3 (HTTP Request, Header Auth) — Polls the Veo3 status endpoint (/requests/{{request_id}}) with the same header auth to get the final video URL.
  13. Google Sheets: Log Final Video Output (Google Sheets, OAuth2) — Updates the row in the same sheet (matched by idea) with the generated video URL and marks production as "done".
  14. Get my video (Google Sheets, OAuth2) — Reads the video metadata from the sheet (URL, description, title, etc.) for later posting. This node expects the sheet to have specific column headers (e.g., final_output, DESCRIPTION, Titre).
  15. Assign Social Media IDs (Set, No auth) — Outputs a static JSON object containing placeholder social media account IDs (e.g., instagram_id: "1111"). These must be replaced with real IDs from your Blotato account.
  16. Upload Video to Blotato (HTTP Request, Header Auth) — Uploads the video to Blotato's media API (https://backend.blotato.com/v2/media) using the URL from the sheet. Requires a personal blotato-api-key header.
  17. INSTAGRAM, YOUTUBE, TIKTOK, FACEBOOK, THREADS, TWITTER, LINKEDIN, BLUESKY, PINTEREST (HTTP Request, Header Auth) — Each node posts the video to the respective platform via Blotato's /v2/posts endpoint. They include the uploaded media URL and the description from the sheet. Different platforms have additional parameters (e.g., YouTube title, TikTok privacy settings). All require the same Blotato API key.
  18. Google Sheets (Google Sheets, OAuth2) — Finally, updates the sheet with a "Publish" status and row number, marking successful publication.

Setup Instructions

  • Google Sheets: You need a Google Cloud project with the Sheets API enabled. Create an OAuth2 credential in n8n for Google Sheets and grant access to the spreadsheet you will use. The sheet must have columns: id, idea, caption, production, environment_prompt, final_output, DESCRIPTION, Titre, URL VIDEO, STATUS, row_number. You can adjust column names in the nodes.
  • OpenAI: Obtain an API key from OpenAI and create a credential in n8n of type "OpenAI". The workflow uses model gpt-4.1; ensure your account has access.
  • Veo3 (Fal.ai): This workflow uses the Fal.ai queue API. You need a Fal.ai account, create an API key, and set up a Header Auth credential in n8n with the key (likely as Authorization: Key YOUR_API_KEY).
  • Blotato: Sign up at Blotato, connect your social media accounts, and get your API key from settings. Create a Header Auth credential in n8n with header name blotato-api-key. Replace the placeholder social media IDs (1111) in the Assign Social Media IDs node with the actual account IDs from Blotato (found in the Blotato dashboard or API).
  • Schedule: Configure the Schedule Trigger to run at your desired frequency (e.g., daily at 9 AM).

Use Cases & Variations

  • Daily Content Machine: Set the schedule to run every morning, generating a fresh video idea and publishing across all your platforms automatically.
  • Batch Creation: Modify the workflow to generate multiple ideas in one run (loop over the AI node or adjust the system prompt to output multiple concepts).
  • Topic Injection: Change the hardcoded topic ("a Yeti speaking to a camera…") to a dynamic input — for example, pull trending topics from an RSS feed or a Google Sheet column.
  • Platform Filtering: Remove nodes for platforms you don’t use, or add conditional logic to skip certain posts.
  • Human Review: Insert a manual approval step before posting (e.g., using a webhook or an n8n manual trigger).
  • Analytics: Add nodes to fetch engagement metrics from Blotato after posting and log them back to the sheet.
29 nodesschedule triggerSocial Media
Sticky NoteSetGoogle SheetsHTTP RequestAgentTool ThinkLm Chat Open AIOutput Parser Structured

Workflow JSON

{
  "id": "eFkkWqS5KdrxZ43P",
  "meta": {
    "instanceId": "a2b23892dd6989fda7c1209b381f5850373a7d2b85609624d7c2b7a092671d44",
    "templateCredsSetupCompleted": true
  },
  "name": "Automate video creation with Veo3 and auto-post to Instagram, TikTok via Blotato - vide",
  "tags": [],
  "nodes": [
    {
      "id": "11a7c5b6-0db7-4d99-a1a0-e34e05c23ff5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        480
      ],
      "parameters": {
        "width": 1200,
        "height": 500,
        "content": "# ✅ STEP 1 — Generate Script & Prompt with AI"
      },
      "typeVersion": 1
    },
    {
      "id": "2f3aec5c-4144-4e0c-b1c8-7f96dfe14370",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        1020
      ],
      "parameters": {
        "color": 3,
        "width": 1200,
        "height": 280,
        "content": "# ✅ STEP 2 — Create Video Using Veo3\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "45a5a9f4-fe6a-43a7-a032-c69750826209",
      "name": "Assign Social Media IDs",
      "type": "n8n-nodes-base.set",
      "position": [
        420,
        1680
      ],
      "parameters": {
        "mode": "raw",
// ... truncated (copy to see full JSON)

How to Import This Workflow

  1. 1Copy the workflow JSON above using the Copy Workflow JSON button.
  2. 2Open your n8n instance and go to Workflows.
  3. 3Click Import from JSON and paste the copied workflow.

Don't have an n8n instance? Start your free trial at n8nautomation.cloud

Related Templates

AI Viral Video Creator from Telegram with Voice & Multi-Platform Posting

🚀 Automatically Generate and Publish Viral TikTok-Style Videos from a Simple Telegram Message This workflow transforms a single Telegram message containing a photo and a theme (caption) into a fully-produced, AI-generated talking-head video optimized for viral social media content. It leverages Perplexity for trend research, OpenAI GPT-4 for script and caption generation, ElevenLabs for realistic voice synthesis, and FAL.ai's VEED Fabric model to create a lip-synced avatar video from the photo. The final video, along with an engaging caption and relevant hashtags, is saved to Google Sheets for tracking and then automatically published to up to nine social media platforms—TikTok, YouTube, Instagram, LinkedIn, Facebook, Twitter (X), Threads, Pinterest, and Bluesky—via the Blotato integration. This is an end-to-end content creation pipeline perfect for creators, marketers, and businesses who want to maintain a consistent, high-frequency posting schedule without manual video editing. It reduces the time from idea to published video to under 5 minutes. 📋 Node-by-Node Breakdown Telegram Trigger (Telegram Bot Token) — Listens for incoming messages containing a photo and caption. The trigger activates on updates. No additional filtering is applied; every photo with a caption will start the workflow. Workflow Configuration (No auth) — A static Set node that stores API keys and configuration values (ElevenLabs API key, voice ID, FAL API key, and the Perplexity model name) as workflow variables for easy maintenance. Extract Photo and Theme (No auth) — Extracts the largest photo file ID from the Telegram message and the caption (or text) as the theme. Falls back to "viral content" if no caption is provided. Get Photo File from Telegram (Telegram Bot Token) — Uses the Telegram Bot API to download the photo file specified by the file ID extracted in the previous step. Build Public Image URL (No auth) — Uploads the downloaded photo to to obtain a publicly accessible URL. This URL is later used by FAL.ai's VEED Fabric model. Search Trends with Perplexity (Perplexity API key) — Sends a query to Perplexity AI asking for the top 3 current viral trends related to the user's theme. The model is configured dynamically from the workflow configuration node. Generate Script with GPT-4 (OpenAI API key) — Uses OpenAI GPT-4o-mini to generate a 30-second TikTok script based on the trends found by Perplexity and the original theme. The prompt enforces a hook in the first 2 seconds and conversational tone. ElevenLabs Voice Synthesis (API key in header) — Sends the generated script to ElevenLabs' text-to-speech API with the configured voice ID, producing an MP3 audio file. Uses header for authentication. Convert .mpga to .mp3 (No auth) — A JavaScript Code node that renames the binary audio file from to and sets the correct MIME type, ensuring compatibility with downstream nodes. Upload Audio to Public URL (No auth) — Uploads the MP3 audio to to make it publicly accessible for FAL.ai. FAL.ai Video Generation (API key in header) — Sends a request to FAL.ai's VEED Fabric 1.0 endpoint with the public image URL and audio URL to generate a talking-head lip-sync video at 480p resolution. Authentication uses the header with the FAL API key. Wait for VEED (No auth) — A Wait node that pauses execution for 10 minutes to allow the video generation to complete. The node uses polling via webhook (not active here) but is configured as a timed wait. Download VEED Video (API key in header) — Periodically queries the FAL.ai request status endpoint (using the request ID from the generation response) to retrieve the completed video URL. Generate Caption with GPT-4 (OpenAI API key) — A second OpenAI node that creates an engaging TikTok caption with trending hashtags based on the same theme and trends. Outputs only the caption text. Save to Google Sheets (Google Sheets OAuth2) — Appends a new row to a Google Sheet with columns: IDEA (original theme), CAPTION, AUDIO URL, IMAGE URL, VIDEO URL. The sheet and document ID are expected to be configured via resource locator or expression. Send a video (Telegram Bot Token) — Sends the generated video back to the original Telegram chat as a confirmation. Upload Video to BLOTATO (Blotato API key) — Uploads the video file to Blotato's media storage, obtaining a hosted URL for distribution. TikTok / YouTube / LinkedIn / Facebook / Instagram / Twitter (X) / Threads / Bluesky / Pinterest (Blotato API key) — Nine parallel Blotato nodes that each publish the video to their respective social media accounts. Each node uses pre-configured account IDs (list mode) and the generated caption. YouTube optionally sets the video to "private" and disables subscriber notifications. Merge1 (No auth) — A Choose Branch merge node that waits for all nine social media publishing branches to complete before continuing. Update Status to "DONE" (Google Sheets OAuth2) — Updates the corresponding row in the Google Sheet (matched by video URL) to set the STATUS column to "DONE". 🔧 Setup Instructions To use this workflow, you'll need the following accounts and API keys: Telegram — Create a bot via @BotFather and get the bot token. Use it in the Telegram Trigger and Telegram nodes. ElevenLabs — Sign up at elevenlabs.io, generate an API key, and clone or select a voice. Note the Voice ID. FAL.ai — Sign up at fal.ai, create an API key from the dashboard. The workflow uses the VEED Fabric 1.0 model – no separate VEED subscription is needed. Perplexity AI — Sign up at perplexity.ai, get an API key from settings. OpenAI — Sign up at platform.openai.com, create an API key with access to GPT-4o-mini. Google Sheets — Create a Google Sheet with the required columns (IDEA, URL IMAGE, URL AUDIO, URL VIDEO, CAPTION, STATUS). Set up Google Sheets OAuth2 credentials in n8n. Blotato — Sign up at blotato.com, get an API key from settings. Install the community node in n8n (Settings → Community Nodes). Connect each social media account within Blotato to obtain account IDs. tmpfiles.org — No account required; the service is used for temporary file hosting. After obtaining all keys, update the Workflow Configuration node with your values and configure credentials for each API node (Telegram, Perplexity, OpenAI, Google Sheets, Blotato). The sticky notes in the canvas provide step-by-step visual guidance. 💡 Use Cases & Variations Content Repurposing: The workflow can be adapted to repurpose a blog post or article into a short video by feeding the text as a theme. Brand Voice: Customize the ElevenLabs voice to match your brand's tone. Trend-Driven Campaigns: Use Perplexity with different prompts to focus on niche topics (e.g., "tech startups", "healthy recipes"). Platform-Specific Formatting: Modify the caption generation prompt to include platform-specific elements (e.g., LinkedIn professional tone, Twitter character limit). Scheduling: Add a Schedule Trigger to run the workflow periodically with pre-defined themes from a spreadsheet instead of Telegram. Analytics: Extend the Google Sheet with additional columns for engagement metrics by integrating with social media analytics APIs. This workflow is fully modular; you can remove any of the Blotato publishing nodes if you only need specific platforms.

35 nodes

Generate Videos & Carousels with Blotato, Publish to Instagram & TikTok

Overview This workflow creates a fully autonomous AI-powered social media content pipeline. It listens for incoming Telegram messages containing a public URL (YouTube video, article, Instagram post, etc.) and a target platform (Instagram or TikTok). The AI agent then extracts the content, generates a custom visual using Blotato's AI tools, waits for the visual to be fully rendered, publishes it to the specified social media account, and finally sends a confirmation message back to the user on Telegram. This eliminates the manual work of content repurposing, design, and cross-platform posting. This is ideal for content creators, marketers, and businesses who want to repurpose long-form content into short-form social media posts automatically. The AI handles the entire decision-making and execution process, making it a true "set and forget" automation. Workflow Steps Telegram Trigger (No auth) — Listens for incoming Telegram messages. Configured to capture all updates. This is the entry point; the user sends a URL and a platform request (e.g., "Post this YouTube video to Instagram"). Social Media Autopilot (AI Agent, uses OpenAI & Blotato tools) — The core AI agent. It receives the Telegram message text and uses a detailed system prompt to orchestrate the entire pipeline. It decides which tools to call and in what order. The agent uses: - OpenAI ChatGPT (API Key auth) — The language model powering the agent's reasoning. Uses model. - Simple Memory (No auth) — A buffer memory that stores the last 35 conversation turns, allowing the agent to maintain context across multiple tool calls (e.g., polling for status). Create source (Blotato API Key auth) — Takes the extracted URL from the user's message and creates a content source in Blotato. This fetches and processes the content from the URL (e.g., extracts article text, video transcript). Get source (Blotato API Key auth) — Polls the source created in step 3 until its becomes . This ensures the content is fully extracted before proceeding. Create visual - tweet card carousel (Blotato API Key auth) — Used when the target platform is Instagram. Generates a carousel of tweet-style quote cards using a predefined template. Configured with a default profile image, author name, and handle. Create visual - AI image video (Blotato API Key auth) — Used when the target platform is TikTok. Generates an AI-powered video with scenes, voiceover, and captions. Configured with a deep American voice (Brian) and the Recraft v3 AI image model. Get visual (Blotato API Key auth) — Polls the visual generation job until its is exactly . This is critical to ensure the media is fully rendered before publishing. Post to Instagram (Blotato API Key auth) — Publishes the generated carousel to the connected Instagram account (). Uses the media URLs from the completed visual. Post to TikTok (Blotato API Key auth) — Publishes the generated video to the connected TikTok account (). Uses the media URL from the completed visual. Send notification (Telegram Bot Token auth) — Sends a confirmation message back to the original Telegram chat, confirming successful publication (e.g., "✅ Published successfully on Instagram."). Setup Instructions To use this workflow, you will need: n8n instance — Self-hosted or cloud (n8n.cloud). Blotato account — Sign up at blotato.com and get your API key. Connect your Instagram and TikTok accounts inside Blotato. Telegram Bot — Create a bot via @BotFather and get the bot token. This is used for both the trigger and the notification. OpenAI API key — Required for the AI agent. Get one from platform.openai.com. Configuration steps: Import the workflow JSON into n8n. Add your Blotato API credentials as a credential of type "Blotato API". Add your OpenAI API key as a credential of type "OpenAI". Add your Telegram Bot token as a credential of type "Telegram Bot API". In the Post to Instagram and Post to TikTok nodes, select the correct Blotato-connected accounts from the dropdown. Activate the workflow. Use Cases & Variations Content Repurposing: Automatically turn YouTube videos into TikTok clips or blog posts into Instagram carousels. Multi-Platform Posting: Extend the workflow to post to other platforms like LinkedIn, Facebook, or Twitter by adding more Blotato post nodes. Scheduled Digests: Replace the Telegram trigger with a Schedule trigger to automatically process a list of URLs from a Google Sheet or RSS feed. Brand Customization: Modify the carousel template ID and video settings (voice, model, colors) to match your brand guidelines. Approval Workflow: Add a manual approval step (e.g., a Slack message with buttons) before publishing, giving you control over what goes live.

13 nodes

Ready to automate with n8n?

Get affordable managed n8n hosting with 24/7 support.