Lightweight AI Chatbot with InfraNodus Knowledge Base - n8n Workflow

Deploy a lightweight AI chatbot instantly using an n8n workflow connected to InfraNodus. Leverage your knowledge graph for accurate, context-aware AI responses.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Knowledge managers needing a public QA interface based on curated data.
Developers looking for minimal setup RAG (Retrieval-Augmented Generation) systems using an efficient n8n node structure.
Users who want to build custom n8n templates for specific AI interaction use cases.
n8n users exploring specialized AI knowledge base integrations without complex setup.

Overview

This automation solves the common challenge of quickly deploying a knowledge-aware chatbot. Instead of relying on complex infrastructure, this n8n workflow uses the straightforward n8n Form Trigger to capture user questions and routes them directly to an existing InfraNodus knowledge graph via an HTTP Request n8n node. This approach ensures you receive lightning-fast, highly context-aware AI responses based solely on your curated data. This specific n8n template is designed for maximum efficiency, offering a ready-to-use, powerful AI assistant.

How it Works

The entire process is streamlined into three key steps within this n8n workflow:


  1. Form Submission (n8n trigger): The process begins when a user accesses the publicly exposed form generated by the On form submission n8n trigger. The user inputs their question into the 'Your message' textarea.

  2. Knowledge Retrieval and AI Response: The user input is passed to the AI Response n8n node (an HTTP Request). This n8n node securely sends the prompt to the InfraNodus API, specifying the name of the custom knowledge graph to use. InfraNodus handles the RAG process, generating an advice based on the graph's content.

  3. Display Completion: Finally, the Form n8n node displays the result. It uses an expression to pull the generated AI advice text ({{ $json.aiAdvice[0].text }}) from the API response and presents it as the final answer to the user who initiated the n8n workflow execution.

Installation Guide

To deploy this n8n workflow and create your AI chatbot, follow these steps:


  1. Import: Import the provided JSON into your n8n instance.

  2. InfraNodus Credential: You must set up an HTTP Bearer Authentication credential named 'InfraNodus Expert' (or update the credential reference in the AI Response n8n node) using your personal InfraNodus API key.

  3. Configure Knowledge Base: In the AI Response n8n node (HTTP Request), ensure the name parameter in the body matches the exact name of the knowledge graph you created in InfraNodus (e.g., eightos_system). This is critical for the n8n workflow to access the correct knowledge.

  4. Activate and Share: Activate the n8n workflow. Copy the 'production' URL from the On form submission n8n trigger. This URL is your publicly accessible chatbot interface, demonstrating the power of n8n templates.

Node Details

On form submission (Form Trigger n8n node): This is the initiating n8n trigger. It creates a simple web form to capture user queries, labeled 'Your message'. It provides the public URL necessary to execute the n8n workflow externally.
AI Response (HTTP Request n8n node): Responsible for integrating with InfraNodus. Function: Sends the user's prompt dynamically using an expression (={{ $json['Your message'] }}) to the knowledge base API. Key Configuration: Uses HTTP Bearer Authentication and specifies the name of the target graph.


  • Form (Form n8n node): Used to render the final AI response back to the user in the browser. Function: Retrieves the contextual AI response from the preceding step's output. Key Configuration: Uses the completion operation and displays the value of {{ $json.aiAdvice[0].text }} as the chatbot's answer.

Related n8n Workflows

Free

Nodes: 4 Nodes
Updated: December 26 2025
View all
Created by

I'm Dmitry, the founder of InfraNodus — an AI text network analysis tool. I'm passionate about networks and data visualization and its ability to reveal what everyone else is missing and to highlight different perspectives. I'm sharing the n8n templates that make use of this unique capability of InfraNodus for multiple scenarios.

Featured*