by Viktor Klepikovskyi
Nested Loops with Sub-workflows Template Description This template provides a practical solution for a common n8n challenge: creating nested loops. While a powerful feature, n8n's standard Loop nodes don't work as expected in a nested structure. This template demonstrates the reliable workaround using a main workflow that calls a separate sub-workflow for each iteration. Purpose The template is designed to help you handle scenarios where you need to iterate through one list of data for every item in another list. This is a crucial pattern for combining or processing related data, ensuring your workflows are both clean and modular. Instructions for Setup This template contains both the main workflow and the sub-workflow on a single canvas. Copy the sub-workflow part of this template (starting with the Execute Sub-workflow Trigger node) and paste it into a new, empty canvas. In the Execute Sub-workflow node in the main workflow on this canvas, update the Sub-workflow field to link to the new workflow you just created. Run the main workflow to see the solution in action. For a detailed walkthrough of this solution, check out the full blog post
by amudhan
This workflow uses Strapi as a CMS and then cross posts new blog posts to Medium and Dev.to.
by amudhan
This workflow uses n8n to extract the names of all the posts from the Hackernoon homepage.
by System Admin
No description available
by amudhan
Companion workflow for blogpost
by Rahul Joshi
Description: Streamline your cloud storage with this powerful Google Drive File Renamer automation built with n8n. The workflow watches a specific Google Drive folder and automatically renames new files using a standardized format based on their creation date and time—ideal for organizing images, backups, and uploads with consistent timestamp-based names. Whether you're managing daily uploads, sorting Instagram-ready content, or organizing client submissions, this timestamp-based file naming system ensures consistent and searchable file structures—without manual intervention. What This Template Does (Step-by-Step) 🔔 Google Drive Trigger – "Watch Folder" Setup Monitors a specific folder (e.g., “Instagram”) Detects new file creations every minute Captures file metadata like ID, createdTime, and extension 🧠 Set Formatted Name Extracts file creation time (e.g., 2025-07-22T14:45:10Z) Converts it into a structured name like IMG_20250722_1445.jpg Keeps original file extension (JPG, PNG, PDF, etc.) ✏️ Rename File (Google Drive) Renames the original file using Google Drive API Applies the new timestamped name Keeps file content, permissions, and location unchanged Required Integrations: Google Drive API (OAuth2 credentials) Best For: 📸 Content creators organizing uploads from mobile 🏷️ Branding teams enforcing uniform naming 🗄️ Admins managing scanned documents or backups 📂 Automated archives for media, reports, or daily snapshots Key Benefits: ✅ Timestamped naming ensures chronological file tracking ✅ Reduces human error and messy file names ✅ Works in real-time (polls every minute) ✅ No-code: Deploy with drag-and-drop setup in n8n ✅ Fully customizable name patterns (e.g., change IMG_ prefix)
by Sarfaraz Muhammad Sajib
Overview This n8n workflow automates the generation of short news videos using the HeyGen video API and RSS feeds from a Bangla news source, Prothom Alo. It is ideal for content creators, media publishers, or developers who want to create daily video summaries from text-based news feeds using AI avatars. The workflow reads the latest news summaries from an RSS feed and sends each item to the HeyGen API to create a video with a realistic avatar and voice narration. The resulting video is suitable for publishing on platforms like YouTube, Instagram, or TikTok. Requirements A HeyGen account with access to the API. HeyGen API key (kept securely in your environment). n8n (self-hosted or cloud instance). Basic understanding of using HTTP request nodes in n8n. Setup Instructions Clone this Workflow into your n8n instance. Replace the placeholder value in the X-Api-Key header with your HeyGen API key. Confirm the RSS feed URL is correct and live: https://prod-qt-images.s3.amazonaws.com/production/prothomalo-bangla/feed.xml The HTTP Request body references {{$json.summary}} from each RSS item. Make sure this field exists. Run the workflow manually or configure a CRON trigger if you want to automate it. Customization Avatar ID* and *Voice ID** can be changed in the HTTP Request body. Use your HeyGen dashboard to get available IDs. Change the video dimensions (1280x720) to suit your platform’s requirements. You can replace the RSS feed with any other news source that supports XML format. Add nodes to upload the video to YouTube, Dropbox, etc., after generation. What It Does Triggers manually. Reads an RSS feed. Extracts summary from each news item. Sends a request to HeyGen to generate a video. Returns the video generation response.
by Joseph
This n8n workflow converts various file formats (.pdf, .doc, .png, .jpg, .webp) to clean markdown text using the datalab.to API. Perfect for AI agents, LLM processing, and RAG (Retrieval Augmented Generation) data preparation for vector databases. Workflow Description Input Trigger Node**: Form trigger or webhook to accept file uploads Supported Formats**: PDF documents, Word documents (.doc/.docx), and images (PNG, JPG, WEBP) Processing Steps File Validation: Check file type and size constraints HTTP Request Node: Method: POST to https://api.datalab.to/v1/marker Headers: X-API-Key with your datalab.to API key Body: Multipart form data with the file Response Processing: Extract the converted markdown text Output Formatting: Clean and structure the markdown for downstream use Output Clean, structured markdown text ready for: LLM prompt injection Vector database ingestion AI agent knowledge base processing Document analysis workflows Setup Instructions Get API Access: Sign up at datalab.to to obtain your API key Configure Credentials: Create a new credential in n8n Add Generic Header: X-API-Key with your API key as the value Import Workflow: Ready to process files immediately Use Cases AI Workflows**: Convert documents for LLM analysis and processing RAG Systems**: Prepare clean text for vector database ingestion Content Management**: Batch convert files to searchable markdown format Document Processing**: Extract text from mixed file types in automated pipelines The workflow handles the complexity of different file formats while delivering consistent, AI-ready markdown output for your automation needs.
by System Admin
Tagged with: Google Drive, DeepSeek, Wordpress
by Piotr Sobolewski
How it works This workflow automates the entire process of drafting and publishing blog posts to your WordPress site using advanced AI. It streamlines your content creation by: Generating engaging blog post titles based on your chosen topic. Crafting comprehensive blog post bodies (introduction, main points, conclusion) with professional formatting. Automatically publishing the generated content as a new post on your WordPress website. Save hours of manual writing and accelerate your content strategy with this intelligent automation. Set up steps Getting this workflow ready is straightforward and typically takes around 15-20 minutes. You'll need to: Obtain API keys for your preferred AI service (e.g., OpenAI, Google AI). Provide your WordPress website's URL and login credentials. Optionally, customize the AI prompts to match your specific content style or requirements. All detailed setup instructions and specific configuration guidance are provided within the workflow itself using sticky notes.
by Easy8.ai
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Daily Easy Redmine Task Digest to Microsoft Teams Channel Overview This workflow automatically collects newly assigned Easy Redmine tasks for a specific team and sends a concise, formatted summary to a Microsoft Teams channel each weekday morning. It’s designed to keep your team updated without manual copy-pasting or sifting through outdated information. Perfect for project managers, team leads, or consultants using Easy Redmine, this automation ensures that no high-priority or recent tasks are missed, improving transparency and daily planning. How it works Daily Trigger (8:30 AM on workdays):** Initiates the automation at a fixed schedule. Get Issues by Query:** Easy Redmine node retrieves all issues matching a saved filter Split Out Issues:** Breaks the received array of tasks into individual items for separate processing. Keep Relevant Fields & Add Link:** Filters to essential data (ID, author, subject, description) and creates a clickable issue link using URL concatenation. Run for Each Task:** Iterates over tasks to process and send individually. Message into Team Channel:** Uses the Microsoft Teams node to post formatted HTML content into the chosen channel. How to Use Import the workflow into your n8n instance. Set up Easy Redmine credentials with API access. Add or configure your Easy Redmine API credential. Set up Microsoft Teams credentials with API access. Add or configure your Microsoft Teams OAuth2 API credential. Adjust the saved filter in Easy Redmine to match your team’s needs. Update Teams channel or chat selection in the final node. Modify the scheduled trigger time if desired. Test with a smaller query before enabling full automation. Example Use Cases Daily Team Stand-ups:** Provide an automated pre-meeting digest of all new or updated tasks. Consulting Project Management:** Keep consultants aware of the latest client requests. Support Teams:** Quickly distribute newly assigned tickets without manual coordination. Requirements Easy Redmine account with API access and permission to use saved filters. Microsoft Teams account with permission to post to the target channel. Customization Adjust the saved filter in Easy Redmine to target different teams, statuses, or update windows. Change the schedule to match your meeting cadence (daily, twice daily, etc.). Alter the HTML formatting for better readability or company branding. Add more fields from Easy Redmine (priority, due date, etc.) for richer summaries. Workflow Improvement Suggestions: Rename generic nodes like “manual” and “get-manyissues” to descriptive titles (e.g., “Filter Fields & Build Link”). Remove any real names or project-specific data before publishing. Consider adding error handling if Easy Redmine or Teams API calls fail.
by AI/ML API | D1m7asis
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. 🎬 GPT-5 Cinematic Video Generator (n8n + AI/ML API + Google Veo-3) This n8n workflow transforms even a single word into a fully rendered cinematic video using Google Veo-3 image-to-video and prompt expansion with GPT-5. Ideal for rapid creative prototyping, content creation, and AI-driven video production. 🚀 Key Features Ultra-Short Input Ready** – Works with just one keyword or a short idea. AI Prompt Expansion** – GPT-5 adds cinematic elements: camera motion, mood, color palette, and composition. Automated Video Generation** – Veo-3 i2v model creates smooth, visually appealing clips. Smart Polling** – Waits until video is ready, with success/fail handling. Direct Output** – Returns ready-to-use video URL for download or publishing. 🛠 Setup Guide Create AI/ML API Credentials Get your API key from AI/ML API Keys. In n8n > Credentials, add AI/ML account (Bearer token). (Optional) Change Image Source Edit the Set image URL node to point to your desired still image for video generation. Run from Chat Send a word or short phrase via Chat Trigger to start the process. (Optional) Extend Output Add Google Drive upload, YouTube publish, or database logging nodes for a complete content pipeline. 💡 How It Works Trigger – Receives chat input (keyword or brief). Prompt Expansion – GPT-5 turns it into a cinematic, Veo-3-optimized description. Video Creation – Sends prompt + image to Veo-3 image-to-video. Polling – Checks generation status every 30 seconds until complete. Result – Returns direct video URL, ready for your next steps.