351 templates found
Category:
Author:
Sort:

Chat with local LLMs using n8n and Ollama

Chat with local LLMs using n8n and Ollama This n8n workflow allows you to seamlessly interact with your self-hosted Large Language Models (LLMs) through a user-friendly chat interface. By connecting to Ollama, a powerful tool for managing local LLMs, you can send prompts and receive AI-generated responses directly within n8n. Use cases Private AI Interactions Ideal for scenarios where data privacy and confidentiality are important. Cost-Effective LLM Usage Avoid ongoing cloud API costs by running models on your own hardware. Experimentation & Learning A great way to explore and experiment with different LLMs in a local, controlled environment. Prototyping & Development Build and test AI-powered applications without relying on external services. How it works When chat message received: Captures the user's input from the chat interface. Chat LLM Chain: Sends the input to the Ollama server and receives the AI-generated response. Delivers the LLM's response back to the chat interface. Set up steps Make sure Ollama is installed and running on your machine before executing this workflow. Edit the Ollama address if different from the default.

Mihai FarcasBy Mihai Farcas
173016

AI: conversational agent with custom tool written in JavaScript

This workflow implements a custom tool via JavaScript code which returns a random color to users and excludes the given colors. Note that to use this template, you need to be on n8n version 1.19.4 or later.

n8n TeamBy n8n Team
51022

Notion knowledge base AI assistant

Who is this for This workflow is perfect for teams and individuals who manage extensive data in Notion and need a quick, AI-powered way to interact with their databases. If you're looking to streamline your knowledge management, automate searches, and get faster insights from your Notion databases, this workflow is for you. Itโ€™s ideal for support teams, project managers, or anyone who needs to query specific data across multiple records or within individual pages of their Notion setup. Check out the Notion template this Assistant is set up to use: https://www.notion.so/templates/knowledge-base-ai-assistant-with-n8n How it works The Notion Database Assistant uses an AI Agent built with Retrieval-Augmented Generation (RAG) to query this Knowledge Base style Notion database. The assistant can search across multiple properties like tags or question and retrieves content from inside individual Notion pages for additional context. Key features include: Querying the database with flexible filters. Searching within individual Notion pages and extracting relevant blocks. Providing a reference link to the exact Notion pages used to inform its responses, ensuring transparency and easy verification. This assistant uses two HTTP request toolsโ€”one for querying the Notion database and another for pulling data from within specific pages. It streamlines knowledge retrieval, offering a conversational, AI-driven way to interact with large datasets. Set up Find basic set up instructions inside the workflow itself or watch a quickstart video ๐Ÿ‘‡ [](https://www.youtube.com/watch?v=ynLZwS2Nhnc)

Max TkaczBy Max Tkacz
49131

Analyze tradingview.com charts with Chrome extension, n8n and OpenAI

This flow is supported by a Chrome plugin created with Cursor AI. The idea was to create a Chrome plugin and a backend service in N8N to do chart analytics with OpenAI. It's a good sample on how to submit a screenshot from the browser to N8N. Who is it for? N8N developers who want to learn about using a Chrome plugin, an N8N webhook and OpenAI. What opportunity does it present? This sample opens up a whole range of N8N connected Chrome extensions that can analyze screenshots by using OpenAI. What this workflow does? The workflow contains: a webhook trigger an OpenAI node with GPT-4O-MINI and Analyze Image selected a response node to send back the Text that was created after analysing the screenshot. All this is needed to talk to the Chrome extension which is created with Cursor AI. The idea is to visit the tradingview.com crypto charts, click the Chrome plugin and get back analytics about the shown chart in understandable language. This is driven by the N8N flow. With the new image analytics capabilities of OpenAI this opens up a world of opportunities. Requirements/setup OpenAI API key Cursor AI installed The Chrome extension. Download The N8N JSON code. Download How to customize it to your needs? Both the Chrome extension and N8N flow can be adapted to use on other websites. You can consider: analyzing a financial screen and ask questions about the data shown analyzing other charts extending the N8N workflow with other AI nodes With AI and image analytics the sky is the limit and in some cases it saves you from creating complex API integrations. Download Chrome extension

Hans BlaauwBy Hans Blaauw
42158

Intelligent email organization with AI-powered content classification for Gmail

