Back to Catalog

Generate videos from images with Telegram, GPT-4.1 & Seedance/Veo3 integration

Automate With MarcAutomate With Marc
2010 views
2/3/2026
Official Page

πŸŽ₯ Telegram Image-to-Video Generator Agent (Veo3 / Seedance Integration) ⚠️ This template uses [community nodes] and some credential-based HTTP API calls (e.g. Seedance/Wavespeed). Ensure proper credentials are configured before running.

πŸ› οΈ In the accompanying video tutorial, this logic is built as two separate workflows:

Telegram β†’ Image Upload + Prompt Agent Prompt Output β†’ Video Generation via API

Watch Full Video Tutorial: https://youtu.be/iaZHef5bZAc&list=PL05w1TE8X3baEGOktlXtRxsztOjeOb8Vg&index=1

✨ What This Workflow Does This powerful automation allows you to generate short-form videos from a Telegram image input and user prompt β€” perfect for repurposing content into engaging reels.

From the moment a user sends a photo with a caption to your Telegram bot, this n8n workflow:

πŸ“Έ Captures the image and saves it to Google Drive 🧠 Uses an AI Agent (via LangChain + OpenAI) to craft a Seedance/Veo3-compatible video prompt πŸ“‘ Logs the interaction to a Google Sheet 🎞️ Sends the prompt + image to the Seedance (Wavespeed) API to generate a video πŸš€ Sends the resulting video back to the user on Telegram β€” fully automated

πŸ”— How It Works (Step-by-Step) Telegram Bot Trigger Listens for incoming images and captions Conditional Logic Filters out invalid inputs AI Agent (LangChain)

Uses OpenAI GPT to: Generate a video prompt Attach the most recent image URL (from Google Sheet) Google Drive Upload Saves the Telegram image and logs the share link Google Sheets Logging Appends a new row with date + file link Wavespeed (Seedance/Veo3) API Calls the /bytedance/seedance-v1-pro-i2v-480p endpoint with image and prompt Video Polling & Output Waits for generation completion Sends back final video file to Telegram user

πŸ› οΈ Tools & APIs Used Telegram Bot (Trigger + Video Reply) LangChain Agent Node OpenAI GPT-4.1-mini for Prompt Generation Simple Memory & Tools (Google Sheets) Google Drive (Image upload) Google Sheets (Log prompts + image URLs) Wavespeed / Seedance API (Image-to-video generation)

🧩 Requirements Before running this workflow: βœ… Set up a Telegram Bot and configure credentials βœ… Connect your Google Drive and Google Sheets credentials βœ… Sign up for Wavespeed / Seedance and generate an API key βœ… Replace placeholder values in:

HTTP Request nodes

Google Drive folder ID Google Sheet document ID

πŸ“¦ Suggested Use Cases Generate short-form videos from image ideas Reformat static images into dynamic reels Repurpose visual content for TikTok/Instagram

n8n Workflow: Generate Videos from Images with Telegram and GPT-4 (Seedanceveo3 Integration)

This n8n workflow automates the process of generating videos from images based on user requests received via Telegram, leveraging a GPT-4 AI agent for intelligent processing and Google Drive for image storage. It integrates with a custom video generation service (implied by the HTTP Request node) and provides real-time updates to the user.

What it does

