AI Workflows
Artificial Intelligence tools and workflows
Automate AI Image Generation and Editing with OpenAI and Share via Telegram
Transform text prompts into stunning images or edit existing visuals using OpenAI's GPT-4 Vision model. This n8n workflow automates image creation and editing, stores results in the cloud, and delivers them via Telegram.
n8n$14.99Automate Document QA with RAG Using Milvus, Cohere, and OpenAI for Google Drive
This workflow automates the creation of a Retrieval Augmented Generation (RAG) system by monitoring Google Drive for new PDFs, extracting content, generating embeddings with Cohere, and storing them in Milvus. It enables a RAG agent to provide context-aware responses using OpenAI.
n8n$9.99Automate AI-Driven Reddit Engagement with Google Sheets Tracking
This workflow automates Reddit engagement by monitoring posts, analyzing content with OpenAI, and responding intelligently. It tracks interactions in Google Sheets for transparency and ensures relevance and value in community participation.
n8n$14.99Create a Reddit Q&A Chatbot Using OpenAI and Reddit API
This workflow enables you to interact with Reddit posts using a chatbot powered by OpenAI's GPT-4o and the Reddit API. It retrieves posts from a specified subreddit and provides answers to your questions, offering a seamless Q&A experience.
n8n$4.99Automated WhatsApp Fact-Checking Bot with AI Integration
Transform your n8n instance into a powerful fact-checking bot that uses AI to verify claims sent via WhatsApp. This workflow automates the process of analyzing messages, researching facts, and sending back verified information with source citations.
n8n$4.99Automate UX Persona Creation with Data-Driven Insights
Streamline the creation of UX personas using market data and AI-generated insights, complete with visual representations and documentation.
n8n$14.99Automate YouTube Video Search and Transcript Retrieval with Apify
This workflow automates the process of searching YouTube videos and retrieving their transcripts using Apify, making it easier to analyze and extract insights from video content.
n8n$14.99Convert Text to Speech with Local KOKORO SDK
## Disclaimer The **Execute Command** node is only supported on **self-hosted** (local) instances of n8n. ## Introduction  **KOKORO S** - Kokoro S is a compact yet powerful text-to-speech model, currently available on Hugging Face and GitHub. Despite its modest size—trained on less than 100 hours of audio—it delivers impressive results, consistently topping the S leaderboard on Hugging Face. Unlike larger systems, Kokoro S offers the advantage of running locally, even on devices without GPUs, making it accessible for a wide range of users. **Who will benefit from this integration?** This will be useful for video bloggers, TikTokers, and it will also enable the creation of a free voice chat bot. Currently, S models are mostly paid, but this integration will allow for fully free voice generation. The possibilities are limited only by your imagination. #### Note Unfortunately, we can't interact with the KOKORO API via browser URL (GET/POST), **but** we can run a Python script through n8n and pass any variables to it. In the tutorial, the D drive is used, but you can rewrite this for any paths, including the C drive. ## Step 1 You need to have Python installed. [link](https://github.com/PierrunoY/Kokoro-S-Local) Also, download and extract the portable version of KOKORO from GitHub. Create a file named voicegen.py with the following code in the KOKORO folder: (C:\KOKORO). As you can see, the output path is: (D:\output.mp3). ``` import sys import shutil from gradio_client import Client # Set UTF-8 encoding for stdout sys.stdout.reconfigure(encoding='utf-8') # Get arguments from command line text = sys.argv[1] # First argument: input text voice = sys.argv[2] # Second argument: voice speed = float(sys.argv[3]) # Third argument: speed (converted to float) print(f"Received text: {text}") print(f"Voice: {voice}") print(f"Speed: {speed}") # Connect to local Gradio server client = Client("http://localhost:7860/") # Generate speech using the API result = client.predict( text=text, voice=voice, speed=speed, api_name="/generate_speech" ) # Define output path output_path = r"D:\output.mp3" # Move the generated file shutil.move(result[1], output_path) # Print output path print(output_path) ``` ## Step 2 Go to n8n and create the following workflow.  ## Step 3 Edit Field Module. ``` { voice: "af_sarah", text: "Hello world!" } ```  ## Step 4 We'll need an Execute Command module with the command: python ``` C:\KOKORO\voicegen.py "{{ $json.text }}" "{{ $json.voice }}" 1 ```  ## Step 5 The script is already working, but to listen to it, you can connect a Binary module with the path to the generated MP3 file ``` D:/output.mp3 ```  ## Step 6 Click “Next workflow” and enjoy the result. There are more voices and accents than in ChatGPT, plus it's free. ### P.S. If you want, there is a [detailed tutorial](https://blog.bswlife.site/2025/04/14/n8n-kokoro-tts-integration-setup/) on my blog.
n8n$4.99Auto-Generate Product Comparison Pages with OpenAI & Google Sheets
## Auto-generate product comparison pages that help users buy faster This workflow creates detailed X vs Y product comparison pages designed to help readers make faster, more confident purchase decisions - all with zero manual writing. --- ### How it works - Triggered manually or via Google Sheets row - Takes two product names as input (e.g., "Notion vs Evernote") - Uses AI to generate: - A compelling title and meta description - Clear feature-by-feature comparison - Use-case-based recommendations - An FAQ section tailored to user pain points - Saves each section into a Google Sheet for review or publishing - Final output can be exported to your CMS or website builder (like Dorik, Webflow, etc.) --- ### Set up steps - You'll need OpenAI and Google Sheets credentials - Takes **10-15 minutes** to plug in your keys and connect the sheet - Adjust prompts to match your brand tone or SEO goals You can easily expand this to generate pricing tables, testimonials, or even localized versions using the same structure. --- Ideal for SaaS companies, affiliate marketers, or content teams who want to scale up comparison content - without spending hours writing.
n8n$24.99Monitor and Summarize AI Token Usage for OpenAI and Gemini Models
This n8n workflow tracks and aggregates token usage metrics for AI models such as OpenAI and Gemini, providing a detailed breakdown of prompt, completion, and total tokens used.
n8n$9.99Integrate OpenAI Responses API with n8n for Enhanced AI Workflows
This n8n workflow enables the integration of OpenAI's Responses API with existing AI workflows, allowing for seamless interaction with LLM and AI Agent nodes. It uses webhooks to intercept and remap requests for compatibility.
n8n$14.99Generate Images with GP-image-1 and Store in Google Drive with Cost Tracking
## How it works - Receive a chat input as an image prompt. - Call OpenAI's `gpt-image-1` API to generate an image. - Split the returned images and process them one by one. - Upload each generated image to **Google Drive**. - Save image links and thumbnails to a **Google Sheets** document. - Record token usage and estimated cost into a separate sheet. ## Set up steps 1. Connect your **OpenAI API** credentials for image generation. 2. Connect your **Google Drive** and **Google Sheets** accounts. 3. Set the destination folder in Google Drive. 4. Set the target Google Sheet and specify the correct sheet tabs. 5. The setup usually takes around **5-10 minutes**. 6. Detailed field mappings are already pre-configured inside the workflow. 7. Additional tips and instructions are included as **sticky notes** inside the workflow.  ## Google Sheet copy URL [Copy Sheet Link](https://docs.google.com/spreadsheets/d/1zsWBgeA7I5Q_gsocz6hmkW884Q_vfz_mgGC54VSN0/copy)
n8n$14.99Generate Text-to-Speech Using ElevenLabs via API
**Do you want to master AI automation, so you can save time and build cool stuff?** I've created a welcoming Skool community for non-technical yet resourceful learners. **[Join the AI Atelier](https://www.skool.com/the-ai-atelier-3311/about)** --- This workflow provides an API endpoint to generate speech from text using [Elevenlabs.io](http://go.n8n.ninja/elevenlabs), a popular text-to-speech service. ### Step 1: Configure Custom Credentials in n8n To set up your credentials in n8n, create a new custom authentication entry with the following JSON structure: ```json { "headers": { "xi-api-key": "your-elevenlabs-api-key" } } ``` Replace `your-elevenlabs-api-key` with your actual Elevenlabs API key. ### Step 2: Send a POST Request to the Webhook Send a POST request to the workflow's webhook endpoint with these two parameters: - `voice_id`: The ID of the voice from Elevenlabs that you want to use. - `text`: The text you want to convert to speech. This workflow has been a significant time-saver in my video production tasks. I hope it proves just as useful to you! Happy automating! The n8Ninja
n8n$4.99Create Resilient AI Workflows with Automatic Model Failover in n8n
This workflow ensures continuous AI operations by automatically switching to backup language models when the primary model encounters errors, such as API failures or rate limits.
n8n$9.99Automate Lead Qualification & Customer Support with GPT-4o-mini Agents
### Beginner AI Agent Duo: Lead-Qualifier and Automator & Ecommerce Chatbot **Status:** Ready for Use **Note:** This template is built entirely with **official n8n nodes**—no community-node installation required. --- ### Description This template demonstrates two beginner-friendly AI-agent patterns that cover the most common use cases: | Agent | Purpose | Flow Highlights | |-------|---------|-----------------| | **Lead-Qualifier and Automator** | Classifies phone-call transcripts to decide if the caller is a good bulk-order lead. | Manual trigger → Code (sample data) → AI Agent (GPT-4-mini) → Structured Output Parser → Set (clean fields) | | **Ecommerce Chatbot** | Answers customer questions about products, bulk pricing, shipping, and returns. | Chat trigger (webhook) → AI Agent (GPT-4-mini) with Memory → If node → Order-placed reply or no-op | Both agents run on **GPT-4-mini** and use n8n's LangChain-powered nodes for quick, low-code configuration. --- ### How to Install & Run 1. **Import the Workflow** - In n8n, go to **Workflows → Import from File** or **Paste JSON**, then save. 2. **Add Your OpenAI API Key** - Go to **Credentials → New → OpenAI API**. - Paste your key from <https://platform.openai.com>. - Select this credential in both **OpenAI Chat Model** nodes. 3. **(Optional) Select a Different Model** - Default model is **gpt-4-mini**. - Change to GPT-4, GPT-3.5-turbo, or any available model in each OpenAI node. 4. **Test the Lead-Qualifier Agent** - Click **Activate**. - Press **Test workflow**. - The Code node feeds four sample transcripts; the AI Agent returns JSON like: ```json { "Name": "Jordan Lee", "Is Good Lead": "Yes", "Reasoning": "Customer requests 300 custom mugs, indicating a bulk order." } ``` 5. **Test the Ecommerce Chatbot** - Copy the **Webhook URL** from the **When chat message received** trigger. - POST a payload like: ```json { "message": "Hi, do you offer discounts if I buy 120 notebooks?" } ``` - The AI Agent replies with bulk-pricing info. - If the customer confirms an order, it appends `*****`; the If node then sends “Your order has been placed”. --- ### Customization Ideas - **Refine Qualification Logic**—Edit the Lead Agents system prompt to match your own lead criteria. - **Save Leads Automatically**—Add Google Sheets, Airtable, or a database node after the Set node. - **Expand the Chatbot**—Connect inventory APIs, payment gateways, or CRM integrations. - **Adjust Memory Length**—Change the *Simple Memory* nodes window to retain more conversation context. --- ## Connect with Me ### Description I'm Robert Breen, founder of Ynteractive—a consulting firm that helps businesses automate operations using **n8n**, **AI agents**, and custom workflows. I've helped clients build everything from intelligent chatbots to complex sales automations, and I'm always excited to collaborate or support new projects. If you found this workflow helpful or want to talk through an idea, I'd love to hear from you. ### Links - Website: [https://www.ynteractive.com](https://www.ynteractive.com) - YouTube: [@ynteractivetraining](https://www.youtube.com/@ynteractivetraining) - LinkedIn: [https://www.linkedin.com/in/robert-breen](https://www.linkedin.com/in/robert-breen) - Email: rbreen@ynteractive.com
n8n$14.99Adaptive RAG Strategy with Query Classification & Retrieval (Gemini & Qdrant)
This n8n workflow implements a version of the Adaptive Retrieval-Augmented Generation (RAG) framework. It recognizes that the best way to retrieve information often depends on the type of question asked. Instead of a one-size-fits-all approach, this workflow adapts its strategy based on the user's query intent. ## How it Works 1. **Receive Query:** Takes a user query as input (along with context like a chat session ID and Vector Store collection ID if used as a sub-workflow). 2. **Classify Query:** First, the workflow classifies the query into a predefined category. This template uses four examples: * **Factual:** For specific facts. * **Analytical:** For deeper explanations or comparisons. * **Opinion:** For subjective viewpoints. * **Contextual:** For questions relying on specific background. 3. **Select & Adapt Strategy:** Based on the classification, it selects a corresponding strategy to prepare for information retrieval. The example strategies aim to: * **Factual:** Refine the query for precision. * **Analytical:** Break the query into sub-questions for broad coverage. * **Opinion:** Identify different viewpoints to look for. * **Contextual:** Incorporate implied or user-specific context. 4. **Retrieve Info:** Uses the output of the selected strategy to search the specified knowledge base (Qdrant vector store - change as needed) for relevant documents. 5. **Generate Response:** Constructs a response using the retrieved documents, guided by a prompt tailored to the original query type. By adapting the retrieval strategy, this workflow aims to provide more relevant results tailored to the user's intent. ## Usage & Flexibility * **Sub-Workflow:** Designed to be called from other n8n workflows, passing `user_query`, `chat_memory_key`, and `vector_store_id` as inputs. * **Chat Testing:** Can also be triggered directly via the n8n Chat interface for easy testing and interaction. * **Customizable Framework:** The query categories (Factual, Analytical, etc.) and the associated retrieval strategies are examples. You can modify or replace them entirely to fit your specific domain or requirements. ## Requirements * **Credentials:** You will need API credentials configured in your n8n instance for: * Google Gemini (AI Models) * Qdrant (Vector Store)
n8n$24.99Voice-Activated AI Responses with Siri and Apple Shortcuts
Leverage Siri and Apple Shortcuts to trigger AI-driven responses using n8n. Customize inputs and outputs for a seamless voice-activated experience.
n8n$4.99Automate File URL Retrieval via LINE Bot and Google Sheets with AI
This workflow uses a LINE Bot to process natural language queries, extract filenames with AI, and retrieve corresponding Google Drive URLs from Google Sheets.
n8n$4.99Generate Professional Document Drafts from PDFs with Google Drive, GPT-4, and Email Notifications
# Automate Drafts From Google Drive This workflow automates the end-to-end process of extracting and summarizing information from PDFs stored in a specific Google Drive folder. When a new PDF or any binary data is added, the workflow is triggered and begins by downloading and processing the PDF to extract all available text. If multiple PDFs are detected, their content is aggregated into a single, combined dataset. This automation eliminates the time-consuming task of manually reading, taking notes, and drafting documents. By removing this burden, users can focus on more meaningful tasks while the workflow handles the repetitive, tedious work. The extracted content is then passed through an AI-powered information extractor that identifies key details such as names, dates, addresses, and any other structured data points the user wants to extract from the PDF. This step is highly customizable, allowing the user to define exactly what type of information should be extracted. While the workflow is designed to extract all available content from the PDF, specifying additional structured data points ensures that critical details are accurately captured. A second OpenAI Node uses the extracted information to draft a professional, formal summary suitable for documentation. This is the most important part of the workflow and can be fully customized to meet the user's specific needs. By editing the prompts, users can tailor the workflow to generate a wide variety of draft formats based on the extracted content. The workflow then generates a new Google Document containing the full draft and composes an email summarizing the key points in 3 to 5 bullet points. This email is automatically sent to the designated recipient along with a direct link to the Google Doc. This solution is ideal for insurance, legal, or administrative use cases where timely, accurate extraction and reporting from incoming PDFs is essential. **How to Use the Workflow** - Step 1: Place any binary data (e.g., PDF files) into the designated Google Drive folder. - Step 2: The workflow will automatically download each PDF, extract the text, and if multiple PDFs are present, combine them into a single dataset for analysis. - Step 3: The OpenAI Draft Agent will analyze the extracted information, generate a formal draft, and create a Google Document. This document will be updated with the draft content and saved back into the same Google Drive folder. - Step 4: An email will be sent to the designated recipient(s), including a summary of the draft and key extracted information, along with a link to view the Google Document. **Need Help? Have Questions?** For consulting and support, or if you have questions, please feel free to connect with me on [LinkedIn](www.linkedin.com/in/michael-gullo-46b3b7274) or email [michael.gullo@outlook.com](michael.gullo@outlook.com).
n8n$9.99Automate AI News Summaries to Telegram with Gemini and n8n
Streamline your AI news updates by automatically generating and sending concise summaries to Telegram using n8n, Jina AI, and Google Gemini.
n8n$9.99Automate Reuters News Scraping and AI Summarization with Brightdata and Telegram Alerts
This n8n workflow automates the process of scraping Reuters news articles using Brightdata, analyzing them with Claude AI, and sending summarized alerts to Telegram. Ideal for professionals needing timely and concise news insights.
n8n$14.99Conduct A/B Testing on AI Prompts with Supabase and OpenAI
This workflow facilitates A/B testing by randomly assigning chat sessions to either a baseline or alternative prompt using Supabase and OpenAI. It helps optimize AI interactions by evaluating different prompt settings.
n8n$14.99Automate AI Image Generation and Upload to WordPress and Twitter
This workflow generates AI images from text prompts using Leonardo AI, uploads them to WordPress, and prepares them for posting on Twitter. Ideal for automating visual content creation for blogs and social media.
n8n$14.99Enhance AI Document Retrieval with OpenAI and Supabase Vector Search
This workflow optimizes AI document retrieval by integrating OpenAI and Supabase, using a two-stage process to filter and retrieve relevant document chunks for precise AI responses.
n8n$14.99
Related categories
Custom AI Systems & Services
Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.
Request Custom Work