Back to Catalog

Create UGC style product ad video via Telegram + Gemini + Kie.ai’s Veo3.1 API

Parth PansuriyaParth Pansuriya
1064 views
2/3/2026
Official Page

Create UGC Style Product Ad Video via Telegram + Gemini + Kie.ai’s Veo3.1 API

Who’s it for

  • For creators, marketers, and e-commerce sellers who want to instantly generate short UGC-style product videos from a simple Telegram message — no manual editing or video skills required.

How it works / What it does

  • This workflow automatically turns a Telegram photo and caption into a 30-second UGC-style video ad using AI.
  1. A user sends a photo + caption on Telegram.
  2. Gemini AI reads the caption and image to generate a realistic UGC script with tone, benefits, and call-to-action.
  3. The photo and script are sent to Kie.ai’s Veo3.1 API, which creates a high-quality vertical video (9:16) using the image and narration.
  4. Once rendered, the finished video ad is automatically sent back to the Telegram chat.

How to set up

  • Connect your Telegram Bot credentials.
  • Add your Google Gemini API key in the Gemini node.
  • Create a Kie.ai account and obtain your Veo3.1 API key.
  • Paste the key in the HTTP Request nodes where required.
  • Activate the workflow — send a Telegram message with a product photo + caption to test.

Requirements

  • Telegram Bot API key
  • Google Gemini API key
  • Kie.ai Veo3.1 API key

How to customize the workflow

  • Change Gemini prompt style (e.g., humorous, professional, emotional).
  • Adjust Kie.ai model parameters (aspect ratio, duration, voice, or style).
  • Add branding overlays or logos after video generation.
  • Integrate with Google Drive, Notion, or Airtable to save results automatically.
  • Modify the Telegram response to include both the video and the AI-generated script

n8n Workflow: Create UGC-Style Product Ad Video via Telegram, Gemini, and Kieais Veo31 API

This n8n workflow automates the creation of UGC (User-Generated Content) style product ad videos. It acts as a conversational assistant, triggered by messages on Telegram, to gather product details and then uses a powerful AI agent (powered by Google Gemini) to generate a video script. Finally, it leverages an external API (Kieais Veo31) to produce the video and sends the result back to the user on Telegram.

What it does