This workflow streamlines the video generation process through the following steps:

  1. Receives Telegram Messages: Listens for incoming messages on a configured Telegram bot.
  2. Filters for Image Messages: Checks if the received message contains an image.
  3. Stores Image in Google Drive: If an image is present, it uploads the image to a specified Google Drive folder.
  4. Initiates AI Agent (GPT-4): Passes the Telegram message and Google Drive file ID to an AI Agent (likely GPT-4 via LangChain) for processing.
  5. AI Agent "Thinks": The AI Agent uses a "Think" tool (likely for internal reasoning or planning) to determine the next steps.
  6. Interacts with OpenAI Chat Model: The AI Agent communicates with an OpenAI Chat Model (GPT-4) to understand the request and potentially generate video parameters or instructions.
  7. Maintains Conversation Context: Uses a "Simple Memory" (Buffer Window) to maintain conversational context with the AI Agent, allowing for more coherent interactions.
  8. Makes HTTP Request for Video Generation: Sends an HTTP request to an external service (likely Seedanceveo3 or a similar custom API) to initiate video generation, passing the image URL and AI-generated instructions.
  9. Records Activity in Google Sheets: Logs the request details, including the Telegram user, image ID, and video generation status, into a Google Sheet.
  10. Waits for Video Generation: Pauses the workflow execution for a specified duration, allowing the video generation service to complete its task.
  11. Retrieves Generated Video (Implicit): Although not explicitly shown, the workflow is designed to either receive a webhook from the video service or poll for the video status/URL after the wait period.
  12. Sends Video Confirmation to Telegram: Notifies the user on Telegram about the successful video generation and potentially provides a link to the generated video.

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 Drive Account: Access to a Google Drive account with appropriate permissions for uploading files.
  • Google Sheets Account: Access to a Google Sheets account for logging workflow activities.
  • OpenAI API Key: An API key for OpenAI (likely for GPT-4 access).
  • Custom Video Generation Service: An endpoint for a video generation service (e.g., Seedanceveo3 integration) that accepts image URLs and potentially other parameters via an HTTP request.
  • LangChain Integration: The @n8n/n8n-nodes-langchain package installed in your n8n instance.

Setup/Usage

  1. Import the Workflow: Import the provided JSON into your n8n instance.
  2. Configure Credentials:
    • Set up Telegram credentials with your bot token.
    • Set up Google Drive credentials (OAuth 2.0 recommended) with access to the target folder.
    • Set up Google Sheets credentials (OAuth 2.0 recommended) with access to the target spreadsheet.
    • Set up OpenAI credentials with your API key.
  3. Configure Nodes:
    • Telegram Trigger: Ensure it's listening for the correct message types.
    • Google Drive: Specify the folder ID where images should be uploaded.
    • AI Agent / OpenAI Chat Model: Configure the specific GPT model (e.g., gpt-4) and any other relevant parameters.
    • HTTP Request: Update the URL and payload to match your custom video generation service's API. Ensure it correctly passes the Google Drive image URL and any AI-generated instructions.
    • Google Sheets: Specify the Spreadsheet ID and sheet name for logging.
    • Wait: Adjust the wait time according to how long your video generation service typically takes.
    • Telegram (Send Video Confirmation): Customize the message sent back to the user.
  4. Activate the Workflow: Once all configurations are complete, activate the workflow.

Now, when a user sends an image to your Telegram bot, the workflow will automatically process it, generate a video, and notify the user.

Related Templates

Create verified user profiles with email validation, PDF generation & Gmail delivery

Verified User Profile Creation - Automated Email Validation & PDF Generation --- Overview This comprehensive automation workflow streamlines the user onboarding process by validating email addresses, generating professional profile PDFs, and delivering them seamlessly to verified users. 🎯 What This Workflow Does: Receives User Data - Webhook trigger accepts user signup information (name, email, city, profession, bio) Validates Email Addresses - Uses VerifiEmail API to ensure only legitimate email addresses proceed Conditional Branching - Smart logic splits workflow based on email verification results Generates HTML Profile - Creates beautifully styled HTML templates with user information Converts to PDF - Transforms HTML into professional, downloadable PDF documents Email Delivery - Sends personalized welcome emails with PDF attachments to verified users Data Logging - Records all verified users in Google Sheets for analytics and tracking Rejection Handling - Notifies users with invalid emails and provides guidance ✨ Key Features: βœ… Email Verification - Prevents fake registrations and maintains data quality πŸ“„ Professional PDF Generation - Beautiful, branded profile documents πŸ“§ Automated Email Delivery - Personalized welcome messages with attachments πŸ“Š Google Sheets Logging - Complete audit trail of all verified users πŸ”€ Smart Branching - Separate paths for valid and invalid emails 🎨 Modern Design - Clean, responsive HTML/CSS templates πŸ”’ Secure Webhook - POST endpoint for seamless form integration 🎯 Perfect Use Cases: User registration systems Community membership verification Professional certification programs Event registration with verified attendees Customer onboarding processes Newsletter signup verification Educational platform enrollments Membership card generation πŸ“¦ What's Included: Complete workflow with 12 informative sticky notes Pre-configured webhook endpoint Email verification integration PDF generation setup Gmail sending configuration Google Sheets logging Error handling guidelines Rejection email template πŸ› οΈ Required Integrations: VerifiEmail - For email validation (https://verifi.email) HTMLcsstoPDF - For PDF generation (https://htmlcsstopdf.com) Gmail OAuth2 - For email delivery Google Sheets OAuth2 - For data logging ⚑ Quick Setup Time: 15-20 minutes πŸŽ“ Skill Level: Beginner to Intermediate --- Benefits: βœ… Reduces manual verification work by 100% βœ… Prevents spam and fake registrations βœ… Delivers professional branded documents automatically βœ… Maintains complete audit trail βœ… Scales effortlessly with user growth βœ… Provides excellent user experience βœ… Easy integration with any form or application --- Technical Details: Trigger Type: Webhook (POST) Total Nodes: 11 (including 12 documentation sticky notes) Execution Time: ~3-5 seconds per user API Calls: 3 external (VerifiEmail, HTMLcsstoPDF, Google Sheets) Email Format: HTML with binary PDF attachment Data Storage: Google Sheets (optional) --- License: MIT (Free to use and modify) --- 🎁 BONUS FEATURES: Comprehensive sticky notes explaining each step Beautiful, mobile-responsive email template Professional PDF styling with modern design Easily customizable for your branding Ready-to-use webhook endpoint Error handling guidelines included --- Perfect for: Developers, No-code enthusiasts, Business owners, SaaS platforms, Community managers, Event organizers Start automating your user verification process today! πŸš€

