Create AI videos from prompts with OpenAI script, TTS & Pexels B-roll assembly
Automatically creates complete videos from a text prompt—script, voiceover, stock footage, and subtitles all assembled and ready. How it works Send a video topic via webhook (e.g., "Create a 60-second video about morning exercise"). The workflow uses OpenAI to generate a structured script with scenes, converts text to natural-sounding speech, searches Pexels for matching B-roll footage, and downloads everything. Finally, it merges audio with video, generates SRT subtitles, and prepares all components for final assembly. The workflow handles parallel processing—while generating voiceover, it simultaneously searches and downloads stock footage to save time. Setup steps Add OpenAI credentials for script generation and text-to-speech Get a free Pexels API key from pexels.com/api for stock footage access Connect Google Drive for storing the final video output Install FFmpeg (optional) for automated video assembly, or manually combine the components Test the webhook by sending a POST request with your video topic Input format: json { "prompt": "Your video topic here", "duration": 60, "style": "motivational" } What you get ✅ AI-generated script broken into scenes ✅ Professional voiceover audio (MP3) ✅ Downloaded stock footage clips (MP4) ✅ Timed subtitles file (SRT) ✅ All components ready for final editing Note: The final video assembly requires FFmpeg or a video editor. All components are prepared and organized by scene number for easy manual editing if needed.
Build a WhatsApp customer support bot with LangChain, OpenAI, and CRM integration
Full Customer Support WhatsApp AI Bot (Self-Hosted, Evolution API) 🧑💼 Who’s it for This template is for businesses using WhatsApp for customer communication who want to automate support using AI and real-time CRM data — especially in retail, food & beverage, e-commerce, or service sectors. It’s ideal for self-hosted n8n users with access to OpenAI and a CRM with API endpoints. --- 💡 What It Does This workflow creates a multi-intent AI chatbot that handles WhatsApp conversations and connects to your CRM using HTTP APIs. It uses LangChain’s AI Agent to dynamically classify and respond to customer queries in real time. 🔄 Supported Use Cases: 📍 Branch inquiries (nearest location, hours, contact) 🍰 Menu & product info (availability, categories, images) 🛒 Order creation & tracking ⚠️ Complaint submission and follow-up ⭐ Loyalty points lookup ✨ Concierge & custom orders Each user message is routed using AI to the appropriate path, where a tailored system prompt and real-time API call generate a smart, emoji-rich reply. --- 🚀 Key Advantages Plug-and-play AI support bot with 6 distinct customer intents No code logic building — uses natural language instructions via LangChain Connects to your CRM using httpRequestTool nodes Smart classification with OpenAI (via LangChain agent) Sticky notes and prompt modularity for easy customization Real-time replies using dynamic data from your API Short, branded, emoji-friendly replies with support for Arabic NLP patterns --- 🔧 How It Works 🧲 A Webhook (via evolution-api node) receives incoming WhatsApp messages. 🧠 An AI Router Agent classifies the message intent using GPT-4. 🧰 Based on the intent, a specific system prompt is injected. 🧠 A LangChain Agent uses tools (CRM APIs) to fetch data. 💬 A final reply is generated and sent back via WhatsApp. Everything is modular, explainable, and built with clarity in mind using sticky notes and renamed nodes. --- 🛠️ Requirements ✅ Self-hosted n8n (required for community nodes) ✅ evolution-api node (for WhatsApp messaging) ✅ OpenAI API Key ✅ Your own CRM HTTP API endpoints for: Order creation/status Menu & category lookup Complaints Branch search Loyalty points --- ⚙️ Setup Instructions 🔌 Install the evolution-api node via n8n community nodes. 🔐 Replace all YOURAUTHORIZATIONTOKEN_HERE with your real credentials. 🧠 Add your OpenAI credentials in n8n. 🛠️ Update all CRM URLs to point to your environment. 📲 Connect the webhook URL to your WhatsApp provider. --- 🎨 How to Customize Edit the intent categories in the AI router prompt. Modify each system prompt for tone, brand, or language (supports Arabic). Add more tools or branches (e.g., shipping, feedback, upselling). Use n8n’s credentials manager for production security. --- 🧠 User Experience & Design Sticky notes provide full visual explanation of logic. Prompts ensure short, relevant, context-aware replies. User session memory improves continuity across messages. Optimized for performance and ease of onboarding. --- 🔍 SEO Tags whatsapp support bot, n8n chatbot, gpt-4 ai support, langchain agent, self-hosted n8n, crm integration, customer support automation, evolution-api, loyalty bot, menu chatbot, orders automation, arabic whatsapp bot, real-time crm bot, openai n8n workflow