54 templates found
Category:
Author:
Sort:

A very simple "Human in the Loop" email response system using AI and IMAP

Functionality This workflow automates the handling of incoming emails by summarizing their content, generating appropriate responses, and validating the responses through a "Human-in-the-Loop" system. It integrates with IMAP email services (e.g., Gmail, Outlook) and uses AI models to streamline the email response process. The workflow ensures that all AI-generated responses are reviewed by a human before being sent, maintaining a high level of professionalism and accuracy. This approach is particularly useful for businesses that receive a high volume of emails and need to respond quickly while ensuring quality control. --- How It Works Email Trigger: The workflow starts with the Email Trigger (IMAP) node, which monitors an email inbox for new messages. When a new email arrives, it triggers the workflow. Email Preprocessing: The Markdown node converts the email's HTML content into plain text for easier processing by the AI models. Email Summarization: The Email Summarization Chain node uses an AI model (OpenAI) to generate a concise summary of the email. The summary is limited to 100 words and is written in a professional tone. Email Response Generation: The Write email node uses an AI model (OpenAI) to draft a professional response to the email. The response is based on the email content and is limited to 100 words. Human-in-the-Loop Approval: The Set Email text node prepares the drafted response for approval. The Approve Email node sends the drafted response to a human approver (e.g., an internal email address) for review. The email includes: The original message. The AI-generated response. The Approved? node checks if the response has been approved by the human reviewer. If approved, the workflow proceeds to send the response; otherwise, it stops. Sending the Response: The Send Email node sends the approved response back to the original sender. --- Key Features Automated Email Summarization: Summarizes incoming emails to provide a quick overview of the content. AI-Powered Response Generation: Drafts professional responses to emails using AI. Human-in-the-Loop Approval: Ensures all AI-generated responses are reviewed and approved by a human before being sent. IMAP Integration: Works with IMAP email services like Gmail and Outlook. Efficient Email Management: Reduces the time and effort required to handle incoming emails while maintaining high-quality responses. This workflow is ideal for businesses looking to automate their email response process while maintaining control over the quality of outgoing communications. It leverages AI to handle repetitive tasks and ensures that all responses are reviewed by a human, providing a balance between automation and human oversight. --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

DavideBy Davide
30091

Binance spot trader - limit & market orders via API

📈 How it works This n8n workflow allows you to interact with Binance Spot Trading API directly to: Place Limit Buy and Limit Sell orders Place Market Buy and Market Sell orders Query account info and open orders Cancel all open orders for a specific symbol All requests are signed using Binance's HMAC SHA256 signature method for secure trading. --- ⚙️ Setup Steps Create Binance API Credentials in n8n: Go to Credentials > New Choose Binance API Add apikey and apisecret Save as Binance API Import this workflow into your n8n instance. Update default values: In Set Parameter nodes like LimitBuy Parameter, change: symbol (e.g. BTCUSDT) quantity, price as needed Run the workflow manually via the Execute workflow trigger. --- ✅ Notes Credential node is marked with instructions. HMAC signatures are automatically calculated before making each request. HTTP nodes are preconfigured for Binance API v3. 🔒 No API key or secret is included.

Todsaporn SangboonBy Todsaporn Sangboon
16507

Automatic reminders for follow-ups with AI and human in the loop Gmail

This n8n template extends the idea of follow-up reminders by having an AI agent suggest and book the next call or message to re-engage prospects which have been ignored. What makes this template particularly interesting and actually usable is that it uses the Human-in-the-loop approach to wait for a user's approval before actually making the booking or otherwise not if the user declined. A twist on a traditional idea where we can reduce the number of actionable tasks a human has to make by delegating them to AI. How it works A scheduled trigger checks your google calendar for sales meetings which happened a few days ago. For each event, gmail search is used to figure out if a follow-up message has been sent or received from the other party since the meeting. If none, it might mean the user needs a reminder to follow-up. For leads applicable for follow-up, we first get an AI Agent to find available meeting slots in the calendar. These slots and reminder are sent to the user via send-and-approval mode of the gmail node. The user replies in natural language either picking a slot, suggesting an entirely new slot or declines the request. When accepted, another AI Agent books the meeting in the calendar with the proposed dates and lead. When declined, no action is taken. How to use Update all calendar nodes (+subnodes) to point to the right calendar. If this is a shared-purpose calendar, you may need to either filter or create a new calendar. Update the gmail nodes to point to the right accounts. Requirements Google OAuth for Email and Calendar OpenAI for LLM Customising the template Not using Google? Swap out for Microsoft Outlook/Calendar or something else. Try swapping out or adding in additional send-for-approval methods such as telegram or whatsapp.