Jitesh DugarBy Jitesh Dugar
51

Automate Reddit brand monitoring & responses with GPT-4o-mini, Sheets & Slack

How it Works This workflow automates intelligent Reddit marketing by monitoring brand mentions, analyzing sentiment with AI, and engaging authentically with communities. Every 24 hours, the system searches Reddit for posts containing your configured brand keywords across all subreddits, finding up to 50 of the newest mentions to analyze. Each discovered post is sent to OpenAI's GPT-4o-mini model for comprehensive analysis. The AI evaluates sentiment (positive/neutral/negative), assigns an engagement score (0-100), determines relevance to your brand, and generates contextual, helpful responses that add genuine value to the conversation. It also classifies the response type (educational/supportive/promotional) and provides reasoning for whether engagement is appropriate. The workflow intelligently filters posts using a multi-criteria system: only posts that are relevant to your brand, score above 60 in engagement quality, and warrant a response type other than "pass" proceed to engagement. This prevents spam and ensures every interaction is meaningful. Selected posts are processed one at a time through a loop to respect Reddit's rate limits. For each worthy post, the AI-generated comment is posted, and complete interaction data is logged to Google Sheets including timestamp, post details, sentiment, engagement scores, and success status. This creates a permanent audit trail and analytics database. At the end of each run, the workflow aggregates all data into a comprehensive daily summary report with total posts analyzed, comments posted, engagement rate, sentiment breakdown, and the top 5 engagement opportunities ranked by score. This report is automatically sent to Slack with formatted metrics, giving your team instant visibility into your Reddit marketing performance. --- Who is this for? Brand managers and marketing teams needing automated social listening and engagement on Reddit Community managers responsible for authentic brand presence across multiple subreddits Startup founders and growth marketers who want to scale Reddit marketing without hiring a team PR and reputation teams monitoring brand sentiment and responding to discussions in real-time Product marketers seeking organic engagement opportunities in product-related communities Any business that wants to build authentic Reddit presence while avoiding spammy marketing tactics --- Setup Steps Setup time: Approx. 30-40 minutes (credential configuration, keyword setup, Google Sheets creation, Slack integration) Requirements: Reddit account with OAuth2 application credentials (create at reddit.com/prefs/apps) OpenAI API key with GPT-4o-mini access Google account with a new Google Sheet for tracking interactions Slack workspace with posting permissions to a marketing/monitoring channel Brand keywords and subreddit strategy prepared Create Reddit OAuth Application: Visit reddit.com/prefs/apps, create a "script" type app, and obtain your client ID and secret Configure Reddit Credentials in n8n: Add Reddit OAuth2 credentials with your app credentials and authorize access Set up OpenAI API: Obtain API key from platform.openai.com and configure in n8n OpenAI credentials Create Google Sheet: Set up a new sheet with columns: timestamp, postId, postTitle, subreddit, postUrl, sentiment, engagementScore, responseType, commentPosted, reasoning Configure these nodes: Brand Keywords Config: Edit the JavaScript code to include your brand name, product names, and relevant industry keywords Search Brand Mentions: Adjust the limit (default 50) and sort preference based on your needs AI Post Analysis: Customize the prompt to match your brand voice and engagement guidelines Filter Engagement-Worthy: Adjust the engagementScore threshold (default 60) based on your quality standards Loop Through Posts: Configure max iterations and batch size for rate limit compliance Log to Google Sheets: Replace YOURSHEETID with your actual Google Sheets document ID Send Slack Report: Replace YOURCHANNELID with your Slack channel ID Test the workflow: Run manually first to verify all connections work and adjust AI prompts Activate for daily runs: Once tested, activate the Schedule Trigger to run automatically every 24 hours --- Node Descriptions (10 words each) Daily Marketing Check - Schedule trigger runs workflow every 24 hours automatically daily Brand Keywords Config - JavaScript code node defining brand keywords to monitor Reddit Search Brand Mentions - Reddit node searches all subreddits for brand keyword mentions AI Post Analysis - OpenAI analyzes sentiment, relevance, generates contextual helpful comment responses Filter Engagement-Worthy - Conditional node filters only high-quality relevant posts worth engaging Loop Through Posts - Split in batches processes each post individually respecting limits Post Helpful Comment - Reddit node posts AI-generated comment to worthy Reddit discussions Log to Google Sheets - Appends all interaction data to spreadsheet for permanent tracking Generate Daily Summary - JavaScript aggregates metrics, sentiment breakdown, generates comprehensive daily report Send Slack Report - Posts formatted daily summary with metrics to team Slack channel

