GPT-4o, RunwayML, ElevenLabs for Social Media
🎥 AI Tour Video Generator with GPT-4o, RunwayML & ElevenLabs for Social Media'
This n8n workflow generates 20-second faceless videos for social media by combining AI-generated images, audio, and video clips for a given tour destination.
The output is a ready-to-publish video file, which can be pushed to social platforms and logged in a tracking sheet.
⚙️ Workflow Overview
This system is divided into 4 main sections:
- 🧠 Generate Image Prompts
- 🎨 Generate Media (Images, Videos, Audio)
- 🛠️ Render & Upload
- 📈 Future Enhancements
🔌 Integration Setup Table
| Integration | Service Used | Setup Instruction | |--------------------|----------------------------|------------------------------------------------------------------------------------| | OpenAI | GPT-4o (Prompt Generation) | Get API Key and configure in n8n | | Google Sheet | Idea I/O tracking | Connect Google account with OAuth/Credentials in n8n | | Piapia API | AI Image Generation | Sign up at piapia.ai and get API key | | Runway API | AI Video Generation | Register at runwayml.com for access | | ElevenLabs | AI Voice Generation | Sign up at elevenlabs.io for API key | | CreateMate API | Render Final Video | Visit createmate.ai to access API | | Google Drive | Upload/Share Final Video | Use n8n Google Drive node to configure credentials |
✅ Required Services & Tools
Ensure you have active accounts with the following tools and services:
- ✅ OpenAI (GPT-4o + Embeddings)
- ✅ Google Sheets (for destination ideas and tracking)
- ✅ Piapia API (Image generation)
- ✅ RunwayML API (Video generation)
- ✅ ElevenLabs API (Voiceover TTS)
- ✅ Google Drive (Storage & Sharing)
- ✅ CreateMate (Video Rendering)
- ✅ Social Media Scheduler (Optional - Zapier, Buffer, Make.com)
🧠 1. Generate Image Prompts
> Purpose: Prepares the content idea and generates visual prompts.
| Step | Node Name | Function | |--------------|------------------------|-----------------------------------------------| | 🔁 Trigger | Schedule or Manual | Starts the workflow | | 📥 Grab Idea | Read Sheet | Pulls destination idea from Google Sheet | | ✍️ Set Content | Manual Input | Adds structure/narrative to the idea | | 🔀 Split | Split Out | Breaks input into chunks | | 🤖 GPT Agent | Image Prompt Agent | Uses GPT-4o to generate creative image prompts| | 🧹 Clean | Remove \n | Cleans up formatting | | 📌 Save | Set Prompts | Finalizes prompts for next stage |
🖼️ 2. Generate Media
🎨 Generate Images
| Step | Function | |----------------|-----------------------------------------------------------| | Generate Image | Calls Piapia API with AI-generated prompts | | Wait | Adds delay for rendering (90 sec) | | Get Images | Retrieves final images for video |
🎥 Generate Videos
| Step | Function | |----------------|-----------------------------------------------------------| | Generate Video | Calls RunwayML to generate video clips from the prompts | | Wait | 2-minute delay to allow video generation | | Get Videos | Fetches completed video clips |
🔊 Generate Audio
| Step | Function | |------------------|----------------------------------------------------------| | Update Status | Logs progress in Google Sheet | | Sound Agent | Gemini or GPT generates narration text | | Set Audio | Formats narration for voice synthesis | | Generate Audio | Uses ElevenLabs for realistic voiceover | | Upload to Drive | Saves final audio to Google Drive | | Share File | Creates sharable URL for audio file |
🛠️ 3. Render & Upload
> Purpose: Combines all elements (image, video, audio) into a single output and prepares for social media.
| Step | Function | |-----------------|----------------------------------------------------------------| | Merge | Combines images, videos, and audio | | Split Out Parts | Breaks content for rendering | | Render Video | Uses CreateMate to render the final 20-second video | | Wait | Short delay to complete rendering | | Download Video | Saves output video locally or on Drive | | Update Sheet | Logs final video URL/status in Google Sheet | | Social Upload | (Coming Soon) Post to Instagram, YouTube Shorts, TikTok, etc. |
🧩 Pre-Conditions
Before running the workflow:
- ✅ Google Sheet should be created with destination ideas
- ✅ All API keys must be configured in n8n
- ✅ Google Drive folder must exist for output videos
- ✅ Sufficient credit/quota must be available on AI platforms
- ✅ Internet access must be stable for external API calls
🚀 Outcome
- A polished 20-second travel destination video
- Combines AI visuals, short clips, and AI narration
- Ready for instant social media upload
- Fully automated from idea to video file
🧠 Tech Stack Summary
| Component | Tools Used | |-----------------|-------------------------------| | Language Model | GPT-4o (OpenAI), Gemini (Google) | | Image Generator | Piapia API | | Video Generator | RunwayML | | Audio Generator | ElevenLabs | | Storage | Google Drive | | Video Composer | CreateMate API | | Orchestration | n8n |
📈 Future Enhancements
✅ Smart Enhancements
- Dynamic hashtags & captions via AI
- Auto-post to TikTok, Instagram, YouTube via Buffer/Zapier
- Scene detection + matching B-roll
- Multilingual narration (e.g., Arabic, French, Malay)
- A/B testing of video versions to analyze performance
🧪 Testing Add-ons
- Add preview screen before upload
- Error tracking & retry flow
- Manual override before publishing
🧰 Customization Guide
| Element | How to Customize | |----------------------|-------------------------------------------------------------------| | ✏️ Prompt Format | Change structure inside Set Content or Prompt Agent | | 🌍 Destination Ideas | Modify Google Sheet for different destinations/categories | | 🎨 Image Style | Customize prompt to Piapia (e.g., “in Pixar style”, “3D render”) | | 🎙️ Voiceover Script | Adjust tone/structure in the Sound Agent | | 📆 Posting Schedule | Use Zapier/Buffer for timed posting | | 🎯 Target Duration | Adjust number of clips or frame duration |
🙌 Community Value
This workflow is ideal for:
- 📸 Travel content creators
- 🌍 Destination marketers
- 🏛️ Tourism boards
- 🧳 Travel SMEs looking for automation
Feel free to fork, remix, or request a JSON export in the comments below!
n8n Workflow: AI-Powered Social Media Content Generation
This n8n workflow automates the creation of engaging social media content by leveraging AI models to generate text, and potentially integrate with other media generation services (like RunwayML for video/images and ElevenLabs for audio, as hinted by the directory name, though not explicitly in the JSON). It's designed to streamline the content creation process, making it easier to produce diverse and dynamic posts.
What it does
This workflow orchestrates the following steps:
- Triggers Manually or on Schedule: The workflow can be initiated manually with a click or set to run on a predefined schedule.
- Fetches Data from Google Sheets: It reads content ideas or prompts from a Google Sheet, serving as the input for AI generation.
- Prepares Input Data: An "Edit Fields (Set)" node likely transforms or cleans the data from Google Sheets, ensuring it's in the correct format for the AI agent.
- Generates Content with AI Agent: An "AI Agent" node (powered by LangChain) takes the prepared input and uses a specified AI Chat Model (OpenAI or Google Gemini) to generate social media post content.
- Processes AI Output: The "Code" node likely further processes the AI-generated text, perhaps extracting specific elements or formatting it for the next steps.
- Limits Output: A "Limit" node ensures that only a certain number of items or a specific portion of the data proceeds, controlling the workflow's scope.
- Splits Output: The "Split Out" node is used to break down the processed AI output into individual items, typically for parallel processing or handling each piece of content separately.
- Manages Files in Google Drive: It interacts with Google Drive, potentially to store generated content, images, or other media.
- Merges Data: A "Merge" node combines data from different branches of the workflow, likely bringing together the original input with the AI-generated content or media.
- Waits for a Period: A "Wait" node can introduce a delay in the workflow, useful for rate limiting API calls or allowing time for external processes.
- Makes HTTP Requests: An "HTTP Request" node allows the workflow to interact with external APIs, which could be used to integrate with services like RunwayML (for video/image generation) or ElevenLabs (for audio generation), or to publish content to social media platforms.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running instance of n8n.
- Google Account: For Google Sheets and Google Drive integration. This will require setting up Google OAuth credentials in n8n.
- OpenAI API Key OR Google Gemini API Key: For the AI Agent to function, you'll need credentials for either an OpenAI Chat Model (e.g., GPT-4o, GPT-3.5) or a Google Gemini Chat Model.
- Optional (based on directory name hint):
- RunwayML Account/API Access: If integrating with RunwayML for video or image generation.
- ElevenLabs Account/API Access: If integrating with ElevenLabs for voice generation.
- Social Media Platform Accounts/API Access: If the HTTP Request node is configured to post directly to platforms like Twitter, Instagram, or Facebook.
Setup/Usage
- Import the Workflow: Download the provided JSON and import it into your n8n instance.
- Configure Credentials:
- Google Account: Set up your Google OAuth credentials for Google Sheets and Google Drive nodes.
- AI Chat Model: Configure your OpenAI or Google Gemini API key in the respective Chat Model node.
- Other Services: If you plan to integrate with RunwayML, ElevenLabs, or social media platforms, configure the necessary API keys or authentication for the "HTTP Request" node.
- Customize Google Sheets:
- Ensure your Google Sheet is structured correctly with the data the workflow expects (e.g., prompts for AI generation).
- Update the "Google Sheets" node to point to your specific spreadsheet and sheet name.
- Adjust AI Agent and Code Nodes:
- Review the "AI Agent" node's prompt and configuration to align with your content generation goals.
- Modify the "Code" node if specific data transformations or extractions are needed for your use case.
- Configure HTTP Request Node:
- Update the "HTTP Request" node with the API endpoints, headers, and body required to interact with your desired external services (e.g., RunwayML, ElevenLabs, social media APIs).
- Set Trigger: Choose between the "Manual Trigger" for on-demand execution or configure the "Schedule Trigger" for automated runs at your desired intervals.
- Activate the Workflow: Once configured, activate the workflow to start automating your social media content generation.
Related Templates
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions
Synchronizing WooCommerce inventory and creating products with Google Gemini AI and BrowserAct
Synchronize WooCommerce Inventory & Create Products with Gemini AI & BrowserAct This sophisticated n8n template automates WooCommerce inventory management by scraping supplier data, updating existing products, and intelligently creating new ones with AI-formatted descriptions. This workflow is essential for e-commerce operators, dropshippers, and inventory managers who need to ensure their product pricing and stock levels are synchronized with multiple third-party suppliers, minimizing overselling and maximizing profit. --- Self-Hosted Only This Workflow uses a community contribution and is designed and tested for self-hosted n8n instances only. --- How it works The workflow is typically run by a Schedule Trigger (though a Manual Trigger is also shown) to check stock automatically. It reads a list of suppliers and their inventory page URLs from a central Google Sheet. The workflow loops through each supplier: A BrowserAct node scrapes the current stock and price data from the supplier's inventory page. A Code node parses this bulk data into individual product items. It then loops through each individual product found. The workflow checks WooCommerce to see if the product already exists based on its name. If the product exists: It proceeds to update the existing product's price and stock quantity. If the product DOES NOT exist: An If node checks if the missing product's category matches a predefined type (optional filtering). If it passes the filter, a second BrowserAct workflow scrapes detailed product attributes from a dedicated product page (e.g., DigiKey). An AI Agent (Gemini) transforms these attributes into a specific, styled HTML table for the product description. Finally, the product is created in WooCommerce with all scraped details and the AI-generated description. Error Handling: Multiple Slack nodes are configured to alert your team immediately if any scraping task fails or if the product update/creation process encounters an issue. Note: This workflow does not support image uploads for new products. To enable this functionality, you must modify both the n8n and BrowserAct workflows. --- Requirements BrowserAct API account for web scraping BrowserAct n8n Community Node -> (n8n Nodes BrowserAct) BrowserAct templates named “WooCommerce Inventory & Stock Synchronization” and “WooCommerce Product Data Reconciliation” Google Sheets credentials for the supplier list WooCommerce credentials for product management Google Gemini account for the AI Agent Slack credentials for error alerts --- Need Help? How to Find Your BrowseAct API Key & Workflow ID How to Connect n8n to Browseract How to Use & Customize BrowserAct Templates How to Use the BrowserAct N8N Community Node --- Workflow Guidance and Showcase STOP Overselling! Auto-Sync WooCommerce Inventory from ANY Supplier
Automate RSS to social media pipeline with AI, Airtable & GetLate for multiple platforms
Overview Automates your complete social media content pipeline: sources articles from Wallabag RSS, generates platform-specific posts with AI, creates contextual images, and publishes via GetLate API. Built with 63 nodes across two workflows to handle LinkedIn, Instagram, and Bluesky—with easy expansion to more platforms. Ideal for: Content marketers, solo creators, agencies, and community managers maintaining a consistent multi-platform presence with minimal manual effort. How It Works Two-Workflow Architecture: Content Aggregation Workflow Monitors Wallabag RSS feeds for tagged articles (to-share-linkedin, to-share-instagram, etc.) Extracts and converts content from HTML to Markdown Stores structured data in Airtable with platform assignment AI Generation & Publishing Workflow Scheduled trigger queries Airtable for unpublished content Routes to platform-specific sub-workflows (LinkedIn, Instagram, Bluesky) LLM generates optimized post text and image prompts based on custom brand parameters Optionally generates AI images and hosts them on Imgbb CDN Publishes via GetLate API (immediate or draft mode) Updates Airtable with publication status and metadata Key Features: Tag-based content routing using Wallabag's native system Swappable AI providers (Groq, OpenAI, Anthropic) Platform-specific optimization (tone, length, hashtags, CTAs) Modular design—duplicate sub-workflows to add new platforms in \~30 minutes Centralized Airtable tracking with 17 data points per post Set Up Steps Setup time: \~45-60 minutes for initial configuration Create accounts and get API keys (\~15 min) Wallabag (with RSS feeds enabled) GetLate (social media publishing) Airtable (create base with provided schema—see sticky notes) LLM provider (Groq, OpenAI, or Anthropic) Image service (Hugging Face, Fal.ai, or Stability AI) Imgbb (image hosting) Configure n8n credentials (\~10 min) Add all API keys in n8n's credential manager Detailed credential setup instructions in workflow sticky notes Set up Airtable database (\~10 min) Create "RSS Feed - Content Store" base Add 19 required fields (schema provided in workflow sticky notes) Get Airtable base ID and API key Customize brand prompts (\~15 min) Edit "Set Custom SMCG Prompt" node for each platform Define brand voice, tone, goals, audience, and image preferences Platform-specific examples provided in sticky notes Configure platform settings (\~10 min) Set GetLate account IDs for each platform Enable/disable image generation per platform Choose immediate publish vs. draft mode Adjust schedule trigger frequency Test and deploy Tag test articles in Wallabag Monitor the first few executions in draft mode Activate workflows when satisfied with the output Important: This is a proof-of-concept template. Test thoroughly with draft mode before production use. Detailed setup instructions, troubleshooting tips, and customization guidance are in the workflow's sticky notes. Technical Details 63 nodes: 9 Airtable operations, 8 HTTP requests, 7 code nodes, 3 LangChain LLM chains, 3 RSS triggers, 3 GetLate publishers Supports: Multiple LLM providers, multiple image generation services, unlimited platforms via modular architecture Tracking: 17 metadata fields per post, including publish status, applied parameters, character counts, hashtags, image URLs Prerequisites n8n instance (self-hosted or cloud) Accounts: Wallabag, GetLate, Airtable, LLM provider, image generation service, Imgbb Basic understanding of n8n workflows and credential configuration Time to customize prompts for your brand voice Detailed documentation, Airtable schema, prompt examples, and troubleshooting guides are in the workflow's sticky notes. Category Tags social-media-automation, ai-content-generation, rss-to-social, multi-platform-posting, getlate-api, airtable-database, langchain, workflow-automation, content-marketing