This workflow simplifies the process of generating ad videos by:

  1. Listening for Telegram Messages: It starts by receiving messages from a configured Telegram bot.
  2. Processing User Input with AI: It uses an AI Agent, powered by Google Gemini, to interpret the user's request, extract product information, and generate a video script.
  3. Generating the Video: It makes an HTTP request to the Kieais Veo31 API to create the video based on the AI-generated script.
  4. Waiting for Video Completion: It includes a Wait step, which is likely intended to pause the workflow while the video generation process completes on the external API side.
  5. Sending Video Confirmation: It sends a confirmation message or the generated video URL back to the user on Telegram.
  6. Handling Errors/Invalid Input: An If node checks for a specific condition (though the condition itself is not detailed in the JSON, it's typically used for error handling or branching logic), allowing for different responses based on the outcome.
  7. Setting Output Fields: An "Edit Fields (Set)" node is used to structure the data before sending it to the next step, likely to format the response for Telegram.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • Telegram Bot: A Telegram bot token and chat ID.
  • Google Gemini API Key: Credentials for the Google Gemini Chat Model.
  • Kieais Veo31 API Access: An API endpoint and any necessary authentication for the Kieais Veo31 service.
  • HTTP Request Node Configuration: The specific URL, method, headers, and body for the Kieais Veo31 API call.

Setup/Usage

  1. Import the Workflow: Download the JSON provided and import it into your n8n instance.
  2. Configure Telegram Trigger:
    • Select your Telegram credential or create a new one with your bot token.
  3. Configure Google Gemini Chat Model:
    • Select your Google Gemini credential or create a new one with your API key.
  4. Configure HTTP Request (Kieais Veo31 API):
    • Update the "HTTP Request" node (ID 19) with the correct URL, HTTP method (e.g., POST), and request body for the Kieais Veo31 API. This is where the AI-generated script will be sent.
    • Add any required authentication (e.g., API key in headers or body).
  5. Configure Telegram Output:
    • Ensure the "Telegram" node (ID 49) is configured with the correct Telegram credential and the chat ID where the video link or confirmation should be sent.
  6. Review the If Node:
    • Examine the "If" node (ID 20) to understand its current condition. Adjust it as needed for error handling or specific branching logic related to the video generation status.
  7. Activate the Workflow: Once all credentials and configurations are set, activate the workflow.
  8. Interact via Telegram: Send a message to your configured Telegram bot with details about the product for which you want to create an ad video. The AI will process your request and initiate video generation.

Related Templates

AI multi-agent executive team for entrepreneurs with Gemini, Perplexity and WhatsApp

This workflow is an AI-powered multi-agent system built for startup founders and small business owners who want to automate decision-making, accountability, research, and communication, all through WhatsApp. The “virtual executive team,” is designed to help small teams to work smarter. This workflow sends you market analysis, market and sales tips, It can also monitor what your competitors are doing using perplexity (Research agent) and help you stay a head, or make better decisions. And when you feeling stuck with your start-up accountability director is creative enough to break the barrier 🎯 Core Features 🧑‍💼 1. President (Super Agent) Acts as the main controller that coordinates all sub-agents. Routes messages, assigns tasks, and ensures workflow synchronization between the AI Directors. 📊 2. Sales & Marketing Director Uses SerpAPI to search for market opportunities, leads, and trends. Suggests marketing campaigns, keywords, or outreach ideas. Can analyze current engagement metrics to adjust content strategy. 🕵️‍♀️ 3. Business Research Director Powered by Perplexity AI for competitive and market analysis. Monitors competitor moves, social media engagement, and product changes. Provides concise insights to help the founder adapt and stay ahead. ⏰ 4. Accountability Director Keeps the founder and executive team on track. Sends motivational nudges, task reminders, and progress reports. Promotes consistency and discipline — key traits for early-stage success. 🗓️ 5. Executive Secretary Handles scheduling, email drafting, and reminders. Connects with Google Calendar, Gmail, and Sheets through OAuth. Automates follow-ups, meeting summaries, and notifications directly via WhatsApp. 💬 WhatsApp as the Main Interface Interact naturally with your AI team through WhatsApp Business API. All responses, updates, and summaries are delivered to your chat. Ideal for founders who want to manage operations on the go. ⚙️ How It Works Trigger: The workflow starts from a WhatsApp Trigger node (via Meta Developer Account). Routing: The President agent analyzes the incoming message and determines which Director should handle it. Processing: Marketing or sales queries go to the Sales & Marketing Director. Research questions are handled by the Business Research Director. Accountability tasks are assigned to the Accountability Director. Scheduling or communication requests are managed by the Secretary. Collaboration: Each sub-agent returns results to the President, who summarizes and sends the reply back via WhatsApp. Memory: Context is maintained between sessions, ensuring personalized and coherent communication. 🧩 Integrations Required Gemini API – for general intelligence and task reasoning Supabase- for RAG and postgres persistent memory Perplexity API – for business and competitor analysis SerpAPI – for market research and opportunity scouting Google OAuth – to connect Sheets, Calendar, and Gmail WhatsApp Business API – for message triggers and responses 🚀 Benefits Acts like a team of tireless employees available 24/7. Saves time by automating research, reminders, and communication. Enhances accountability and strategy consistency for founders. Keeps operations centralized in a simple WhatsApp interface. 🧰 Setup Steps Create API credentials for: WhatsApp (via Meta Developer Account) Gemini, Perplexity, and SerpAPI Google OAuth (Sheets, Calendar, Gmail) Create a supabase account at supabase Add the credentials in the corresponding n8n nodes. Customize the system prompts for each Director based on your startup’s needs. Activate and start interacting with your virtual executive team on WhatsApp. Use Case You are a small organisation or start-up that can not afford hiring; marketing department, research department and secretar office, then this workflow is for you 💡 Need Customization? Want to tailor it for your startup or integrate with CRM tools like Notion or HubSpot? You can easily extend the workflow or contact the creator for personalized support. Consider adjusting the system prompt to suite your business

ShadrackBy Shadrack
331

Automated YouTube video uploads with 12h interval scheduling in JST

This workflow automates a batch upload of multiple videos to YouTube, spacing each upload 12 hours apart in Japan Standard Time (UTC+9) and automatically adding them to a playlist. ⚙️ Workflow Logic Manual Trigger — Starts the workflow manually. List Video Files — Uses a shell command to find all .mp4 files under the specified directory (/opt/downloads/单词卡/A1-A2). Sort and Generate Items — Sorts videos by day number (dayXX) extracted from filenames and assigns a sequential order value. Calculate Publish Schedule (+12h Interval) — Computes the next rounded JST hour plus a configurable buffer (default 30 min). Staggers each video’s scheduled time by order × 12 hours. Converts JST back to UTC for YouTube’s publishAt field. Split in Batches (1 per video) — Iterates over each video item. Read Video File — Loads the corresponding video from disk. Upload to YouTube (Scheduled) — Uploads the video privately with the computed publishAtUtc. Add to Playlist — Adds the newly uploaded video to the target playlist. 🕒 Highlights Timezone-safe: Pure UTC ↔ JST conversion avoids double-offset errors. Sequential scheduling: Ensures each upload is 12 hours apart to prevent clustering. Customizable: Change SPANHOURS, BUFFERMIN, or directory paths easily. Retry-ready: Each upload and playlist step has retry logic to handle transient errors. 💡 Typical Use Cases Multi-part educational video series (e.g., A1–A2 English learning). Regular content release cadence without manual scheduling. Automated YouTube publishing pipelines for pre-produced content. --- Author: Zane Category: Automation / YouTube / Scheduler Timezone: JST (UTC+09:00)

ZaneBy Zane
226

Monitor bank transactions with multi-channel alerts for accounting teams

Enhance financial oversight with this automated n8n workflow. Triggered every 5 minutes, it fetches real-time bank transactions via an API, enriches and transforms the data, and applies smart logic to detect critical, high, and medium priority alerts based on error conditions, amounts, or risk scores. It sends multi-channel notifications via email and Slack, logs all data to Google Sheets, and generates summary statistics for comprehensive tracking. 💰🚨 Key Features Real-time monitoring every 5 minutes for instant alerts. Smart prioritization (Critical, High, Medium) based on risk and errors. Multi-channel notifications via email and Slack. Detailed logging and summary reports in Google Sheets. How It Works Schedule Trigger: Runs every 5 minutes. Fetch Transactions: HTTP request retrieves real-time transaction data. API Error?: If condition for error logic is met, sends error alert. Enrich & Transform Data: Advanced risk calculation enhances data. Critical Alert?: If condition (50% or risk > 8) is met, raises alert. High Priority?: If condition (5% or risk > 7) is met, raises alert. Medium Priority?: If condition is met, raises alert. Log Priority to Sheet: Google Sheets appends critical, high, or medium priority data. Send Critical Email: HTML email to execute sheets append. Send High Priority Email: Email to finance team. Send High Priority Slack: Slack notification to finance team. Send Medium Priority Email: Email to finance team. Merge All Alerts: Combines all alerts for comprehensive tracking. Generate Summary Stats: Code block for analytics. Log Summary to Sheet: Summary statistics storage. Setup Instructions Import the workflow into n8n and configure the bank API credentials in "Fetch Transactions." Set up Google Sheets OAuth2 and replace the sheet ID for logging nodes. Configure Gmail API Key and Slack Bot Token for alerts. Test the workflow with sample transaction data exceeding risk or amount thresholds. Adjust priority conditions (e.g., 50%, 5%, risk > 8) based on your risk policy. Prerequisites Bank API access with real-time transaction data (e.g., https://api.bank.com) Google Sheets OAuth2 credentials Gmail API Key for email alerts Slack Bot Token (with chat:write permissions) Structured transaction data format Google Sheet Structure: Create a sheet with columns: Transaction ID Amount Date Risk Score Priority (Critical/High/Medium) Alert Sent Summary Stats Updated At Modification Options Adjust the "Schedule Trigger" interval (e.g., every 10 minutes). Modify "Critical Alert?" and "High Priority?" conditions for custom thresholds. Customize email and Slack templates with branded messaging. Integrate with fraud detection tools for enhanced risk analysis. Enhance "Generate Summary Stats" with additional metrics (e.g., average risk). Discover more workflows – Get in touch with us

Oneclick AI SquadBy Oneclick AI Squad
333