workflows.fit
Back to n8n workflows
n8n templateFreeBy Vigh Sandor

Monitor emails & send AI-generated auto-replies with Ollama & Telegram alerts

Workflow Overview This advanced n8n workflow provides intelligent email automation with AI-generated responses. It combines four core functions: 1. Monitors incoming emails via IMAP (e.g., SOGo) 2. Sends instant Teleg...

CommunicationHITLCore NodesAILangchainNo OpTelegramIf
Loading interactive preview...

Template notes

Workflow Overview

This advanced n8n workflow provides intelligent email automation with AI-generated responses. It combines four core functions: 1. Monitors incoming emails via IMAP (e.g., SOGo) 2. Sends instant Telegram notifications for all new emails 3. Uses AI (Ollama LLM) to generate contextual, personalized auto-replies 4. Sends confirmation notifications when auto-replies are sent

Unlike traditional auto-responders, this workflow analyzes email content and creates unique, relevant responses for each message.

---

Setup Instructions

Prerequisites

Before setting up this workflow, ensure you have: - An n8n instance (self-hosted or cloud) with AI/LangChain nodes enabled - IMAP email account credentials (e.g., SOGo, Gmail, Outlook) - SMTP server access for sending emails - Telegram Bot API credentials - Telegram Chat ID where notifications will be sent - Ollama installed locally or accessible via network (for AI model) - The llama3.1 model downloaded in Ollama

Step 1: Install and Configure Ollama