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-videoendpoint 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 (typicallyAuthorization: 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-imageendpoint with the image prompt extracted from GPT-4o's output. Parameters include modelFLUX.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:
- Google Drive β You need a Google account and must authorize n8n to access your Drive. Create an OAuth2 credential in n8n for Google Drive.
- Dumpling AI β Sign up at dumplingai.com and get an API key. Create a Header Auth credential in n8n with the key
Authorizationand valueBearer YOUR_API_KEY. - OpenAI β You need an OpenAI API key (from platform.openai.com). Create a generic API Key credential in n8n.
- 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
modelparameter 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.
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
- 1Copy the workflow JSON above using the Copy Workflow JSON button.
- 2Open your n8n instance and go to Workflows.
- 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.
AI Chat Agent with OpenAI, Memory, and Web Search
Overview This workflow creates an intelligent AI chat agent that combines OpenAI's language model with conversational memory and real-time web search capabilities via SerpAPI. It is designed to power interactive chat applications where the AI can remember context across messages and fetch up-to-date information from the internet when needed. This is particularly useful for building customer support bots, research assistants, or any conversational interface that requires both knowledge retention and live data access. The workflow is triggered by incoming chat messages and processes them through an AI agent that coordinates between the language model, memory buffer, and search tool. The agent can decide when to use web search to answer questions that require current information, while maintaining conversation history for coherent multi-turn dialogues. Workflow Steps Manual Trigger (No auth) β This node allows you to manually start the workflow for testing purposes. It has no parameters configured and simply provides a button to execute the workflow on demand. When chat message received (No auth) β This is a webhook-based trigger that listens for incoming chat messages. It generates a unique webhook URL that you can integrate with your chat frontend or messaging platform. The parameter is empty, meaning default webhook behavior is used. AI Agent (No auth) β This is the core orchestrator node that manages the conversation flow. It coordinates between the OpenAI model, memory buffer, and SerpAPI tool. The agent decides which tool to use based on the user's query and maintains the conversation state. OpenAI Chat Model (API Key auth) β This node connects to OpenAI's GPT-4o-mini model to generate responses. It requires an OpenAI API key configured in n8n credentials. The parameter is set to , which is a cost-effective and fast model suitable for chat applications. The parameter is empty, using default model settings. Window Buffer Memory (No auth) β This node implements a sliding window memory that stores recent conversation history. It allows the AI to remember context from previous messages within a configurable window size. The parameters are empty, using default memory settings. SerpAPI (API Key auth) β This tool node enables web search functionality via SerpAPI (Google Search API). It requires a SerpAPI API key configured in n8n credentials. The parameter is empty, using default search settings. The agent calls this node when it determines that real-time web data is needed to answer a query. Setup Instructions To use this workflow, you need the following accounts and credentials: OpenAI Account: Sign up at platform.openai.com and create an API key. In n8n, create an "OpenAI" credential and paste your API key. SerpAPI Account: Register at serpapi.com and obtain an API key. In n8n, create a "SerpAPI" credential with your key. Webhook URL: After activating the workflow, copy the webhook URL from the "When chat message received" node. Integrate this URL into your chat application (e.g., a custom web chat widget, Slack app, or Telegram bot). Optional: Configure the memory window size in the "Window Buffer Memory" node if you want to limit or extend conversation context. Use Cases and Variations This workflow can be adapted for multiple scenarios: Customer Support Bot: Replace SerpAPI with a knowledge base tool (e.g., vector store or database lookup) to answer product-specific questions. Research Assistant: Keep SerpAPI for web search and add additional tools like Wikipedia or news APIs. Multi-Platform Chat: Connect the webhook to different messaging platforms (Slack, Discord, Telegram) by adding appropriate trigger nodes. Personal Assistant: Add calendar or email tools to let the AI manage schedules and send messages. Language Translation: Replace the OpenAI model with a translation-specific model or add a translation tool node. To extend the workflow, you can add more tool nodes (e.g., database queries, file operations) and connect them to the AI Agent. The agent will automatically learn to use new tools based on their descriptions.
AI Social Media Content Generator using Local Ollama
This workflow uses a local Ollama instance to automatically generate platform-specific social media content (Twitter, LinkedIn, Reddit, Instagram) for a given topic, brand voice, and target audience. It then reviews and polishes the content for consistency and quality. Perfect for content creators, marketers, or developers who want to quickly produce multi-platform posts with full control over AI model and data privacy. Workflow Steps Manual Trigger (No auth) β Manually start the workflow to generate content on demand. Content Parameters β A Set node that defines three input variables: , , and . These can be edited directly in the node to customize each generation. Generate All Platform Content (Ollama) β An HTTP Request node (No auth) that sends a prompt to the local Ollama API (). It requests the model () to output structured JSON containing posts for Twitter, LinkedIn, Reddit, and Instagram. Parse Content JSON β A Code node that extracts and parses the JSON response from Ollama, merging it with the original topic and a timestamp. Review & Polish (Ollama) β A second HTTP Request node (No auth) that sends the generated content to Ollama for quality review (grammar, tone, formatting) and returns corrected versions if needed. Final Content Output β A Code node that merges the reviewed output with the original and flags whether the content was reviewed. Setup Instructions Ollama: Download and install Ollama on your local machine. Pull the model by running . Ensure Ollama is running (default on ). n8n: The workflow uses only local connectionsβno external API keys or accounts required. Simply import the JSON into your n8n instance and execute it manually. Customization: Modify the node to change the topic, brand voice, or target audience. Adjust the prompt in the first HTTP Request node to add or remove platforms. Use Cases & Variations Scheduled content generation: Replace the Manual Trigger with a Cron trigger to generate posts daily or weekly. Multi-model support: Change the parameter in Ollama calls to use other models like , , or . Platform expansion: Edit the prompt to include additional platforms (e.g., Facebook, TikTok) or output formats. Integration with publishing tools: After the final output, add nodes to post directly to Twitter via API, save to a Google Sheet, or send to a CMS. Language/tonality: Adjust the and prompt instructions to generate content in different languages or styles.