This workflow leverages AI to intelligently analyze incoming Gmail messages and automatically apply relevant labels based on the email content. The default configuration includes the following labels: Newsletter: Subscription updates or promotional content. Inquiry: Emails requesting information or responses. Invoice: Billing and payment-related emails. Proposal: Business offers or collaboration opportunities. Action Required: Emails demanding immediate tasks or actions. Follow-up Reminder: Emails prompting follow-up actions. Task: Emails containing actionable tasks. Personal: Non-work-related emails. Urgent: Time-sensitive or critical communications. Bank: Banking alerts and financial statements. Job Update: Recruitment or job-related communications. Spam/Junk: Unwanted or irrelevant bulk emails. Social/Networking: Notifications from social platforms. Receipt: Purchase confirmations and receipts. Event Invite: Invitations or calendar-related messages. Subscription Renewal: Reminders for subscription expirations. System Notification: Technical alerts from services or systems. You can customize labels and definitions based on your specific use case. How it works: The workflow periodically retrieves new Gmail messages. Only emails without existing labels, regardless of read status, are sent to the AI for analysis. Email content (subject and body) is analyzed by an AI model to determine the appropriate label. Labels identified by the AI are applied to each email accordingly. Note: This workflow performs 100% better than the default Gmail trigger method, which is why the workflow was switched from Gmail trigger to a scheduled workflow. By selectively processing only unlabeled emails, it ensures comprehensive labeling while significantly reducing AI processing costs. Setup Steps: Configure credentials for Gmail and your chosen AI service (e.g., OpenAI). Ensure labels exist in your Gmail account matching the workflow definitions. Adjust the AI prompt to match your labeling needs. Optionally customize the polling interval (default: every 2 minutes). This workflow streamlines your email management, keeping your inbox organized effortlessly while optimizing resource usage.

Niranjan GBy Niranjan G
41196

Track SEO keyword rankings with Bright Data MCP and GPT-5.2 AI analysis

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow automatically monitors keyword rankings across search engines to track SEO performance and identify optimization opportunities. It saves you time by eliminating the need to manually check keyword positions and provides comprehensive ranking data for strategic SEO decision making. Overview This workflow automatically scrapes search engine results pages (SERPs) to track keyword rankings, competitor positions, and search features. It uses Bright Data to access search results without restrictions and AI to intelligently parse ranking data, track changes, and identify SEO opportunities. Tools Used n8n: The automation platform that orchestrates the workflow Bright Data: For scraping search engine results without being blocked OpenAI: AI agent for intelligent ranking analysis and SEO insights Google Sheets: For storing keyword ranking data and tracking changes How to Install Import the Workflow: Download the .json file and import it into your n8n instance Configure Bright Data: Add your Bright Data credentials to the MCP Client node Set Up OpenAI: Configure your OpenAI API credentials Configure Google Sheets: Connect your Google Sheets account and set up your ranking tracking spreadsheet Customize: Define target keywords and ranking monitoring parameters Use Cases SEO Teams: Track keyword performance and identify ranking improvements Content Marketing: Monitor content ranking success and optimization needs Competitive Analysis: Track competitor keyword rankings and strategies Digital Marketing: Measure organic search performance and ROI Connect with Me Website: https://www.nofluff.online YouTube: https://www.youtube.com/@YaronBeen/videos LinkedIn: https://www.linkedin.com/in/yaronbeen/ Get Bright Data: https://get.brightdata.com/1tndi4600b25 (Using this link supports my free workflows with a small commission) n8n automation keywordrankings seo searchrankings brightdata webscraping seotools n8nworkflow workflow nocode ranktracking keywordmonitoring seoautomation searchmarketing organicseo seoresearch rankinganalysis keywordanalysis searchengines seomonitoring digitalmarketing serp keywordtracking seoanalytics searchoptimization rankingreports keywordresearch seoinsights searchperformance

Yaron BeenBy Yaron Been
37977

Load and summarize Google Drive files with AI

This workflow includes advanced features like text summarization and tokenization, it's ideal for automating document processing tasks that require parsing and summarizing text data from Google Drive. To use this template, you need to be on n8n version 1.19.4 or later.

n8n TeamBy n8n Team
33617

Content farming - : AI-powered blog automation for WordPress

