n8n Workflow Templates & Automations
Posted .
n8n is a no-code automation tool that can be used together with InfraNodus GraphRAG API to build LLM workflow with expert knowledge and reasoning capabilities. We offer several templates for n8n - InfraNodus integrations that can be used to add expert knowledge to your AI agents: helping improve the reasoning of your LLMs, detect content gaps, generate content to bridge those gaps, and provide better context for user queries.
The most basic example of an n8n workflow with InfraNodus is using the HTTP node with the `graphAndAdvice` API endpoint to generate an instant response to the user's query:

Under the hood, InfraNodus generates a knowledge graph both for the user query and the context provided (whether you're sending a full text with each query or using your existent InfraNodus knowledge graph):

Such representation (also referred to as GraphRAG) allows InfraNodus to have a better understanding of the reasoning chains you want to be used in your LLM workflows. It also has a better general understanding of the context as it has information about the main topical clusters found in the original text as well as the content gaps that can be used to generate highly relevant original insights. Standard RAG (and even the most advanced chatbots with extended context windows) will usually provide very generic responses that do not take the context and specifics into account.
You can access InfraNodus n8n workflow templates at:
• our GitHub repo n8n-infranodus-workflow-templates
(the most up-to-date workflows, constantly updated)
• the n8n website: n8n-infranodus-workflow-templates
(verified workflows with complete descriptions, updated every month by n8n team)
Building a Panel of Experts with InfraNodus and n8n
Our most popular workflow is using the HTTP node with the `graphAndAdvice` API endpoint to augment n8n AI agent node with expert knowledge. Every time a query is received, it is sent to one or several "experts" — the InfraNodus HTTP nodes that are linked to specific knowledge graphs saved in your account. These expert nodes then provide concrete reasoning logic (or relevant content) back to the AI agent, which uses it to augment its response:

You can see an example of such workflow on the n8n website: AI Chatbot Agent with a Panel of Experts Using InfraNodus GraphRAG Knowledge
A variation of this workflow is a similar structure where the expert node is used not to provide the actual content, but, rather the reasoning logic that can be used to augment the response to the user's query. This is achieved through modifying the prompt in the AI agent and also using a reasoning ontology graph instead of the plain text one. Such graphs are more scarce but provide higher quality information about the reasoning logic that should be used in answering user's query. You can learn more about this approach in our support article Using Knowledge Graphs as Reasoning Experts support article.
Prompt Augmentation using GraphRAG in n8n
You can also use InfraNodus to augment user prompts in n8n workflows. This can be especially interesting if you want to use your existing ontology to augment the original prompt with some additional information (or logic) and then send the augmented request to a knowledge base. We find this approach works very well for cross-displinary research worklows where you need to use a specific approach from one field to generate the insights for another field.

Finding Content Gaps to Generate Insights and Content Ideas
InfraNodus builds a knowledge graph from any text. You can use it to process a collection of research papers or competitors' websites and have it generate the main topical clusters and — most importantly — the gaps between them. You can then target these gaps to generate new ideas that will be relevant (because they touch upon the existing topics) and novel (because they connect them in a new way). This approach follows our cognitive variabilty framework which proposes to use the gaps in a knowledge network to help with generating new insights, especially in the fields that are already dense with ideas.

Learn More about n8n x InfraNodus Workflows
Our support portal has multiple examples for various use cases with detailed video tutorials:
• AI RAG, GraphRAG and LLM Workflows
• Using InfraNodus Knowledge Graphs as Experts for AI Chatbot Agents in n8n
• Find Content Gaps in Websites, Market Research and SEO n8n Workflow
• Build a Custom Knowledge Base Graph-RAG AI Chatbot with n8n
and more...
Try It Yourself
You can try the InfraNodus n8n workflow templates after you sign up for an account and get an API key.
Log In Sign Up
View InfraNodus Workflow Templates on n8n
Get API Documentation GitHub Workflow Templates