by Omer Fayyaz
This workflow automates multi-platform content creation by transforming form submissions into tailored blog posts, LinkedIn posts, and Facebook posts using AI and web research What Makes This Different: Multi-Platform Content Generation** - Creates optimized content for blog, LinkedIn, and Facebook simultaneously AI-Powered Content Adaptation** - Uses OpenAI to tailor content for each platform's unique audience and format Web Research Integration** - Leverages Tavily API to gather relevant, up-to-date information on any topic Form-Based Input** - Simple form interface for content subject and target audience specification Automated Workflow** - End-to-end automation from form submission to content delivery Slack Integration** - Delivers all generated content via Slack notification for easy review and sharing Key Benefits of Automated Content Creation: Time Efficiency** - Generates three different content pieces in one workflow execution Platform Optimization** - Each content piece is specifically crafted for its intended platform Research-Backed Content** - Incorporates current web information for accurate, relevant content Consistent Brand Voice** - AI ensures consistent tone and messaging across all platforms Scalable Content Production** - Handles multiple content requests without manual intervention Centralized Delivery** - All content delivered to one location for easy management Who's it for This template is designed for content marketers, social media managers, small business owners, marketing agencies, and content creators who need to produce consistent, high-quality content across multiple platforms. It's perfect for businesses that want to streamline their content creation process, maintain a consistent brand voice, and leverage AI to create platform-specific content that resonates with their target audience. How it works / What it does This workflow creates an automated content creation system that transforms form submissions into multi-platform content. The system: Receives form submissions with content subject and target audience through n8n form trigger Extracts search parameters from form data to prepare for web research Searches the web using Tavily API to gather relevant, current information on the topic Processes search results by splitting and aggregating content for AI processing Generates platform-specific content using OpenAI agents for LinkedIn, Facebook, and blog formats Aggregates all content into a single output with all three platform versions Sends Slack notification with all generated content for review and distribution Key Innovation: Multi-Platform AI Content Generation - Unlike traditional content tools that create one piece of content, this system automatically generates three different versions optimized for each platform's unique audience, format requirements, and engagement patterns, all based on current web research and AI-powered adaptation. How to set up 1. Configure Form Trigger Set up n8n form trigger with "Content Subject" and "Target Audience" fields Configure form settings and validation rules Test form submission functionality Ensure proper data flow to subsequent nodes 2. Configure OpenAI API Set up OpenAI API credentials in n8n Ensure proper API access and quota limits Configure the OpenAI Chat Model node for content generation Test AI model connectivity and response quality 3. Configure Tavily API Get your API key**: Sign up at tavily.com and obtain your API key from the dashboard Add API key to workflow**: In the "Search Web" HTTP Request node, replace "ADD YOU API KEY HERE" with your actual Tavily API key Example configuration**: { "api_key": "your-actual-api-key-here", "query": "{{ $json.query.replace(/\"/g, '\\\"') }}", "search_depth": "basic", "include_answer": true, "topic": "news", "include_raw_content": true, "max_results": 3 } Configure search parameters**: Ensure max_results is set to 3 and search_depth to "basic" for optimal performance Test API connectivity**: Run a test execution to verify search results are returned correctly 4. Configure Slack Integration Set up Slack API credentials in n8n Configure Slack channel ID for content delivery Set up proper message formatting for content display Test Slack notification delivery 5. Test the Complete Workflow Submit test form with sample content subject and target audience Verify web search returns relevant results Check that AI generates appropriate content for all three platforms Confirm Slack notification contains all generated content Requirements n8n instance** with form trigger and HTTP request capabilities OpenAI API** access for AI-powered content generation Tavily API** credentials for web search functionality Slack workspace** with API access for content delivery Active internet connection** for real-time API interactions How to customize the workflow Modify Content Generation Parameters Adjust the number of web search results (currently set to 3) Add more search depth options (basic, advanced, comprehensive) Implement content length controls for different platforms Add content tone and style preferences Enhance AI Capabilities Customize AI prompts for specific industries or niches Add support for multiple languages Implement brand voice consistency across all platforms Add content quality scoring and optimization Expand Content Sources Integrate with additional research APIs (Google Search, Bing, etc.) Add support for internal knowledge base integration Implement trending topic detection Add competitor content analysis Improve Content Delivery Add email notifications alongside Slack Implement content scheduling capabilities Add content approval workflows Implement content performance tracking Business Features Add content analytics and performance metrics Implement A/B testing for different content versions Add content calendar integration Implement team collaboration features Key Features Multi-platform content generation** - Creates optimized content for blog, LinkedIn, and Facebook AI-powered content adaptation** - Tailors content for each platform's unique requirements Web research integration** - Incorporates current, relevant information from web searches Form-based input** - Simple interface for content subject and target audience specification Automated workflow** - End-to-end automation from form submission to content delivery Platform-specific optimization** - Each content piece follows platform best practices Slack integration** - Centralized delivery of all generated content Scalable content production** - Handles multiple content requests efficiently Technical Architecture Highlights AI-Powered Content Generation OpenAI integration** - Advanced language model for content creation Platform-specific prompts** - Tailored AI instructions for each social platform Content optimization** - AI ensures platform-appropriate formatting and tone Quality consistency** - Maintains brand voice across all generated content Web Research Integration Tavily API** - Comprehensive web search with content extraction Real-time data** - Access to current, relevant information Content aggregation** - Combines multiple sources for comprehensive coverage Search optimization** - Efficient query construction for better results Form-Based Input System n8n form trigger** - Simple, user-friendly input interface Data validation** - Ensures required fields are properly filled Parameter extraction** - Converts form data to search and generation parameters Error handling** - Graceful handling of incomplete or invalid inputs Multi-Platform Output LinkedIn optimization** - Professional tone with industry-specific formatting Facebook adaptation** - Engaging, shareable content with appropriate length Blog formatting** - Comprehensive, SEO-friendly long-form content Unified delivery** - All content delivered through single Slack notification Use Cases Content marketing agencies** needing efficient multi-platform content creation Small businesses** requiring consistent social media presence across platforms Marketing teams** looking to streamline content production workflows Solo entrepreneurs** needing professional content without hiring writers E-commerce brands** requiring product-focused content for multiple channels Professional services** needing thought leadership content across platforms Event organizers** requiring promotional content for different social channels Educational institutions** needing content for student engagement and recruitment Business Value Time Efficiency** - Reduces content creation time from hours to minutes Cost Savings** - Eliminates need for multiple content creators or agencies Consistency** - Maintains brand voice and messaging across all platforms Scalability** - Handles unlimited content requests without additional resources Quality Assurance** - AI ensures professional-quality content every time Multi-Platform Reach** - Maximizes content distribution across key social channels Research Integration** - Incorporates current information for relevant, timely content This template revolutionizes content creation by combining AI-powered writing with real-time web research, creating an automated system that produces high-quality, platform-optimized content for blog, LinkedIn, and Facebook from a simple form submission.
by Anshul Chauhan
Deploy a Multi-Tool AI Assistant on WhatsApp with Google Gemini Deploy a true AI assistant on WhatsApp. This n8n workflow uses a sophisticated hierarchical agent structure to not only handle conversations but also manage your emails and calendar directly from your chat, all powered by Google Gemini. Key Features Powered by Google Gemini:** Utilizes the advanced capabilities of Google's Gemini models for understanding complex commands and generating natural, human-like responses. Intelligent Task Delegation (Hierarchical Agents):* Features a central *Personal Agent** that understands the user's intent and intelligently delegates tasks to specialized sub-agents for email, calendar, or general chat. Full Email & Calendar Management:** Connects directly to your Google Workspace to send emails, create drafts, apply labels, create/update/delete calendar events, check your availability, and more. Context-Aware Conversations:** Employs memory at multiple levels, allowing the assistant to remember the context of your requests for a coherent and intuitive user experience. Seamless WhatsApp Integration:** Connects directly with the WhatsApp Business API to send and receive messages, engaging users on one of the world's most popular messaging platforms. Easy to Deploy & Customize:** Get your assistant running with minimal configuration and easily extend its capabilities by adding new tools or modifying the prompts of the existing agents. How It Works The workflow uses an advanced agent-based model to process incoming messages: The Whatsapp Trigger node listens for and receives new messages sent to your WhatsApp Business number. The message is passed to the main Manager Agent. The Personal Agent analyzes the message to understand the user's intent (e.g., "send an email," "check my schedule," or just "hello"). Based on the intent, it routes the task to the appropriate sub-agent: the Email Tool, the Calendar Tool, or the general Chatbot Model. The selected sub-agent executes the task using its own dedicated tools (e.g., the Email Tool uses Gmail nodes to send a message). The result or response from the sub-agent is passed back to the Send message (WhatsApp) node, which delivers the reply to the user. Prerequisites An active n8n instance. A Meta Business Account and a configured Meta App with the "WhatsApp Business" product added. A Google Gemini API Key. A Google Account with pre-configured OAuth2 credentials in n8n for Gmail and Google Calendar. Step-by-Step Setup Guide 1. Configure WhatsApp Credentials: In your n8n instance, add new "WhatsApp Business" credentials. You will need a Permanent Access Token and a Phone Number ID from your Meta App's "WhatsApp > API Setup" dashboard. 2. Set Up the WhatsApp Trigger: Open the Whatsapp Trigger node. In the "Webhook URL" section, copy the Test URL. Go to your Meta App's dashboard under "WhatsApp > Configuration". Click "Edit" in the Webhooks section. Paste the n8n Test URL into the Callback URL field. Create and enter a Verify token (a simple password of your choice). Enter this same token in the Whatsapp Trigger node in n8n. Subscribe to the messages webhook event. Once verified, copy the Production URL from n8n and paste it into the same Callback URL field in the Meta dashboard. 3. Configure the Google Gemini Nodes: You must add your Google Gemini API Key to the credentials for all the Google Gemini Chat Model nodes. This includes the one in the Chatbot Model, Email Tool, and Calendar Tool. 4. Configure the Google Tools (Email & Calendar): Email Tool:* Open the group of nodes labeled *Email Tool**. For every Gmail node (Send Email, Create Draft, Get Labels, etc.), select your pre-configured Google OAuth2 credential. Calendar Tool:* Open the group of nodes labeled *Calendar Tool**. For every Google Calendar node (Create Event, Get all event, etc.), select your pre-configured Google OAuth2 credential. 5. Activate and Test: Save and activate the workflow. Send a message to your configured WhatsApp Business number.
by Drew Fabrikant
🎥 AI-Powered Inbound Video Agent: Auto-Respond to Leads with Personalized Videos Description: This workflow automates the first-touch response for inbound leads by creating and delivering a hyper-personalized video and follow-up email, all in seconds, using a powerful stack: n8n, Scout, HeyGen API, and OpenAI. How It Works (The Lead Journey): 📥 Form Trigger: Captures initial user inputs (name, email, address). 🔎 Data Enrichment (Scout): Instantly looks up lead details like property type, homeownership status, and household income. ✍️ Script Agent (GPT-5/LangChain): An AI agent writes a professional, 15-second outreach script, tailoring the message with three discussion paths based on the enriched Scout data. 🎬 Video Generation (HeyGen): Triggers an avatar video using the custom script. 📧 Delivery Logic: Waits for the video to complete, retrieves the final URL/thumbnail, and passes it to the next step. 🔗 Email Writer (GPT-4): Generates an HTML outreach email, embedding the video thumbnail and including a direct booking link (Calendly). 🚀 Send Email (Gmail Node): Sends the complete, personalized message to the inbound lead automatically. Key Integrations: Scout: Lead Data Enrichment HeyGen: AI Avatar Video Generation OpenAI (GPT-4/LangChain): Scriptwriting and Email Copy Gmail: Automated Email Delivery Setup Note: Ensure you have configured n8n credentials for HeyGen (httpHeaderAuth), Scout (HTTP Request header), OpenAI, and Gmail (OAuth2).
by Razvan Bara
How it works This workflow for trip weather forecasting is event-driven, starting when a calendar event is created or updated, and provides timely weather alerts and forecasts tailored to your travel dates and locations. Overall, this workflow efficiently integrates calendar travel plans with real-time and updated weather intelligence for ultimate travel preparedness and peace of mind. From the creator If you’re jetting off frequently, bouncing between time zones, juggling meetings, and squeezing every drop of life out of travel, you need this flow. This ain’t your grandma’s weather app. It’s a bulletproof system that scans your calendar, mines your trips, and delivers laser-targeted weather intel and urgent alerts, right when you need it. No more surprises**. No more scrambling**. Just real-time weather mastery that saves your schedule. You’re not just traveling: you’re dominating. This flow makes sure the only thing you worry about is your next move, not whether the weather’s gonna ruin it. Time to upgrade from a tourist to a boss. Step-by-step 📅 Google Calendar Triggers (Event Created/Updated): The workflow starts immediately upon creation or update of any calendar event, enabling real-time detection of new or changed travel plans. ✈ Identify Trips: Filters these calendar events to detect travel-related trips by matching keywords such as "trip," "flight," or "vacation" in titles or descriptions. 📍Extract Locations: Parses each trip event’s details to extract start and end dates and the trip destination from the summary/description/location fields. 🌐 Build interrogation URL: Constructs a Visual Crossing API request URL dynamically based on the extracted trip location and dates, including daily forecasts and alerts. Fetches the detailed weather forecast and alert data for the trip location and duration right after detecting the event. Formats the raw weather data into a readable summary 🌤️🌪🌀 including temperatures, precipitation probabilities, conditions, and eventual severe weather alerts. 📲 📧 Send Forecast: Sends the forecast summary with alerts via Telegram to keep the user informed instantly. ⌛One day before the trip: Pauses the workflow until exactly one day before the trip start date, ensuring a timely second fetch when more accurate or updated weather data is available and the updated forecast is sent. Optional You can replace the Telegram node with email, WhatsApp, Slack, SMS notifications, or add multiple notification nodes to receive them across all desired channels.
by David Olusola
📧 Auto-Send AI Follow-Up Emails to Zoom Attendees This workflow automatically emails personalized follow-ups to every Zoom meeting participant once the meeting ends. ⚙️ How It Works Zoom Webhook → Captures meeting.ended event + participant list. Normalize Data → Extracts names, emails, and transcript (if available). AI (GPT-4) → Drafts short, professional follow-up emails. Gmail → Sends thank-you + recap email to each participant. 🛠️ Setup Steps 1. Zoom App Enable meeting.ended event. Include participant email/name in webhook payload. Paste workflow webhook URL. 2. Gmail Connect Gmail OAuth in n8n. Emails are sent automatically per participant. 3. OpenAI Add your OpenAI API key. Uses GPT-4 for personalized drafting. 📊 Example Output Email Subject: Follow-Up: Marketing Strategy Session Email Body: Hi Sarah, Thank you for joining our Marketing Strategy Session today. Key points we discussed: Campaign launch next Monday Budget allocation approved Need design assets by Thursday Next steps: I'll follow up with the creative team and share the updated timeline. Best, David ⚡ With this workflow, every attendee feels valued and aligned after each meeting.
by Miha
This n8n template turns a small, targeted HubSpot list into tailored outreach. It scans each contact’s recent Gmail conversations, builds a lightweight persona with AI (tone, goals, pain points, decision style), then drafts a concise sales email aligned to your offer—saved to Gmail as a reviewable draft. Perfect for SDRs and founders who want personalization at scale without writing from scratch. This template was originally created by Jim Le. How it works Manual trigger** starts a controlled run. HubSpot search** pulls a focused list of contacts (e.g., hs_buying_role = DECISION_MAKER). Batch loop** processes contacts one by one. Gmail fetch** grabs up to 20 recent threads from each contact. AI persona extraction** (Information Extractor + Gemini) analyzes messages to capture: decision-making style, communication preferences, goals/motivations pain points, work style, personality traits, buying behavior, values, market awareness Variables node* sets core fields (first name, last name, email) and the *offer** you want to pitch. AI email generation* (Gemini) mirrors the contact’s tone and priorities; outputs *subject* + *HTML body**. Gmail draft** is created for the contact so a rep can skim, tweak, and send. How to use Connect HubSpot on the “Get Contacts” node and refine the filter to your segment. Connect Gmail on both read and draft nodes (same account recommended). Add Gemini key to both Gemini nodes. In Variables, update product_to_sell with your offer and confirm the contact field mappings. (Optional) Tweak the persona attributes or the email prompt for tone/length/CTA. Click Test workflow. Review drafts in Gmail, edit if needed, then send. Requirements HubSpot** (OAuth2) for contact targeting Gmail** (read + draft) Google Gemini** (API key) for persona + copy generation Notes & customization Tighter targeting:** Change the HubSpot filter (e.g., industry, territory, lifecycle stage) to keep the list small and measurable. Richer inputs:** Increase Gmail limit or include received/sent filters to capture more context (mind rate limits). Brand voice:** Add a short style guide to the email generator’s system prompt (e.g., sentence length, jargon rules, sign-off). Offer variants:** Replace product_to_sell per segment, or branch by industry to load different value props. Compliance & privacy:** Limit stored outputs to essentials; avoid copying sensitive content from threads verbatim. Auto-send option:** Swap the draft step for “send email” if you want hands-off delivery for known segments.
by rana tamure
Google Email Ice Breaker Workflow Description This n8n workflow automates the creation of personalized cold emails for dental clinics to promote an AI chatbot service. It retrieves verified email data from a Google Sheet, generates tailored email subject lines and bodies using OpenAI’s GPT-4o-mini model, processes the output, and updates the Google Sheet with the results. Designed for dental clinics or marketers, it streamlines outreach by crafting engaging, seemingly hand-researched emails that drive appointment bookings through an AI chatbot integration. Key Features Data-Driven Outreach: Pulls verified emails, company names, descriptions, and websites from a Google Sheet to create targeted emails. AI-Powered Email Generation: Uses OpenAI’s GPT-4o-mini to craft concise, persuasive, and personalized cold email content. Personalization: Shortens company names and locations (e.g., "San Fran" instead of "San Francisco") and references specific business details for a tailored feel. Batch Processing: Handles multiple prospects efficiently using a looping mechanism. Google Sheet Integration: Updates the sheet with generated email subjects, bodies, and a status marker for tracking. Customizable Prompts: Easily modify the AI prompt to adapt the tone or service offering for different industries. Requirements Credentials: Google Sheets OAuth2 API (for data access) and OpenAI API (for email generation). Setup: Configure a Google Sheet with columns for "EMAIL verified", "companyName", "description", "website", "category", "email subject", "body", and "email created". Ensure the sheet is accessible via your Google account. Dependencies: No external packages required; uses n8n’s built-in Google Sheets, OpenAI, and Code nodes. How It Works Trigger & Input: Starts manually (e.g., via "Test workflow") and retrieves data from a Google Sheet, filtering for rows where "category" is "Good" and "email created" is "no". Batch Processing: Loops over filtered rows to process each prospect individually. Email Generation: OpenAI generates a JSON output with a subject and body, personalized using the prospect’s company name, description, and website. Content Processing: A Code node cleans and parses the AI output, extracting the subject and body. Sheet Update: Updates the Google Sheet with the generated subject, body, and sets "email created" to "yes". Looping: Continues processing until all prospects are handled. Benefits Time Efficiency: Automates cold email creation, reducing manual effort from hours to minutes. Personalized Outreach: Crafts emails that feel deeply researched, increasing engagement rates. Scalability: Processes large lists of prospects in batches, ideal for high-volume campaigns. Tracking: Updates the Google Sheet to track which emails have been generated. Versatility: Adaptable for other industries by modifying the AI prompt or Google Sheet structure. Potential Customizations Prompt Adjustments: Tweak the OpenAI prompt to target different services (e.g., marketing tools, SaaS products) or industries. Filter Modifications: Change Google Sheet filters to target specific prospect categories or regions. Output Expansion: Add nodes to send emails directly or integrate with CRMs like HubSpot. Notifications: Include email or Slack notifications when the workflow completes.
by Matt Chong
Automatically Rename Gmail Attachments with AI and Save to Google Drive Who is this for? This workflow is perfect for anyone who regularly receives important email attachments like reports, invoices, or PDFs and wants them: Renamed using clean AI generated filenames Automatically saved to a specific Google Drive folder Neatly organized without manual work It is ideal for freelancers, business owners, accountants, and productivity enthusiasts. What does it solve? Manually naming and organizing email attachments takes time and often leads to messy files. This workflow solves that by: Automatically downloading unread Gmail attachments Using AI to understand the content and generate clean, consistent filenames Saving the renamed files to your chosen Google Drive folder Marking emails as read after processing No more confusing filenames like "Attachment 1.pdf". How it works The workflow runs on a scheduled interval (every hour by default) It checks Gmail for any unread emails with attachments. For each email: Downloads attachments Extracts and reads PDF content Uses AI to generate a new filename in the format: YYYYMMDD-keyword-summary.pdf Saves the file to Google Drive with the new name Marks the email as read to avoid duplicates How to set up? Connect these accounts in your n8n credentials: Gmail (OAuth2) Google Drive (OAuth2) OpenAI (API key) Update the folder URL in the Google Drive node to your target folder Optional: adjust the trigger interval if you want it to run more or less often How to customize this workflow to your needs Change the AI prompt to create different naming rules, such as including sender or topic Dynamically set Drive folders based on email sender or subject
by tsushima ryuto
Invoice Automation Kit: AI-Powered Invoice Processing and Weekly Reports This n8n workflow is designed to automate invoice processing and streamline financial management. It leverages AI to extract key invoice data, validate it, and store it in Airtable. Additionally, it generates and emails weekly spending reports. Who is it for? This template is for small businesses, freelancers, or individuals looking to save time on manual invoice processing. It's ideal for anyone who wants to improve the accuracy of their financial data and maintain a clear overview of their spending. How it Works / What it Does This workflow consists of two main parts: Invoice Data Extraction and Storage: Invoice Upload Form: Upload your invoices (PDF, PNG, JPG) via an n8n form. AI-Powered Data Extraction: AI extracts key information such as vendor name, invoice date, total amount, currency, and line items (description, quantity, unit price, total) from the uploaded invoice. Data Validation: The extracted data is validated to ensure it is complete and accurate. Store in Airtable: Validated invoice data is saved in a structured format to your specified Airtable base and table. Weekly Spending Report Generation and Email: Weekly Report Schedule: Automatically triggers every Sunday at 6 PM. Fetch Weekly Invoices: Retrieves all invoices stored in Airtable within the last 7 days. AI-Powered Spending Report Generation: Based on the retrieved invoice data, AI generates a comprehensive spending report, including total spending for the week, breakdown by vendor, top 5 expenses, spending trends, and any notable observations. Send Weekly Report Email: The generated report is sent in a professional format to the configured recipient email address. How to Set Up Update Workflow Configuration Node: Replace airtableBaseId with your Airtable Base ID. Replace airtableTableId with your Airtable Table ID. Replace reportRecipientEmail with the email address that should receive the weekly reports. Airtable Credentials: Set up your Airtable Personal Access Token credentials in the Airtable nodes. OpenAI Credentials: Set up your OpenAI API key credentials in the OpenAI Chat Model nodes. Email Credentials: Configure your email sending service (e.g., SMTP) credentials in the "Send Weekly Report Email" node and update the fromEmail. Airtable Table Setup: Ensure your Airtable has a table set up with appropriate columns to store invoice data, such as "Vendor", "Invoice Date", "Total Amount", "Currency", and "Line Items". Requirements An n8n instance An OpenAI account and API key An Airtable account and Personal Access Token An email sending service (e.g., SMTP server) How to Customize the Workflow Adjust Information Extraction**: Edit the prompt in the "Extract Invoice Data" node to include additional information you wish to extract. Customize Report**: Adjust the prompt in the "Generate Spending Report" node to change specific analyses or formatting included in the report. Add Notifications**: Incorporate notification nodes to other services like Slack or Microsoft Teams to be alerted when an invoice is uploaded or a report is ready. Modify Validation Rules**: Edit the conditions in the "Validate Invoice Data" node to implement additional validation rules. Here's a visual representation of the workflow.
by IranServer.com
Monitor VPS security with AI analysis via SSH and Telegram alerts This n8n template automatically monitors your VPS for suspicious processes and network connections using AI analysis. It connects to your server via SSH, analyzes running processes, and sends Telegram alerts when potential security threats are detected. Who's it for System administrators managing VPS/dedicated servers DevOps teams monitoring production environments Security-conscious users who want automated threat detection Anyone running services on Linux servers who wants proactive monitoring How it works The workflow runs on a scheduled basis and performs the following steps: SSH Connection: Connects to your VPS via SSH and executes system commands to gather process and network information Data Collection: Runs ps aux --sort=-%cpu,-%mem && ss -tulpn to capture running processes sorted by CPU/memory usage and active network connections AI Analysis: Uses OpenAI's language model to analyze the collected data for suspicious patterns, malware signatures, unusual network connections, or abnormal resource usage Structured Output: Parses AI responses into structured data identifying malicious and suspicious activities with explanations Alert System: Sends immediate Telegram notifications when malicious processes are detected Requirements SSH access** to your VPS with valid credentials OpenAI API key** for AI analysis (uses GPT-4 mini model) Telegram Bot** and chat ID for receiving alerts Linux-based VPS or server to monitor How to set up Configure SSH credentials: Set up SSH connection to your VPS in the "Execute a command" node Add OpenAI API key: Configure your OpenAI credentials in the "OpenAI Chat Model" node Set up Telegram bot: Create a Telegram bot and get the API token Get your Telegram chat ID Update the admin_telegram_id in the "Edit Fields" node with your chat ID Configure Telegram credentials in the "Send a text message" node Adjust schedule: Modify the "Schedule Trigger" to set your preferred monitoring frequency Test the workflow: Run a manual execution to ensure all connections work properly How to customize the workflow Change monitoring frequency**: Adjust the schedule trigger interval (hourly, daily, etc.) Modify analysis criteria**: Update the AI prompt in "Basic LLM Chain" to focus on specific security concerns Add more commands**: Extend the SSH command to include additional system information like disk usage, log entries, or specific service status Multiple servers**: Duplicate the SSH execution nodes to monitor multiple VPS instances Different alert channels**: Replace or add to Telegram with email, Slack, or Discord notifications Custom filtering**: Add conditions to filter out known safe processes or focus on specific suspicious patterns Good to know The AI model analyzes both running processes and network connections for comprehensive monitoring Each analysis request costs approximately $0.001-0.01 USD depending on system activity The workflow only sends alerts when malicious or suspicious activity is detected, reducing notification noise SSH commands require appropriate permissions on the target server Consider running this workflow from a secure, always-on n8n instance for continuous monitoring
by Matt Chong
Who is this for? If you’re overwhelmed with incoming emails but only want to be notified about the essentials, this workflow is for you. Perfect for busy professionals who want a short AI summary of new emails delivered directly to Slack. What does it solve? Reading every email wastes time. This workflow filters out the noise by: Automatically summarizing each unread Gmail email using AI Sending you just the sender and a short summary to Slack Helping you stay focused without missing key information How it works Every minute, the workflow checks Gmail for unread emails When it finds one, it: Extracts the email content Sends it to OpenAI’s GPT model for a 250-character summary Delivers the message directly to Slack How to setup? Connect your accounts: Gmail (OAuth2) OpenAI (API key or connected account) Slack (OAuth2) Edit the Slack node: Choose the Slack user/channel to send alerts to Optional: Adjust the AI prompt in the “AI Agent” node to modify the summary style Optional: Change polling frequency in the Gmail Trigger node How to customize this workflow to your needs Edit the AI prompt to: Highlight urgency Include specific keywords Extend or reduce summary length Modify the Slack message format (add emojis, tags, or links)
by Matt Chong
Who is this for? If you're going on vacation or away from work and want your Gmail to respond to emails intelligently while you're out, this workflow is for you. It's perfect for freelancers, professionals, and teams who want a smarter, more personal out-of-office reply powered by AI. What does it solve? No more generic autoresponders or missing urgent emails. This AI-powered workflow: Writes short, polite, and personalized replies while you're away. Skips replying to newsletters, bots, or spam. Helps senders move forward by offering an alternate contact. Works around your specific time zone and schedule. How it works The workflow runs on a schedule (e.g., every 15 minutes). It checks if you are currently out of office (based on your defined start and end dates). If you are, it looks for unread Gmail messages. For each email: It uses AI to decide if a reply is needed. If yes, it generates a short, friendly out-of-office reply using your settings. It sends the reply and labels the email to avoid duplicate replies. How to setup? In the Set node: Define your out-of-office start and end times in ISO 8601 format (e.g., 2025-08-19T07:00:00+02:00). Set your timezone (e.g., Europe/Madrid). Add your backup contact's name and email. In the Gmail nodes: Connect your Gmail account using OAuth2 credentials. Replace the label ID in the final Gmail node with your own label (e.g., "Auto-Replied"). In the Schedule Trigger node: Set how often the workflow should check for new emails (e.g., every 15 minutes). How to customize this workflow to your needs Adjust the prompt in the AI Agent node to change tone or add more rules. Switch to a different timezone or update the return dates as needed. This workflow ensures you stay professional, even while you're offline and saves you from coming back to an email mess.