Auto-Generate Blog & AI Image from YouTube Videos with Dumpling AI & GPT-4o

πŸ“‹ High-Level Summary

This workflow automates the entire process of converting a newly uploaded video (e.g., a YouTube video) stored in a Google Drive folder into a fully written blog post and a matching AI-generated image. It leverages Dumpling AI for video transcription and image generation, and OpenAI's GPT-4o for content creation. The final blog post and image are saved to an Airtable base, making it ideal for content creators who want to repurpose video content into blog articles with custom visuals without manual effort.

The workflow is triggered the moment a new video file appears in a specific Google Drive folder. It downloads the video, transcribes it, generates a blog post and an image prompt using AI, creates the image, and stores everything in Airtable. This saves hours of manual transcription, writing, and image design work.

πŸ”§ Node-by-Node Breakdown

  • Watch Folder for New YouTube Videos β€” Google Drive Trigger (OAuth2). This node monitors a specific Google Drive folder for newly created files. It polls every minute and triggers when a new file appears. You must configure it to watch a specific folder by selecting the folder from your Google Drive. Auth method: OAuth2 connection to Google Drive.
  • Download Video File β€” Google Drive (OAuth2). Downloads the file that was just detected by the trigger. It uses the file ID from the previous node's output ($json.id). Operation set to "download". Auth: OAuth2 (same Google Drive credential).
  • Convert Downloaded Video to Base64 β€” Extract From File (No auth). Converts the binary video file into a base64-encoded string so it can be sent to an external API. The operation is "binaryToProperty" which extracts the binary data into a property for the next node.
  • Transcribe Video with Dumpling AI (Full Transcript) β€” HTTP Request (Header Auth). Sends a POST request to Dumpling AI's extract-video endpoint with the base64 video and a detailed transcription prompt. The prompt instructs the AI to produce a complete, accurate transcript including all spoken words. Auth method: Header Auth β€” you need to provide an API key as a header (typically Authorization: Bearer YOUR_KEY).
  • Generate Blog & Image Prompt using GPT-4o β€” OpenAI (API Key). Uses GPT-4o to generate a blog post and an image prompt from the transcript received from Dumpling AI. The system message contains detailed instructions on how to write the blog post (conversational tone, structure, length) and how to create a descriptive image prompt suitable for FLUX.1-pro. The output is set to JSON format. Auth: API Key from your OpenAI account.
  • Generate Visual from Blog Prompt with Dumpling AI β€” HTTP Request (Header Auth). Sends a POST request to Dumpling AI's generate-ai-image endpoint with the image prompt extracted from GPT-4o's output. Parameters include model FLUX.1-pro, image dimensions 1024x576, and aspect ratio 16:9. Auth: Header Auth (same Dumpling AI API key).
  • Save Blog Post to Airtable β€” Airtable (API Key). Creates a new record in an Airtable table with the blog post content. The column mapping maps the GPT-4o generated blog content to the "Content" field in Airtable. Auth: API Key from your Airtable account.
  • Upload Blog post Image to Airtable β€” HTTP Request (Header Auth). Patches the Airtable record (using its ID) to attach the generated image URL (which comes from the image generation node). Note: The URL used in the JSON body currently uses the image prompt text rather than the actual generated image URL β€” this may require adjustment to use the correct output from the Dumpling AI image generation node. Auth: Header Auth (Airtable API key).

πŸš€ Setup Instructions

To use this workflow, you need accounts and API keys for the following services:

  1. Google Drive β€” You need a Google account and must authorize n8n to access your Drive. Create an OAuth2 credential in n8n for Google Drive.
  2. Dumpling AI β€” Sign up at dumplingai.com and get an API key. Create a Header Auth credential in n8n with the key Authorization and value Bearer YOUR_API_KEY.
  3. OpenAI β€” You need an OpenAI API key (from platform.openai.com). Create a generic API Key credential in n8n.
  4. Airtable β€” You need an Airtable account and a base with a table. Get your Airtable API key from airtable.com/account. Create an API Key credential in n8n.