JimleukBy Jimleuk
14388

Summarize social media activity of a company before a call

How it works It’s very important to come prepared to Sales calls. This often means a lot of manual research about the person you’re calling with. This workflow delivers a summary of the latest social media activity (LinkedIn + X) for businesses you are about to interact with each day. Scans Your Calendar: Each morning, it reviews your Google Calendar for any scheduled meetings or calls with companies based on each attendee email address. Fetches Latest Posts: For each identified company, it fetches recent LinkedIn and X posts and summerizes them using AI to deliver a qucik overview for a busy sales rep. Delivers Insights: You receive personalized emails via Gmail, each dedicated to a company you’re meeting with that day, containing a reminder of the meeting and a summary of company's recent social media activity. Setup steps The workflow requires you to have the following accounts set up in their respective nodes: Google Calendar GMail Clearbit OpenAI Besides those, you will need an account on the RapidAPI platform and subscribe to the following APIs: Fresh LinkedIn Profile Data Twitter Email example

Milorad FilipovićBy Milorad Filipović
10502

Turn BBC News articles into podcasts using Hugging Face and Google Gemini

Turn BBC News Articles into Podcasts using Hugging Face and Google Gemini Effortlessly transform BBC news articles into engaging podcasts with this automated n8n workflow. Who is this for? This template is perfect for: Content creators who want to quickly produce podcasts from current events. Students looking for an efficient way to create audio content for projects or assignments. Individuals interested in generating their own podcasts without technical expertise. Setup Information Install n8n: If you haven't already, download and install n8n from n8n.io. Import the Workflow: Copy the JSON code for this workflow and import it into your n8n instance. Configure Credentials: Gemini API: Set up your Gemini API credentials in the workflow's LLM nodes. Hugging Face Token: Obtain an access token from Hugging Face and add it to the HTTP Request node for the text-to-speech model. Customize (Optional): Filtering Criteria: Adjust the News Classifier node to fine-tune the selection of news articles based on your preferences. Output Options: Modify the workflow to save the generated audio file to a cloud storage service or publish it to a podcast hosting platform. Prerequisites An active n8n instance. Basic understanding of n8n workflows (no coding required). API credentials for Gemini and a Hugging Face account with an access token. What problem does it solve? This workflow eliminates the manual effort involved in creating podcasts from news articles. It automates the entire process, from fetching and filtering news to generating the final audio file. What are the benefits? Time-saving: Create podcasts in minutes, not hours. Easy to use: No coding or technical skills required. Customizable: Adapt the workflow to your specific needs and preferences. Cost-effective: Leverage free or low-cost services like Gemini and Hugging Face. How does it work? The workflow fetches news articles from the BBC website. It filters articles based on their suitability for a podcast. It extracts the full content of the selected articles. It uses Gemini LLM to create a podcast script. It converts the script to speech using Hugging Face's text-to-speech model. The final podcast audio is ready for use. Nodes in the Workflow Fetch BBC News Page: Retrieves the main BBC News page. News Classifier: Categorizes news articles using Gemini LLM. Fetch BBC News Detail: Extracts detailed content from suitable articles. Basic Podcast LLM Chain: Generates a podcast script using Gemini LLM. HTTP Request: Converts the script to speech using Hugging Face. Add Story I'm excited to share this workflow with the n8n community and help content creators and students easily produce engaging podcasts! Additional Tips Explore the n8n documentation and community resources for more advanced customization options. Experiment with different filtering criteria and LLM prompts to achieve your desired podcast style.

OnurBy Onur
5241

Sync your GitHub issues to your Notion database

This workflow syncs your GitHub issues to your Notion database. Whenever a new issue is opened in your GitHub repository, it will be shown in your Notion database, syncing the status property (opened/edited/closed/deleted). In case there’s no Notion database existing yet, a new one will be created automatically. Prerequisites Notion account and Notion credentials GitHub account and GitHub credentials How it works Github trigger starts the workflow when a new issue is created in a GitHub repository. If node splits the workflow conditionally, showing whether the issue is new or an update of an existing issue. If data is new, the Notion node will create a new database page in Notion. If the data is not new, the Function node will create a Notion filter that will find its specific database page by issue ID. Switch node will then conditionally route the data into the appropriate Notion page, based on the update made upon it.