==๐Ÿ”ฅ Upgrade to V4== Weโ€™ve released Version 4 of our AI Powered Blog Automation workflow. We heard your complains and made a complete redesign built for serious content creators. ChatGPT 5, Inbound Links, Verified Outbound Links,YOAST seo integration, Company profile, higher SEO ranking, banner images using companys mascot, FAQ sections and conclusions, 35% cost reduction, ๐Ÿ“ Read the New Articles published by Content Farming v4 ๐Ÿ›’ View the updated and improved v4 workflow Content Farming V2 AI Powered Blog Automation for WordPress This workflow automatically generates and publishes 10 blog posts per day to a WordPress site. It collects tech-related news articles, filters and analyzes them for relevance, expands them with research, generates SEO-optimized long-form articles using AI, creates a matching image using Leonardo AI, and publishes them via the WordPress REST API. Every step is tracked and stored in MongoDB for reference and performance tracking. You can see the demo results for the AI based articles here: Emp0 Articles How it works A scheduler runs daily to fetch the latest news from RSS feeds including BBC, TechCrunch, Wired, MIT Tech Review, HackerNoon, and others. The RSS data is normalized and filtered to include only articles published within the past 24 hours. Each article is passed through an OpenAI-powered classifier to check for relevance to predefined user topics like AI, robotics, or tech policy. Relevant articles are then aggregated, researched, and summarized with supporting sources and citations. An AI agent generates five long-tail SEO blog title ideas, ranks them by uniqueness and performance score, and selects the top one. A blog outline is created including H1 and H2 headers, keyword targeting, content structure, and featured snippet optimization. A full-length article (1000 to 1500 words) is generated based on the outline, with analogies, citations, examples, and keyword density maintained. SEO metadata is produced including meta title, description, image alt text, slug, and a readability audit. An AI-generated image is created based on the blog theme using Leonardo AI, enhanced for emotional storytelling and visual consistency. The blog article, metadata, and image are uploaded to WordPress as a draft, the image is attached, Yoast SEO metadata is set, and the article is published. All outputs including article versions, metadata, generation steps, and final blog URLs are stored in MongoDB to allow for future analytics and feedback. Requirements To run this project, you need accounts and API access for the following: | Tool | Purpose | Notes | |--------------|------------------------------------------------------------------|-----------------------------------------------------------------------| | OpenAI | Used for blog classification, generation, summarization, SEO | Around $0.20 per day, using GPT-4o-mini. Estimated monthly: $6 | | MongoDB | Stores data flexibly including drafts, titles, metadata, logs | Free tier on MongoDB Atlas offers 512 MB, enough for 64,000 articles | | Leonardo AI | Generates featured images for blog articles | $9 for 3500 credits, $5 monthly top-up needed for 300 images | | WordPress | Final publishing platform via REST API | Hosted on Hostinger for $15/year including domain | Setup Instructions Import the provided JSON file into your n8n instance. Configure these credentials in n8n: OpenAI API key MongoDB Atlas connection string HTTP Header Auth for Leonardo AI WordPress REST API credentials Modify the classifier and prompt nodes to reflect your preferred content themes. Adjust scheduler nodes if you want to change post frequency or publishing times. Run the n8n instance continuously using Docker, PM2, or hosted automation platform. Cost Estimate | Component | Daily Usage | Monthly Cost Estimate | |---------------|------------------------------|------------------------| | OpenAI | 10 posts per day | ~$6 | | Leonardo AI | 10 images per day (15 credits each) | ~$14 (9 base + 5 top-up) | | MongoDB | Free up to 512 MB | $0 | | WordPress | Hosting and domain | ~$1.25 | | Total | | ~$21/month | Observations and Learnings This system can scale daily article publishing with zero manual effort. However, current limitations include inconsistent blog length and occasional coherence issues. To address this, I plan to build a feedback loop within the workflow: An SEO Commentator Agent will assess keyword strength, structure, and discoverability. An Editor-in-Chief Agent will review tone, clarity, and narrative structure. Both agents will loop back suggestions to the content generator, improving each draft until it meets human-level standards. The final goal is to consistently produce high-quality, readable, SEO-optimized content that is indistinguishable from human writing.

Jay Emp0By Jay Emp0
30205

WebSecScan: AI-powered website security auditor

