Use this powerful n8n workflow to turn your Confluence pages into an AI-powered chatbot. Deploy intelligent Q&A powered by RAG, memory, and OpenAI integration.
Download this n8n workflow template and start using it instantly.
Information silos make finding crucial documentation difficult. This n8n workflow solves this by transforming specific Confluence pages into a dedicated Retrieval-Augmented Generation (RAG) knowledge base. By integrating an interactive n8n trigger with the power of OpenAI, the system can instantly search, retrieve, process, and summarize complex documentation into conversational answers. This particular n8n workflow is designed to maintain conversation history using memory nodes and delivers the final output via Telegram, making it a highly accessible and actionable solution for immediate internal support.
This automation initiates with the 'When chat message received' n8n trigger, which captures the user's question and session ID, essential for maintaining context throughout the n8n workflow.
gpt-4o-mini language model and the 'Window Buffer Memory' n8n node, ensuring the chatbot remembers previous parts of the conversation. The AI is strictly instructed to answer only based on the Confluence context provided.To deploy this specialized n8n workflow template, follow these steps:
gpt-4o-mini n8n node.TELEGRAMCHATID or replace the expression in the Telegram n8n node parameter. When chat message received (n8n trigger): The entry point. It's a manual chat trigger used in n8n templates designed for interactive AI agents, providing the initial user input and session ID.
Globals (Set n8n node): Holds pre-configured variables, specifically several Confluence page IDs (e.g., pageidn8n). This determines which document the AI will be querying.
Search By ID (HTTP Request n8n node): Queries the Confluence search API using the predefined page ID to confirm the page existence and retrieve necessary metadata.
Confluence Page Storage View (HTTP Request n8n node): Fetches the page content. Key configuration is the query parameter body-format: storage, ensuring we get the full, raw HTML content suitable for parsing.
HTML to Markdown (Markdown n8n node): Essential pre-processing step. Converts the complex Confluence storage HTML into clean Markdown text, which significantly improves the quality of the context provided to the AI.
gpt-4o-mini (Language Model n8n node): The core intelligence, handling the heavy lifting of understanding the context and generating the answer.
Window Buffer Memory (Memory n8n node): Stores and retrieves previous turns in the conversation using the session ID, allowing the AI Agent to maintain conversational state within this complex n8n workflow.
AI Agent (Agent n8n node): The orchestrator. It receives the prepared context (from Markdown), the user question (from the n8n trigger), and the memory, applying system instructions to produce a grounded response.
Automate real-time WhatsApp translation for text and voice messages using this advanced n8n workflow. Integrates OpenAI and Groq Agents for multilingual communication.

Use this comprehensive n8n workflow to automate language learning flashcard creation. It translates vocabulary, uses GPT-4o to generate pinyin and examples, retrieves images via Pexels, and organizes all data in Google Sheets.

A powerful n8n workflow template utilizing AI Agents (GPT-4o) and dynamic configuration via Google Docs to generate, review, and publish platform-optimized content across X, Instagram, Facebook, and LinkedIn. Automate your social media strategy with this flexible n8n solution.

Automate reliable website content extraction using this advanced n8n workflow template. It manages asynchronous API jobs via status polling, leveraging the n8n node for conditional logic and wait times.

Build an AI Agent chatbot using this advanced n8n workflow template. It uses a custom n8n node to integrate Jina.ai web scraping for real-time information retrieval, powered by OpenAI's GPT-4o-mini.


As an AI Automation consultant based in Canada, I partner with forward-thinking organizations to implement AI solutions that streamline operations and drive growth.







