n8n TeamBy n8n Team
4908

Process Shopify new orders with Zoho CRM and Harvest

This workflow is triggered when a new order is created in Shopify. Then: the order information is stored in Zoho CRM, an invoice is created in Harvest and stored in Trello, if the order value is above 50, an email with a discount coupon is sent to the customer and they are added to a MailChimp campaign for high-value customers; otherwise, only a "thank you" email is sent to the customer. Note that you need to replace the List ID in the Trello node with your own ID (see instructions in our docs). Same goes for the Account ID in the Harvest node (see instructions here).

LorenaBy Lorena
4724

Automate multi-channel customer support with Gmail, Telegram, and GPT AI

Smart Customer Support AI Agent with Gmail and Telegram Who is this for? This workflow is perfect for: Small to medium businesses looking to automate customer support E-commerce stores handling order inquiries and customer questions SaaS companies providing technical support to users Service providers managing appointment bookings and general inquiries Startups wanting to provide 24/7 customer service without hiring full-time staff Agencies managing client communications across multiple channels What problem is this workflow solving? Customer support is essential but resource-intensive. Common challenges include: Slow response times leading to frustrated customers Repetitive questions consuming valuable staff time Inconsistent responses across different support agents Limited availability outside business hours Scaling support costs as business grows Context loss when customers switch between channels This workflow eliminates these pain points by providing instant, consistent, and intelligent responses 24/7. What this workflow does Core Functionality Multi-Channel Monitoring: Simultaneously watches Gmail and Telegram for customer inquiries Intelligent Processing: Uses AI to understand customer intent and context Knowledge Base Integration: Accesses your company's FAQ and support information Contextual Responses: Provides personalized, helpful replies maintaining conversation history Smart Escalation: Automatically escalates complex issues to human agents Comprehensive Logging: Tracks all interactions for analytics and improvement AI Agent Capabilities Natural Language Understanding: Comprehends customer questions in plain English Context Awareness: Remembers previous conversations with each customer Knowledge Retrieval: Searches your knowledge base for accurate information Response Generation: Creates professional, brand-appropriate responses Escalation Decision: Identifies when human intervention is needed Multi-Channel Support: Handles Gmail and Telegram with channel-specific formatting Automation Features Auto-Response: Replies to customers within seconds Email Management: Marks processed emails as read Conversation Threading: Maintains context in email threads and Telegram chats Error Handling: Gracefully handles failures with admin notifications Analytics Tracking: Logs interactions for performance monitoring Setup Prerequisites Active Google Workspace or Gmail account Telegram account for bot creation OpenAI API access Google Sheets access n8n instance (cloud or self-hosted) Step 1: Credential Setup Gmail OAuth2 Configuration Go to Google Cloud Console Create new project or select existing one Enable Gmail API Create OAuth 2.0 credentials Add authorized redirect URIs for n8n In n8n: Settings → Credentials → Add Gmail OAuth2 Enter Client ID and Client Secret Complete OAuth flow Telegram Bot Setup Message @BotFather on Telegram Create new bot with /newbot command Choose bot name and username Copy the bot token In n8n: Settings → Credentials → Add Telegram Enter bot token Set webhook URL in bot settings OpenAI API Configuration Sign up at OpenAI Platform Generate API key in API Keys section In n8n: Settings → Credentials → Add OpenAI Enter API key Choose appropriate model (gpt-4o-mini recommended) Google Sheets Setup Use existing Google account from Gmail setup In n8n: Settings → Credentials → Add Google Sheets OAuth2 Complete authorization flow Step 2: Google Sheets Preparation Create three Google Sheets in your Google Drive: Knowledge Base Sheet Sheet Name: "Knowledge Base" Columns: ID, Category, Question/Topic, Answer/Response, Keywords, Last_Updated Import sample data from the Knowledge Base example Customize with your company's FAQs and policies Escalation Tracker Sheet Sheet Name: "Escalations" Columns: Timestamp, CustomerName, CustomerContact, InquirySummary, EscalationReason, Priority, Status, Assigned_To This will be auto-populated by the AI agent Interaction Log Sheet Sheet Name: "Interaction Log" Columns: Timestamp, Channel, CustomerName, CustomerContact, InquirySubject, CustomerMessage, AIResponse, ResponseTime, Status This tracks all customer interactions for analytics Step 3: Workflow Configuration Import Template Copy the workflow JSON from the template In n8n: Import workflow from JSON Replace placeholder Sheet IDs with your actual Google Sheet IDs Update Sheet References Open each Google Sheets node Select your created sheets from the dropdown Verify column mappings match your sheet structure Customize AI Prompts Edit the "Customer Support AI Agent" node Update system message with: Your company name and description Brand voice and tone guidelines Specific policies and procedures Escalation criteria Configure Error Notifications (Optional) Set up Slack webhook or email notifications Update error notification node with your webhook URL Customize error message format Step 4: Testing Test Gmail Integration Send test email to your support Gmail account Check workflow execution in n8n Verify response is sent and email marked as read Check interaction logging in Google Sheets Test Telegram Integration Send message to your Telegram bot Verify bot responds appropriately Test conversation memory with follow-up messages Check escalation functionality with complex request Test Knowledge Base Ask questions covered in your knowledge base Verify AI retrieves and uses correct information Test with variations of the same question Ensure responses are consistent and helpful How to customize this workflow to your needs Brand Voice Customization Update the AI system prompt to include: Your company's tone (formal, casual, friendly) Key phrases and terminology you use Brand personality traits Communication style preferences Knowledge Base Expansion Add industry-specific FAQs Include product documentation Add troubleshooting guides Create category-specific responses Escalation Rules Customize when to escalate by modifying the AI agent instructions: Billing disputes over $X amount Technical issues requiring developer help Angry or dissatisfied customers Requests outside standard services Legal or compliance questions Additional Channels Extend the workflow to support: Slack: Add Slack triggers and response nodes WhatsApp: Integrate WhatsApp Business API Web Chat: Add webhook triggers for website chat Discord: Connect Discord bot integration Analytics Enhancement Add sentiment analysis to customer messages Implement customer satisfaction scoring Create automated reporting dashboards Set up alert thresholds for escalation rates Integration Opportunities CRM Integration: Connect to HubSpot, Salesforce, or Pipedrive Ticketing System: Link to Zendesk, Freshdesk, or Jira Service Desk E-commerce Platform: Integrate with Shopify, WooCommerce, or Magento Calendar Booking: Connect to Calendly or Acuity for appointment scheduling Advanced Features Multi-language Support: Add translation capabilities Voice Messages: Integrate speech-to-text for Telegram voice notes Image Recognition: Process customer screenshots for technical support Proactive Outreach: Send follow-up messages based on customer behavior Workflow Maintenance Daily Tasks Review escalation queue Monitor error notifications Check response quality in interaction log Weekly Reviews Analyze customer interaction patterns Update knowledge base with new common questions Review escalation reasons and optimize AI prompts Monthly Optimization Export interaction data for detailed analysis Calculate key metrics (response time, resolution rate, escalation rate) Update AI model parameters based on performance Expand knowledge base with seasonal or trending topics Key Metrics to Track Response Time: Average time from customer message to AI response Resolution Rate: Percentage of inquiries resolved without escalation Customer Satisfaction: Based on follow-up surveys or sentiment analysis Escalation Rate: Percentage of conversations requiring human intervention Channel Performance: Effectiveness of Gmail vs Telegram vs other channels Knowledge Base Usage: Which topics are accessed most frequently Peak Hours: When customers contact support most often Troubleshooting Common Issues Gmail not triggering: Check OAuth permissions and API quotas Telegram bot not responding: Verify bot token and webhook configuration AI responses seem off: Review and update system prompts Escalations not logging: Check Google Sheets permissions and column mapping High escalation rate: Expand knowledge base and refine AI instructions Performance Optimization Monitor OpenAI API usage and costs Adjust AI model temperature for response consistency Optimize knowledge base for faster searches Set appropriate conversation memory limits This workflow provides a solid foundation for automated customer support that can be extensively customized to match your specific business needs and grow with your company.