WebSecScan: AI-Powered Website Security Auditor This n8n workflow provides comprehensive website security analysis by leveraging OpenAI's models to detect vulnerabilities, configuration issues, and security misconfigurations. The workflow generates a professional HTML security report delivered directly via Gmail. Key Features Dual-Layer Security Analysis: Performs parallel security audits using specialized OpenAI agents: Header Configuration Audit: Analyzes HTTP headers, CORS policies, CSP implementation, and cookie security Vulnerability Assessment: Identifies XSS vectors, information disclosure, and client-side weaknesses Detailed Security Grading: Automatically calculates a security grade (A+ to F) based on findings severity and quantity Professional Report Generation: Creates a comprehensive HTML report with: Security grade visualization Color-coded vulnerability categories Detailed recommendations with example configuration fixes Header presence/absence indicators Implementation guidance for remediation Non-Invasive Testing: Performs analysis without active scanning or exploitation attempts Technical Implementation Multi-Agent Architecture: Utilizes two specialized OpenAI agents with custom prompts tailored for security analysis Advanced Header Analysis: Detects presence and proper implementation of critical security headers: Content-Security-Policy Strict-Transport-Security X-Content-Type-Options X-Frame-Options Referrer-Policy Permissions-Policy Intelligent Issue Detection: Uses JavaScript processing to analyze OpenAI outputs and count critical/warning issues Responsive HTML Report: Dynamically generates a mobile-friendly report with detailed findings and recommendations Setup Requirements OpenAI API Configuration Create an OpenAI API key at platform.openai.com In n8n, go to Settings โ†’ Credentials โ†’ New โ†’ OpenAI API Enter your API key and save Gmail Integration Navigate to Settings โ†’ Credentials โ†’ New โ†’ Gmail OAuth2 API Complete the OAuth authentication flow Configure recipient email in the "Send Security Report" node Workflow Customization (Optional) Modify the form title/description in the Landing Page node Upgrade from gpt-4o-mini to gpt-4o for more comprehensive analysis Add additional recipients to the email report Usage Instructions Activate the workflow and access the form via the generated URL Enter any website URL to analyze (including the http:// or https:// prefix) Receive a detailed security report via email within minutes Share findings with your development team to implement fixes --- This workflow represents a non-invasive security assessment tool. For production environments, complement with professional penetration testing services.

Dale DunlopBy Dale Dunlop
29487

Auto-create and publish AI social videos with Telegram, GPT-4 and Blotato

Auto-create and publish AI social videos with Telegram, GPT-4 and Blotato > โš ๏ธ Disclaimer: This workflow uses Community Nodes and must be run on a self-hosted instance of n8n. Who is this for? This template is perfect for social media managers, content creators, AI enthusiasts, and automation pros who want to generate short-form videos (Reels) from a simple Telegram message, then publish them across multiple platformsโ€”all without video editing or manual uploads. What problem is this workflow solving? Creating content is only half the job. The real bottleneck comes in: Rendering the video, Adding voice or music, Writing captions and titles, Publishing to multiple platforms. This workflow automates all of that using AI. It saves hours every week and guarantees consistent output. What this workflow does This end-to-end automation handles everything from AI video generation to social publishing: Starts with a Telegram message (text or image prompt) Generates video using Kling or Blotato, based on the input Creates music with Piapi and merges it with the video Generates text overlays and captions with GPT-4 Builds a stylized video using JSON2Video Logs results to Google Sheets Sends final output back to Telegram Auto-posts the video to 9 platforms via Blotato (Instagram, TikTok, YouTube, Facebook, LinkedIn, Threads, Twitter/X, Pinterest, Bluesky) Setup Connect your Telegram bot to the trigger node. Add your OpenAI API key for all GPT nodes. Set up Kling and Piapi API access (for video and music generation). Connect your Cloudinary account to upload images. Link a Google Sheet with columns: Title, Caption, URL. Set your Blotato API key and fill in the platform-specific account IDs. How to customize this workflow to your needs Change prompt formatting to control GPT responses and video tone. Edit text styling in JSON2Video to match your brand. Add a Telegram approval step before publishing, if needed. Disable platforms you donโ€™t use by deleting their HTTP Request nodes. Use a Google Sheet filter to only process new rows or drafts. ๐Ÿ“„ Documentation: Notion Guide

Dr. FirasBy Dr. Firas
28389

Generate monthly financial reports with Gemini AI, SQL, and Outlook