Daniel ShashkoBy Daniel Shashko
679

Automate financial transaction tracking with Gmail, GPT, Notion & Telegram alerts

πŸ“© Automatically Log Transactions from Gmail into Notion and Get Telegram Alerts Who’s it for This workflow is for individuals or entrepreneurs who receive bank alerts, invoices, and payment emails in Gmail and want them to be automatically organized in Notion β€” while also receiving quick Telegram notifications for each transaction. If you manage personal or business finances and find it tedious to manually record every debit, credit, or invoice β€” this automation does it all for you. --- How it works The workflow acts as an AI-powered Accountant Agent that reads incoming Gmail messages and decides whether each email represents a Debit Transaction, Credit Transaction, Debit Invoice, or Credit Invoice. The Gmail Trigger watches your selected inboxes (like forwarding@bayesian-labs.com, support@bayesian-labs, anoop.karnik@bayesian-labs). The Classifier (GPT-5-nano) determines the correct transaction type. The appropriate Agent (GPT-5) then extracts amount, currency, and description details. The Agent uses Notion API tools to log structured data into your Personal Finance System Notion template (Financial Transactions & Income databases). Finally, a Telegram notification is sent summarizing the entry (From, To, Subject, Snippet). In short: every time your bank emails you β€” Notion gets updated, and you get notified. --- How to set up Duplicate the Personal Finance System Notion template into your workspace. Create a Telegram Bot with BotFather β†’ copy the bot token and your chat ID. Generate an OpenRouter API key for GPT-5 / GPT-5-nano. Create a Notion Integration Token and connect it to your duplicated finance databases. Add your Gmail accounts (forwarding@, support@, and/or personal Gmail) under Gmail OAuth2 credentials in n8n. Import the workflow JSON into n8n β†’ fill in the credential names as listed below: n8ncloudregular_usage β†’ OpenRouter Notion account β†’ Notion API Accountant AI β†’ Telegram Bot Gmail OAuth2 for each inbox trigger Once active, n8n polls Gmail every minute, classifies emails, updates Notion, and sends Telegram updates. --- Requirements n8n instance (self-hosted or cloud) Gmail accounts connected via OAuth2 OpenRouter API key Telegram bot token & chat ID Notion integration token Your duplicated Personal Finance System Notion template --- How to customize the workflow You can extend this workflow to: Track credit card statements, subscriptions, or payroll notifications. Add Slack or WhatsApp alerts alongside Telegram. Include live FX rates for USDβ†’INR conversion using an API node. Connect Google Sheets as a backup ledger or export target. Add error-handling branches to mark Gmail messages as processed or label them β€œLogged to Notion”.

AnoopBy Anoop
92