by Agent Circle
This n8n template helps you automatically discover, analyze, and track trending topics and videos on YouTube using an AI-powered agent. Use cases are many: This workflow is perfect for YouTube creators needing fresh video ideas, digital marketers scouting new campaign topics, social media managers who want to catch trends early, and researchers who want to analyze what’s viral. How It Works The workflow starts whenever a chat message is received (e.g., a trend question, a topic prompt, or a request for insights). Incoming chat is routed to the AI Agent – Trend Explorer node: First, the agent triggers the Workflow – YouTube Search tool to gather the latest trending topics and keywords from YouTube. Next, the agent supplies this real-time YouTube data to the OpenAI Chat Model for deep analysis, trend interpretation, and unique insights. To provide context-aware answers and track ongoing interests, the agent also references a Simple Memory module, recalling past queries, and user instructions. Finally, the result is a fast, data-driven, and smart trend report delivered instantly to your chat. How To Set Up Download the workflow package (including 2 .json files) and import it into your n8n interface. Set up necessary access in the following components of the AI Agent - Trend Explorer node: OpenAI Chat Model: allows API connection for trend insights. Workflow – YouTube Search: searches for trending videos based on the query. Simple Memory (optional): enhances experience for ongoing sessions. Start by sending a chat message on n8n. Check the response from the AI agent in the same chat box. Ask follow-ups, explore deeper, or trigger new searches - all in one chat thread. Requirements n8n instance (self-hosted or cloud). Set up API access to OpenAI Chat Model for chat-based AI. How To Customize Connect to your favorite chat platforms**: Easily integrate with additional chat triggers such as Telegram, Slack, or your preferred messaging app. Choose your preferred AI model**: If you want a different viewpoint, simply swap OpenAI Chat Model for Google Gemini, Claude, or any compatible LLM model in your workflow. Upgrade memory for smarter conversations: For long-term recall or more advanced, context-aware chats, replace **Simple Memory with a vector database like Pinecone or Redis. Need Help? If you’d like this workflow customized to fit your tools and platforms availability, or if you’re looking to build a tailored AI Agent for your own business - please feel free to reach out to Agent Circle. We’re always here to support and help you to bring automation ideas to life. Join our community on different platforms for support, inspiration and tips from others. Website: https://www.agentcircle.ai/ Etsy: https://www.etsy.com/shop/AgentCircle Gumroad: http://agentcircle.gumroad.com/ Discord Global: https://discord.gg/d8SkCzKwnP FB Page Global: https://www.facebook.com/agentcircle/ FB Group Global: https://www.facebook.com/groups/aiagentcircle/ X: https://x.com/agent_circle YouTube: https://www.youtube.com/@agentcircle LinkedIn: https://www.linkedin.com/company/agentcircle
by David Olusola
When you fill out the form with business challenges and requirements GPT-4 analyzes the input and generates a customized proposal using your template System automatically creates a Google Slides presentation with personalized content Professional proposal email is sent directly to the prospect with the presentation link Set up steps Estimated time: 15-20 minutes Connect your OpenAI API key for GPT-4 access Link your Google account for Slides and Gmail integration Create your proposal template in Google Slides with placeholder variables Customize the AI prompt and email template with your branding Test with sample data and activate the workflow
by Shahrukh
AI-Powered Workflow for Auto-Responding to Positive Cold Email Replies This workflow is designed for agencies, freelancers, and sales teams who want to turn positive cold email replies into booked meetings automatically—without hiring VAs or spending hours on manual responses. ❓ The Problem Most teams waste time replying manually or pay for virtual assistants, leading to delays and missed opportunities. This template eliminates that bottleneck. ✅ What the Workflow Does Detects positive replies from Instantly.ai campaigns Uses AI to analyze intent and craft natural, human-like responses Adds personalization to keep replies authentic Includes Calendly links, product docs, or FAQs based on the lead’s intent Sends responses instantly—so you never miss a hot lead again No robotic AI text. Just smooth, human-style emails that get booked calls faster. 👥 Who is This For? Agencies** running Instantly.ai or similar outbound tools Founders** handling their own cold email outreach Sales teams** looking to automate follow-up and booking Anyone who gets 5–20 positive replies a week and wants to 2x–4x conversions ✅ Requirements n8n** (Cloud or self-hosted) Instantly.ai account** with API access OpenAI API key** (stored securely in n8n credentials) (Optional) Calendly or booking link, Notion or Google Docs for resources ⚙️ How to Set Up Import the workflow into n8n Add your Instantly.ai API credentials and OpenAI key using n8n’s credential manager Customize the AI prompt for your tone, CTA, and offer Insert your Calendly or booking link in the response template Test with one positive reply to confirm filtering and response quality Activate the workflow to auto-reply in real time 🔧 How to Customize Adjust the filtering logic for different keywords or intent signals Add branching for multiple booking links (e.g., based on region or service type) Push responses to a CRM for tracking Include extra resources like case studies or pricing docs
by OneClick IT Consultancy P Limited
Travel Agent that Auto Response on Mail In this guide, we’ll break down how to set up an AI-powered auto-reply system that works while you sleep. Ready to 10X your efficiency? Let’s dive in! What’s the Goal? AI-driven auto-responses for Email. Instant replies to FAQs, order confirmations, and support queries. 24/7 availability - no more “We’ll get back to you soon” delays. Seamless integration with existing business tools. By the end, you’ll have a self-running communication assistant that never takes a coffee break. Why Does It Matter? Why automate replies? Because time = money and manual typing is so 2010. Here’s why this workflow is a game changer: Zero Human Error: AI doesn’t get tired or make typos. Lightning-Fast Replies: Customers get instant answers, improving satisfaction. 24/7 Availability: No more “Out of Office” replies. Focus on High-Value Work: Free your team from mundane tasks. Think of it as hiring a super efficient virtual assistant - minus the salary. How It Works Here’s the step by step magic behind the automation Step 1: Trigger the Workflow Detect new messages from WhatsApp, Email, or Slack. Use n8n’s webhook or API integration to capture incoming queries. Step 2: Process the Message with AI Send the message to an AI model (like OpenAI GPT-4 or Gemini). Generate a context-aware, human-like response. Step 3: Send the Automated Reply Route the AI-generated response back to the original platform. Ensure personalization (e.g., “Hi [Name], thanks for reaching out!”). Step 4: Log & Optimize Store interactions in a database (Airtable, Google Sheets). Continuously improve AI responses based on past data. How to use the workflow? Importing a workflow in n8n is a straightforward process that allows you to use pre-built or shared workflows to save time. Below is a step-by-step guide to importing a workflow in n8n, based on the official documentation and community resources. Steps to Import a Workflow in n8n 1. Obtain the Workflow JSON Source the Workflow:** Workflows are typically shared as JSON files or code snippets. You might receive them from: The n8n community (e.g., n8n.io workflows page). A colleague or tutorial (e.g., a .json file or copied JSON code). Exported from another n8n instance (see export instructions below if needed). Format:** Ensure you have the workflow in JSON format, either as a file (e.g., workflow.json) or as text copied to your clipboard. 2. Access the n8n Workflow Editor Log in to n8n:** Open your n8n instance (via n8n Cloud or your self-hosted instance). Navigate to the Workflows tab in the n8n dashboard. Open a New Workflow:** Click Add Workflow to create a blank workflow, or open an existing workflow if you want to merge the imported workflow. 3. Import the Workflow Option 1: Import via JSON Code (Clipboard): In the n8n editor, click the three dots (⋯) in the top-right corner to open the menu. Select Import from Clipboard. Paste the JSON code of the workflow into the provided text box. Click Import to load the workflow into the editor. Option 2: Import via JSON File: In the n8n editor, click the three dots (⋯) in the top-right corner. Select Import from File. Choose the .json file from your computer. Click Open to import the workflow.
by Yang
This workflow helps digital marketers and outreach specialists automate the research and creation of cold email icebreakers for local businesses. What it does: Starts with a Form Trigger, where you input a search keyword (e.g., “Dentist in New York”). Uses Dumpling AI’s Google Maps API to search for local businesses matching the keyword. Extracts individual business data, including website URLs. Sends each website to Dumpling AI to extract: A website summary for personalization An email address (if available) Sends the summary and business info to GPT-4 via OpenAI to write a short, warm, and customized icebreaker message. Filters out results with missing email addresses. Logs the business name, email, website, phone number, website summary, and generated icebreaker into Google Sheets. Optionally pushes the lead and personalization to Instantly.ai for automated cold outreach. Tools Used: Form Trigger (n8n) Dumpling AI (Search & Extraction APIs) OpenAI GPT-4 (via LangChain Node) Google Sheets Instantly.ai (optional lead delivery) 🛠️ How to Customize the Workflow Change the search region or business type:* Adjust the default keyword in the *Form Trigger** or connect a different input source (like Google Sheets). Customize the prompt:* Modify the *GPT-4 node prompt** to match your agency tone or outreach style. Add or remove data fields:* Edit the *Google Sheets node** to store additional business data or remove unnecessary ones. Connect to your CRM or outreach tool:* Replace or extend the *Instantly API node** with your own CRM (e.g., HubSpot, Close, Pipedrive) using HTTP Request or native integrations. Control batching size:* The *Split In Batches node** is set to 2 by default. You can increase this to speed up processing or reduce it to avoid rate limits. This automation is ideal for sales teams, digital marketing freelancers, and agencies who want to scale lead generation while keeping emails personal and relevant.
by Friedemann Schuetz
Welcome to my Automated Image Metadata Tagging Workflow! This workflow automatically analyzes the image content with the help of AI and writes it directly back into the image file as keywords. This workflow has the following sequence: Google Drive trigger (scan for new files added in a specific folder) Download the added image file Analyse the content of the image and extract the file as Base64 code Merge Metadata and Base64 Code Code Node to write the Keywords into the Metadata (dc:subject) Convert to file and update the original file in the Google Drive folder The following accesses are required for the workflow: Google Drive: Documentation AI API access (e.g. via OpenAI, Anthropic, Google or Ollama) You can contact me via LinkedIn, if you have any questions: https://www.linkedin.com/in/friedemann-schuetz
by Samir Saci
Tags: Productivity, Education, Learning, Language Context I’m a Supply Chain Data Scientist from Paris who lived six years in China — and yes, learning Mandarin while working full-time was tough. Learning Mandarin as an adult can be very difficult, especially if you have a full-time job. With AI, you can now have a Chinese tutor available 24/7 on your phone — no excuses left! It is with this spirit that I designed this workflow to support fellow Mandarin learners with a Chinese Teacher powered by GPT-4o. >Boost your language skills with AI using N8N! 📬 For business inquiries, you can add me on LinkedIn Who is this template for? This workflow template is designed for language learners and educators who need support to learn a vocabulary list in Mandarin (or any other language) using Open AI GPT-4o, an AI agent and a Telegram Bot to interact with users. For the vocabulary list, you can use another template shared in my profile 🉑 Generate Anki Flash Cards for Language Learning with Google Translate and GPT-4o to generate the Google Sheet needed in this workflow. How does it work? The workflow loads a vocabulary list stored in your Google Sheet. The bot will: 📥 Load your vocabulary list from Google Sheets 🧠 Generate multiple-choice questions with GPT-4o ✅ Evaluate your answer and give instant feedback 🔁 Loop to the next word until you're fluent These fields will be automatically added to a Google Sheet, ready to be loaded in Anki to create flash cards. What do I need to start? This workflow does not require any advanced programming skills. Prerequisite A Google Drive Account with a folder including a Google Sheet filled with the vocabulary list you want to learn. API Credentials: Open AI API for the chat model, Google Drive API and Google Sheets API activated with OAuth2 credentials A Telegram Bot with its token recorded in the Telegram Node Credentials A Google Sheet** with two columns (initialText: words in your own language, translatedText: words in the target language) Next Steps Follow the sticky notes to set up the parameters inside each node and get ready to pump your learning skills. 🎥 Watch My Tutorial 🚀 Curious how N8N can supercharge learning or supply chain? 📬 Let’s connect on LinkedIn Notes This workflow can be used for any language. In the AI Agent prompt, you just need to replace Chinese with your language. This workflow has been created with N8N 1.82.1 Submitted: March 23th, 2025
by Davide
This workflow implements an AI-powered WhatsApp booking assistant for a hair salon. The system allows customers to book, reschedule, or cancel appointments automatically via text or voice messages on WhatsApp. The workflow supports both text and voice messages. An AI agent manages the conversation logic, determines the user's intent, and calls the appropriate tools to perform actions such as checking availability, creating appointments, rescheduling bookings, or canceling events. The system also includes guardrails to filter unsafe or irrelevant inputs and escalation mechanisms to notify the team when a request falls outside supported tasks. Key Advantages 1. ✅ 24/7 Automated Appointment Booking Customers can book, reschedule, or cancel appointments at any time through WhatsApp without requiring manual staff intervention. 2. ✅ Multi-Modal Communication (Text + Voice) The workflow supports both text messages and voice messages. Audio messages are automatically transcribed and processed by the AI assistant. 3. ✅ Intelligent AI Assistant An AI agent manages the conversation, understands user intent, and automatically performs actions such as checking calendar availability or creating appointments. 4. ✅ Real-Time Calendar Integration The assistant connects directly to Google Calendar to: check available time slots create new bookings update existing appointments cancel reservations This ensures real-time accuracy. 5. ✅ Automatic Client Management Customer information such as phone number, name, and service type is stored and updated in Google Sheets, creating a lightweight CRM database. 6. ✅ Conversation Memory The system stores chat history in PostgreSQL, allowing the AI assistant to maintain context during conversations and deliver a more natural experience. 7. ✅ Smart Error Handling and Escalation If the AI cannot handle a request (for example, a question unrelated to appointments), the workflow automatically: notifies the team via email escalates the conversation for human assistance. 8. ✅ Secure and Controlled AI Responses Guardrails are implemented to prevent irrelevant or unsafe responses, ensuring that the assistant follows defined policies and tasks. 9. ✅ Omnichannel Architecture The workflow is designed to work with: WhatsApp messages chatbot interface (chat trigger) This allows the same logic to power multiple communication channels. 10. ✅ Scalable Automation The system is fully automated and can handle multiple simultaneous conversations, reducing operational workload and improving customer service efficiency. How it works Input Handling (WhatsApp & Chat): It listens for incoming messages from either a WhatsApp Trigger or a Chat Trigger. WhatsApp: It processes both text messages and voice notes. If a voice note is received, it automatically downloads the audio, transcribes it using OpenAI (Whisper), and converts it into text for the AI to process. The user's phone number (for WhatsApp) or session ID (for Chat) is stored as a sessionId to maintain conversation context. Guardrails (Security & Policy): Before the message reaches the main AI agent, it passes through a Guardrails node (using Google Gemini). This acts as a safety filter to check for jailbreak attempts or inappropriate content, ensuring the conversation stays within company policies. AI Agent (The Virtual Assistant): The cleaned-up message is sent to the AI Agent ("Virtual Assistant"). The agent is prompted to act as "Emma" and follows strict instructions: Identify User: It first uses the New client tool to check a Google Sheet to see if the user is already registered. Manage Appointments: Based on the user's request (book, reschedule, cancel), it intelligently calls specific tools in the correct order. Date Logic: It is aware of the current date and time to calculate correct future dates (e.g., interpreting "this Thursday"). Tool Execution (Actions): The agent has access to several tools to perform actions: Google Sheets (New client, Add client): To check if a client exists and add new clients to a spreadsheet. Google Calendar (Get events, Create event, Update event, Delete event): To check availability and manage appointments. The Get events tool is configured to look for slots in the next 30 days. Gmail (Send Email): To notify the team if a user asks for something outside the scope (e.g., pricing, product questions). WhatsApp HITL / Chat HITL (Escalation): To hand over the conversation to a human agent for complex requests. Response Delivery: The AI agent's text response is routed back to the user. On WhatsApp: It intelligently handles the response format. If the original message was text, it sends a text reply. If the original message was a voice note, it uses OpenAI's TTS to convert the text reply into an audio message and sends that back. Setup steps To get this workflow running, you need to configure the following credentials and nodes: Configure Credentials: Google Calendar OAuth2: Connect your Google account (used in Calendar nodes). Google Sheets OAuth2: Connect your Google account to access the spreadsheet. Gmail OAuth2: Connect your Google account to send notification emails from xxx@xxx.com. WhatsApp API: Connect your WhatsApp Business API credentials (Phone Number ID). OpenAI API (OpenRouter): Provide your API key for audio transcription and text-to-speech. Google Gemini API: Provide your API keys for the main AI model (Google Gemini Chat Model) and the Guardrails model (Google Gemini Chat Model1). Postgres: Configure the connection to your Postgres database for chat memory. Configure Google Sheets: Create a Google Sheet. Update the Document ID in the New client and Add client nodes with your sheet's ID. Ensure the sheet has columns for Phone Number, Client, and Service. Configure Google Calendar: Verify that the calendar ID in the Calendar nodes is correct and accessible. Configure WhatsApp Triggers & Actions: The WhatsApp Trigger node needs to be connected to your WhatsApp Business App. The Send message and Send audio nodes must have the correct Phone Number ID for your WhatsApp Business number. Update Email Recipient: In the Send Email tool (for escalations), change the sendTo email address from xxx@xxx.com to the actual email of the team that should receive these notifications. Review AI Prompts: Open the "Virtual Assistant" (AI Agent) node and review the system message. Update the salon name ("Cuts & Styles"), stylist name ("Alex Carter"), and address to match your business. Check the "Guardrails" node to adjust the safety threshold if necessary. 👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. Need help customizing? Contact me for consulting and support or add me on Linkedin.
by Robert Breen
A step-by-step demo that shows how to pull your Outlook calendar events for the week and ask GPT-4o to write a short summary. Along the way you’ll practice basic data-transform nodes (Code, Filter, Aggregate) and see where to attach the required API credentials. 1️⃣ Manual Trigger — Run Workflow | Why | Lets you click “Execute” in the n8n editor so you can test each change. | | --- | --- | 2️⃣ Get Outlook Events — Get many events Node type: Microsoft Outlook → Event → Get All Fields selected: subject, start API setup (inside this node): Click Credentials ▸ Microsoft Outlook OAuth2 API If you haven’t connected before: Choose “Microsoft Outlook OAuth2 API” → “Create New”. Sign in and grant the Calendars.Read permission. Save the credential (e.g., “Microsoft Outlook account”). Output: A list of events with the raw ISO start time. > Teaching moment: Outlook returns a full dateTime string. We’ll normalize it next so it’s easy to filter. 3️⃣ Normalize Dates — Convert to Date Format // Code node contents return $input.all().map(item => { const startDateTime = new Date(item.json.start.dateTime); const formattedDate = startDateTime.toISOString().split('T')[0]; // YYYY-MM-DD return { json: { ...item.json, startDateFormatted: formattedDate } }; }); 4️⃣ Filter the Events Down to This Week After we’ve normalised the start date-time into a simple YYYY-MM-DD string, we drop in a Filter node. Add one rule for every day you want to keep—for example 2025-08-07 or 2025-08-08. Rows that match any of those dates will continue through the workflow; everything else is quietly discarded. Why we’re doing this: we only want to summarise tomorrow’s and the following day’s meetings, not the entire calendar. 5️⃣ Roll All Subjects Into a Single Item Next comes an Aggregate node. Tell it to aggregate the subject field and choose the option “Only aggregated fields.” The result is one clean item whose subject property is now a tidy list of every meeting title. It’s far easier (and cheaper) to pass one prompt to GPT than dozens of small ones. 6️⃣ Turn That List Into Plain Text Insert a small Code node right after the aggregation: return [{ json: { text: items .map(item => JSON.stringify(item.json)) .join('\n') } }]; Need a Hand? I’m always happy to chat automation, n8n, or Outlook API quirks. Robert Breen – Automation Consultant & n8n Instructor 📧 robert@ynteractive.com | LinkedIn
by Sarfaraz Muhammad Sajib
This workflow allows interactive conversation with the content of an XML file using OpenAI and LangChain. It fetches an XML feed from a specified URL, parses the XML, and enables an AI agent to respond to user queries based on the XML's structure and data. What It Does: Triggered via webhook or manual execution. Sets and fetches an external XML feed URL. Parses the XML into a readable format. Connects OpenAI GPT via LangChain for intelligent chat. AI agent answers questions like extracting nodes, attributes, or structure from the XML.
by Wyeth
Let a user load multiple files with a Form node, and process the binary data. A very important workflow for many tools. This is a learning example of several core concepts that are hard to grasp in n8n: $binary data Loop and $runIndex Split Out The Save File deomonstrates how to access the binary data correctly, but could be swapped to POST the files to an AI, for example.
by MRJ
Modular Hazard Analysis Workflow : Free Version Business Value Proposition Accelerates ISO 26262 compliance for automotive/industrial systems by automating safety analysis while maintaining rigorous audit standards. :chart_with_upwards_trend: Key Benefits Time Instant report generation vs. weeks of documentation for HAZOP Risk Mitigation Pre-validated templates reduce human error Quick guide Input a systems_description file to the workflow Provide an OPENAI_API_KEY to the chat model. You can also replace the chat model with the model of your interest. :play_or_pause_button: Running the Workflow Refer to the github repo to understand in detail about how the workflow can be used :email: Contact For collaboration proposals or security issues, contact me by Email. :warning: Validation & Limitations AI-Assisted Analysis Considerations | Advantage | Mitigation Strategy | Implementation Example | |-----------|---------------------|------------------------| | Rapid hazard identification | Human validation layer | Manual review nodes in workflow | | Consistent S/E/C scoring | Rule-based validation | ASIL-D → Redundancy check | | Edge case coverage | Cross-reference with historical data | Integration with incident databases |