๐Ÿš€ AI-Powered Business Performance Reporting Automation Unlock executive-level insights with ZERO manual work! This n8n template empowers you to automate your entire monthly business performance reporting using dynamic SQL queries, AI-driven analysis, and beautiful HTML dashboards โ€” all delivered directly to your inbox. --- ๐ŸŽฏ What This Automation Does ๐Ÿ“† Triggers automatically every month (5th of each month) ๐Ÿงฎ Fetches financial data from SQL (ERPNext or any database) ๐Ÿ” Loops over cost centers to analyze each business unit individually ๐Ÿ“Š Generates Profit & Loss reports, WIP, Employee stats, and vertical breakdowns ๐Ÿค– Uses Google Gemini 2.5 AI to perform advanced financial analysis ๐Ÿ’Œ Delivers a polished HTML report to your email inbox ๐Ÿ”ง Fully modular โ€“ replace data source with Excel, Google Sheets, or APIs --- ๐Ÿง‘โ€๐Ÿซ Step-by-Step Video Tutorial ๐ŸŽฅ Watch the full tutorial on YouTube: [](https://youtu.be/yatQpQZLqg4) ๐Ÿ“Œ Learn how each node works and see the AI-generated report in action. --- ๐ŸŒ Useful Links ๐Ÿ”— Sign up for n8n Cloud (recommended for non-tech users): ๐Ÿ‘‰ https://n8n.syncbricks.com ๐Ÿ“˜ Download the step-by-step Guidebook (Free): ๐Ÿ‘‰ https://lms.syncbricks.com/books/n8n ๐Ÿ“š Explore the full course on n8n (includes templates, workflows, and AI integrations): ๐Ÿ‘‰ https://lms.syncbricks.com/courses/n8n --- ๐Ÿ›  Requirements โœ… n8n (Self-hosted or Cloud) โœ… SQL Database (MySQL / PostgreSQL / ERPNext) โœ… Microsoft Outlook or Gmail (to send the report) โœ… Gemini API Key (for AI analysis) โœ… Basic understanding of your data schema --- ๐Ÿ’ก Why Use This Template? โฑ Saves 2-3 days of manual work every month ๐Ÿ“ˆ Improves financial visibility across business units ๐Ÿค Great for CFOs, COOs, Finance Analysts, and BI teams ๐Ÿ”„ Scales across multiple divisions and companies ๐Ÿง  Leverages AI for actionable insights and recommendations --- ๐Ÿงฉ Customize It Your Way Replace the SQL nodes with: Excel / Google Sheets Airtable / APIs Custom Applications Swap the AI model: OpenAI GPT Claude DeepSeek Adjust the report structure or HTML style --- ๐Ÿ™Œ Get Started Now ๐ŸŽฏ Import the JSON template โ†’ Connect your data โ†’ Receive business insights via email. Donโ€™t let manual reporting slow down your decision-making. ๐Ÿ‘‰ Sign up for n8n Cloud ๐Ÿ‘‰ Learn n8n with Amjid ๐Ÿ‘‰ Download Guide --- Created by Amjid Ali | SyncBricksโ„ข โ€“ Automation for Everyone

Amjid AliBy Amjid Ali
20902

โšก๐Ÿ“ฝ๏ธ Ultimate AI-powered chatbot for YouTube summarization & analysis

๐ŸŽฅ YouTube Video AI Agent Workflow This n8n workflow template allows you to interact with an AI agent that extracts details and the transcript of a YouTube video using a provided video ID. Once the details and transcript are retrieved, you can chat with the AI agent to explore or analyze the video's content in a conversational and insightful manner. ๐ŸŒŸ How the Workflow Works ๐Ÿ”— Input Video ID: The user provides a YouTube video ID as input to the workflow. ๐Ÿ“„ Data Retrieval: The workflow fetches essential details about the video (e.g., title, description, upload date) and retrieves its transcript using YouTube's Data API and additional tools for transcript extraction. ๐Ÿค– AI Agent Interaction: The extracted details and transcript are processed by an AI-powered agent. Users can then ask questions or engage in a conversation with the agent about the video's content, such as: Summarizing the transcript. Analyzing key points. Clarifying specific sections. ๐Ÿ’ฌ Dynamic Responses: The AI agent uses natural language processing (NLP) to generate contextual and accurate responses based on the video data, ensuring a smooth and intuitive interaction. --- ๐Ÿš€ Use Cases ๐Ÿ“Š Content Analysis: Quickly analyze long YouTube videos by querying specific sections or extracting summaries. ๐Ÿ“š Research and Learning: Gain insights from educational videos or tutorials without watching them entirely. โœ๏ธ Content Creation: Repurpose transcripts into blogs, social media posts, or other formats efficiently. โ™ฟ Accessibility: Provide an alternative, text-based way to interact with video content for users who prefer reading over watching. --- ๐Ÿ› ๏ธ Resources for Getting Started Google Cloud Console (for API setup): Visit Google Cloud's Get Started Guide to configure your API access. YouTube Data API Key Setup: Follow this guide to create and manage your YouTube Data API key. Install n8n Locally: Refer to this installation guide for setting up n8n on your local machine. --- โœจ Sample Prompts "Tell me about this YouTube video with id: JWfNLF_g_V0" "Can you provide a list of key takeaways from this video with id: [youtube-video-id]?"

Joseph LePageBy Joseph LePage
19423