RedOneBy RedOne
4441

Generate unlimited e-commerce ad creative with Nano Banana Image Generator

AI Influencer Ad Creative Generator Generate authentic-looking influencer marketing content by automatically combining your product images with reference photos of potential brand ambassadors. This workflow uses Google's Gemini AI to create realistic promotional images showing influencers naturally using your products in casual settings, perfect for social media campaigns and marketing materials. How it works Upload your product image through a simple web form interface Automatically processes reference influencer photos stored in your Google Drive folder AI generates realistic promotional images using Gemini 2.5 Flash, showing each influencer naturally holding/using your product in cafe settings Saves all generated images to your designated Google Drive output folder with organized naming Batch processes multiple influencer images to create a complete campaign asset library The workflow creates candid, authentic-looking photos that appear as if a friend took a picture of the influencer enjoying your product - perfect for social media advertising that doesn't look overly promotional. Set up steps Connect Google Drive account to n8n for accessing influencer reference images and saving outputs Set up Google Gemini API credentials for AI image generation capabilities Create two Google Drive folders: one for storing your reference influencer photos, another for generated campaign assets Configure folder IDs in the workflow nodes to point to your specific Drive locations Upload reference influencer images to your source folder (headshots or casual photos work best) Deploy the form trigger to get your webhook URL for product image uploads Requirements: Google Drive account, Google Cloud account with Gemini API access, collection of reference influencer photos.

