Skip to main content

Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot

Workflow preview

Workflow preview
100%
Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Basic AI Chatbot that Retrieves Answers From Knowledge Base Using GraphRAG. Easiest setup, without vector database, external knowledge base, or OpenAI API keys. All you need is an [InfraNodus graph...

Best for

  • Support Chatbot automation workflows
  • AI RAG automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-infranodus.infranodus, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.chat, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by InfraNodus.

Original n8n.io source

1.1 Workflow description

Title
Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot
Workflow name
Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot

Basic AI Chatbot that Retrieves Answers From Knowledge Base Using GraphRAG.

Easiest setup, without vector database, external knowledge base, or OpenAI API keys. All you need is an InfraNodus graph with your knowledge.


In this workflow, user sends a request to the InfraNodus GraphRAG system that will extract a reasoning ontology from a graph that you create (or that you can copy from our repository of public graphs) and generate a response directly to the user.

How it works

  1. Receives a request from a user (via n8n or a publicly available URL chat bot if you replace the Chat Trigger with a webhook connected to the embeddable n8n Chat Widget that you can expose via a URL or add to any website.
  2. Sends the request to the knowledge graph in your InfraNodus account that contains a reasoning ontology represented as a knowledge graph. You can also use a standard graph — InfraNodus will use its underlying GraphRAG technology to generate the most relevant response.
  3. Sends the answer back to the user via chat or webhook (which is then delivered back via n8n chat widget

Note: This is a simple example that will work well for occasionally providing responses to users. For a more advanced setup, you might want to build a more sophisticated workflow with AI agent node that would orchestrate among different InfraNodus expert graphs and chat memory, so the context of the conversation can be maintained. See our other workflows for examples.

How to use

• Just get an InfraNodus API key and add API authentication to your InfraNodus GraphRAG node.

• In the same InfraNodus GraphRAG Nnode, provide the name of the graph you want to u. Note, these can be two different graphs ife for retrieval.

Support

If you wan to create your own reasoning ontology graphs, please, refer to this article on generating your own knowledge graph ontologies.

You may also be interested to watch this video that explains the logic of this approach in detail:

Help article on this specific workflow: Building expert ontology for InfraNodus GraphRAG n8n expert node.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get a response from knowledge base

Type / Role
n8n-nodes-infranodus.infranodus - infranodus
Config choices
Version 1

Block 2 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.3

Block 3 - Respond to Chat

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1

Block 4 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 5 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 6 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot
Complexity intermediate
Nodes 9
Categories Support Chatbot, AI RAG
Author InfraNodus
Published 06 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11570/11570.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot do?

Basic AI Chatbot that Retrieves Answers From Knowledge Base Using GraphRAG. Easiest setup, without vector database, external knowledge base, or OpenAI API keys. All you need is an [InfraNodus graph...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.