Build comprehensive entity profiles with GPT-4, Wikipedia & vector DB for content
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Wikipedia, Qdrant Vector Store and Embeddings Ollama.
How it runs
Trigger: When another workflow calls it (plus 1 other trigger).
- Set Node (Edit Fields (Set)): sets 6 fields: entity, topic, audience…
- Entity Search (Qdrant Vector Store): searches the Qdrant vector store, with embeddings: Entity Search Embeddings
- Entity Search Successful (If): checks a condition and branches into true / false
- Entity Researcher (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Wikipedia, Entity Search, Researcher Internet); output parser: Entity Parser
- Question Answered (If): checks a condition and branches into true / false
- Validate Entity (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Validation Parser
- Merge: merges the data from its input branches
- Entity Defined (If): checks a condition and branches into true / false
- Entity Search (Qdrant Vector Store): searches the Qdrant vector store, with embeddings: Entity Search Embeddings
- Merge: merges the data from its input branches
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (15)
- Manual Trigger
n8n-nodes-base.manualTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Merge
n8n-nodes-base.merge - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Ollama
@n8n/n8n-nodes-langchain.embeddingsOllama - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
This n8n template demonstrates how to build an intelligent entity research system that automatically discovers, researches, and creates comprehensive profiles for business entities, concepts, and terms. Use cases are many: Try automating glossary creation for…