Steps to configure:

  • Set up the Google Drive trigger to watch your specific folder.
  • Update the Airtable nodes with your correct Base ID, Table ID, and column names.
  • For the "Upload Blog post Image to Airtable" node, you must replace the URL template with your actual Airtable base ID and table ID (currently it shows placeholders). Also, ensure the JSON body uses the actual image URL from the Dumpling AI response, not the image prompt.
  • Update the Dumpling AI API URLs if they change (check current documentation).

πŸ’‘ Use Cases & Variations

  • Content Repurposing: Automate turning webinar recordings, video lectures, or vlogs into blog posts with custom thumbnails.
  • Social Media Content: Modify the workflow to post the blog and image directly to WordPress, Medium, or social platforms like LinkedIn and Twitter.
  • Podcast to Blog: Use the same flow for audio files by adjusting the trigger to watch for audio files and the transcription endpoint.
  • Multi-language Support: Change the GPT-4o prompt to generate blog posts in different languages.
  • Enhanced Image Generation: Experiment with different Dumpling AI models (e.g., DALL-E, Stable Diffusion) by changing the model parameter in the image generation node.

Possible improvements: Add error handling (e.g., if transcription fails, send a Slack alert), or add a human review step before publishing. You could also use the image prompt to generate multiple image variations and select the best one.

10 nodesmanual triggerAI
Google DriveExtract From FileHTTP RequestOpen AIAirtableSticky Note

Workflow JSON