Lucas WalterBy Lucas Walter
4058

N8N espaĂąol - Telegram welcome bot

Este workflow te permite crear un Bot para dar la Bienvenida y despedida en tu grupo de telegram. How To, Paso a Paso: https://comunidad-n8n.com/construye-tu-bot-con-n8n Comunidad de telegram: https://t.me/comunidadn8n

The { AI } rtistBy The { AI } rtist
3665

Scrape competitor reviews & generate ad creatives with Bright Data & OpenAI

Scrape Competitor Reviews & Generate Ad Creatives with Bright data and OpenAI How the Flow Runs Fill the Form Enter the Amazon product URL to analyze competitor reviews. Trigger Bright Data Scraper Bright Data scrapes Amazon reviews based on the provided URL. Wait for Snapshot Completion Periodically checks Bright Data until the scraping is complete. Retrieve JSON Data Collects the scraped review data in JSON format. Save Reviews to Google Sheets Automatically appends the scraped reviews to your Google Sheets. Aggregate Reviews Consolidates all reviews into a single summary for simpler analysis. Analyze Reviews with OpenAI LLM Sends the aggregated reviews to OpenAI (GPT-4o mini) to summarize competitors’ main weaknesses clearly. Generate Creative Ad Image OpenAI generates a visually appealing 1080x1080 ad image addressing these identified pain points. Send Ad Creative via Gmail Automatically emails the creative and review summary to your media buying team for immediate use in Meta ads. --- What You Need Google Sheets: Template Bright Data: Dataset and API key: www.brightdata.com OpenAI API Key: For GPT-4o mini or your preferred LLM Automation Tool: Ensure it supports HTTP Requests, Wait, Conditional (If), Google Sheets integration, Form Trigger, OpenAI integration, and Gmail integration. --- Form Fields to Fill Amazon Product URL: Enter the competitor’s product URL from Amazon. --- Setup Steps Copy the provided Google Sheet template. Import the JSON workflow into your automation tool. Update credentials for Bright Data, Google Sheets, Gmail, and OpenAI. Test manually by submitting the form and verifying functionality. Optional: Set a schedule for regular workflow execution. --- Bright Data Trigger Example json [ { "url": "https://www.amazon.com/example-product" } ] Tips Frequently update URLs to ensure fresh insights. Allow more wait time for extensive data scrapes. Focus on targeted products to optimize cost-efficiency. Need Help? Email: Yaron@nofluff.online Resources: YouTube: https://www.youtube.com/@YaronBeen/videos LinkedIn: https://www.linkedin.com/in/yaronbeen/ Bright Data Documentation: https://docs.brightdata.com/introduction

Yaron BeenBy Yaron Been
3644

Check if workflows contain build-in nodes that are not of the latest version

How it works it will return workflows that have buil-in nodes not of latest version with information of node name, type, current version and latest version for that type Set up steps: You need to have n8n credentials set, you can get n8n API key under settings set your instance base URL in "instance base url" node Disclaimar: Only check build-in nodes, community nodes are not supported

MichaelBy Michael
2807