{
  "id": "kyDSmFJkvi8CYHh2",
  "meta": {
    "instanceId": "a1ae5c8dc6c65e674f9c3947d083abcc749ef2546dff9f4ff01de4d6a36ebfe6",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Generate Blog & AI Image from YouTube Videos with Dumpling AI & GPT-4o",
  "tags": [],
  "nodes": [
    {
      "id": "7847f8a8-a60e-4b2c-afa1-8d586cb42d5c",
      "name": "Watch Folder for New YouTube Videos",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -2960,
        -420
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1mde_V0ePcJEebVydygVKT7GDiABjj2A4",
          "cachedResultName": "Youtube Videos"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "credential-id",
          "name": "googleDriveOAuth2Api Credential"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cee77d1b-a91a-4fae-b5ae-eac34a9b0a03",
      "name": "Download Video File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -2740,
// ... 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

Automated Blog Post Creation from News with AI and Blogger

This workflow automates the entire process of creating a fully SEO-optimized blog post from a news article. It fetches a trending technology news headline from Mediastack, generates relevant images from Pexels, uses two AI agents (via OpenRouter) to produce a title, slug, meta description, and a complete WordPress-compatible HTML blog post, then posts it directly to Blogger and sends you a Telegram notification. It's perfect for content marketers, bloggers, or anyone who wants to consistently publish fresh, data-driven content without manual effort. Node Breakdown Schedule Trigger (No auth) β€” Runs the workflow at a set interval (configured every minute by default, but you should change it to daily or hourly). Mediastack News (API Key auth via query parameter) β€” Fetches the latest technology news article in English from the Mediastack API. Parameters: set to . Genarate image (API Key auth via header, ) β€” Searches Pexels for up to 2 images related to the news title. Parameters: = , = 2. Send a text message1 (Telegram bot token auth) β€” Sends a Telegram message with the generated image URLs to the chat ID stored in . AI Agent (Uses OpenRouter Chat Model β€” API Key auth) β€” This agent takes the news title and returns a JSON object with three fields: , , and (meta description). The prompt includes strict guidelines for SEO-friendly output. OpenRouter Chat Model (API Key auth) β€” The language model for the first AI agent, using . Parsing (No auth) β€” A Code node that cleans the raw AI output (removes markdown code fences) and parses the JSON into usable fields. Copywriter AI Agent (Uses OpenRouter Chat Model2 β€” API Key auth) β€” This agent writes a complete 1,000-word SEO blog post in HTML format. It uses the title, meta, and the two images from Pexels. The prompt is very detailed, specifying structure, keyword placement, and styling. OpenRouter Chat Model2 (API Key auth) β€” Same model as the first, but used for the second agent. Cleanup HTML (No auth) β€” A Set node that removes any leftover htmlurlhttps://www.googleapis.com/blogger/v3/blogs/$vars.bloggerid/postsPOSThttpQueryAuthAuthorization$vars.telegramchatid$vars.bloggeridbusinesssports`) to match your niche. Multi-language Support β€” Modify the Mediastack query to fetch news in other languages, and adjust the AI prompts to write in that language. Custom Image Sources β€” Replace the Pexels node with another image API (e.g., Unsplash) or use a local image generation model. Different CMS β€” Swap the Blogger HTTP Request node with WordPress or any other CMS API (just change the URL and body format). Human-in-the-Loop β€” Add a Slack or email approval step before publishing to review the AI-generated content. Newsletter Integration β€” Instead of posting to a blog, send the formatted content as an email newsletter via Gmail or SendGrid.

16 nodes

AI-Powered Unsplash to Pinterest Workflow with RAG

Overview This workflow provides an intelligent pipeline for processing and storing data related to Unsplash images for Pinterest. It uses a Retrieval-Augmented Generation (RAG) architecture to automatically ingest content, generate embeddings, store them in a vector database (Supabase), and then process queries using an AI agent. The workflow is triggered via a webhook, making it suitable for integration with external applications or manual testing. Node-by-Node Breakdown Sticky Note β€” A visual note for documentation purposes. It displays the title "Automated workflow: Unsplash to Pinterest" on the canvas. No authentication required. Webhook Trigger β€” Listens for incoming HTTP POST requests at the path . This is the entry point for the workflow. When triggered, it passes the incoming data to the next nodes. (No auth) Text Splitter β€” Splits incoming text into chunks of 400 characters with a 40-character overlap. This prepares the data for embedding by breaking it into manageable pieces. (No auth) Embeddings (Cohere) β€” Generates vector embeddings for each text chunk using the model from Cohere. These embeddings represent the semantic meaning of the text. (API Key auth β€” requires a Cohere API key) Supabase Insert β€” Inserts the generated embeddings into a Supabase vector store named . This stores the data for later retrieval. (API Key auth β€” requires Supabase credentials) Supabase Query β€” Queries the same Supabase vector store () to retrieve relevant vectors based on similarity search. This is used by the RAG agent to find context. (API Key auth β€” requires Supabase credentials) Vector Tool β€” Wraps the Supabase vector store as a tool that the AI agent can use to retrieve context. It's labeled "Vector context" for clarity. (No auth β€” uses the Supabase connection from the previous nodes) Window Memory β€” Provides a buffer window memory for the AI agent, allowing it to maintain conversation context across multiple interactions. (No auth) Chat Model (OpenAI) β€” The language model that powers the AI agent. It uses OpenAI's chat model to process queries and generate responses. (API Key auth β€” requires an OpenAI API key) RAG Agent β€” The core AI agent that combines the chat model, vector tool, and memory. It processes incoming data with the prompt: "Process the following data for task 'Unsplash to Pinterest':" and includes a system message: "You are an assistant for Unsplash to Pinterest". (No auth β€” uses connections to other nodes) Append Sheet (Google Sheets) β€” Appends the AI agent's output to a Google Sheet. It writes to a sheet named "Log" in a document identified by . The column "Status" is populated with the agent's response text. (OAuth2 β€” requires Google Sheets API credentials) Slack Alert β€” Sends an error notification to the Slack channel if the RAG Agent encounters an error. The message includes the error details. (OAuth2 β€” requires Slack API credentials) Setup Instructions To use this workflow, you'll need accounts and API keys for the following services: Cohere: Sign up at cohere.com and generate an API key for the embeddings model. Supabase: Create a project at supabase.com and set up a vector store with the name . You'll need your Supabase URL and service role key. OpenAI: Get an API key from platform.openai.com for the chat model. Google Sheets: Create a Google Sheet with a sheet named "Log" and note the Sheet ID from the URL. Set up OAuth2 credentials in the Google Cloud Console. Slack: Create a Slack app, add it to your workspace, and obtain OAuth tokens. Create a channel named for error notifications. Configure each node's credentials in n8n by clicking on the node and selecting "Add Credential" or selecting existing ones. Use Cases and Variations This workflow is ideal for: Content Curation: Automatically process and store descriptions of Unsplash images for later retrieval and Pinterest posting. Knowledge Base: Build a searchable database of image metadata with semantic search capabilities. Automated Content Moderation: Use the AI agent to analyze image descriptions and flag inappropriate content before posting. Possible Adaptations: Replace the webhook trigger with a Schedule Trigger to run the workflow at regular intervals. Swap the Cohere embeddings with OpenAI embeddings or Hugging Face embeddings. Instead of Google Sheets, output to Airtable, Notion, or PostgreSQL. Add an HTTP Request node after the RAG Agent to post processed data directly to Pinterest's API. Use a different vector store like Pinecone or Qdrant instead of Supabase.

12 nodes

Telegram AI Chatbot with OpenAI GPT

Overview This workflow turns your Telegram bot into a smart AI assistant powered by OpenAI's GPT models. Every time someone sends a message to your bot, the workflow forwards it to GPT, generates a context-aware reply, and sends it back β€” all in a few seconds. It's a cost-effective alternative to paid chatbot platforms, giving you full control over the personality and rules via a system prompt. How It Works The workflow is triggered by an incoming Telegram message, processes it through an AI model, and replies to the same chat. Here are the nodes and their roles: Telegram Message In (Telegram Bot Token auth) β€” Watches for new messages in your bot's chat. Configured to listen for updates only. No additional parameters. AI Reply (OpenAI API Key auth) β€” Sends the user's message to OpenAI's GPT model (here as a placeholder – you can choose any available model). The request includes a system prompt that defines the bot's behavior (e.g., "You are a helpful, concise assistant...") and the user message from the Telegram trigger. This node has retry on fail enabled (3 retries, 5 seconds apart) to handle transient errors. Send Reply (Telegram Bot Token auth) β€” Takes the AI's response (from ) and sends it back to the original chat, using the from the trigger. No retry is configured to avoid duplicate messages. Setup Instructions Create a Telegram Bot: Open Telegram, search for , and send . Follow the prompts to get a bot token (e.g., ). Get an OpenAI API Key: Sign up at platform.openai.com, create an API key, and ensure it has access to the GPT model you want to use. Configure Credentials in n8n: - For the Telegram nodes (Trigger and Send), create a new credential of type "Telegram API" and paste your bot token. - For the AI Reply node, create a credential of type "OpenAI" and paste your API key. Edit the System Prompt: Open the AI Reply node and modify the system message to change the bot's personality, tone, or knowledge constraints. For example, you can make it a support agent, a tutor, or a sarcastic friend. Activate the Workflow: Once saved, toggle the workflow to "Active". Send a message to your bot on Telegram to test it. Use Cases & Variations Customer Support: Replace the system prompt with your FAQ and company policies to create a 24/7 support bot. Personal Assistant: Add a directive to remember context (requires additional memory nodes like Window Buffer Memory) or integrate with calendars/tasks. Multi‑language Translator: Change the system prompt to "Translate the user's message to Spanish" and use the AI reply as a translation service. Content Generator: Have the bot generate blog posts, jokes, or summaries based on user requests. Error Handling: The workflow includes retries on the AI node only. If you want to be notified of failures, add an Error Trigger workflow that sends alerts to Slack or email.

6 nodes

Ready to automate with n8n?

Get affordable managed n8n hosting with 24/7 support.