Automation library · Content

Build comprehensive entity profiles with Wikipedia

Started by an event in a connected app, and works across Qdrant. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 27 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

27 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 18Logic 7

The steps in the order they run, from what starts it.

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2When Executed by Another WorkflowExecute Workflow triggerStarts it
  3. 3OpenAI Chat Model2Lm Chat Open AiModel
  4. 4OpenAI Chat Model4Lm Chat Open AiModel
  5. 5WikipediaTool WikipediaModel
  6. 6Character Text SplitterText Splitter Character Text SplitterModel
  7. 7Researcher InternetTool WorkflowModel
  8. 8Entity Search EmbeddingsEmbeddings OllamaModel
  9. 9Entity Search Embeddings 1Embeddings OllamaModel
  10. 10Entity ParserOutput Parser StructuredModel
  11. 11Validation ParserOutput Parser StructuredModel
  12. 12Entity Search Embeddings 2Embeddings OllamaModel
  13. 13Entity EmbeddingsEmbeddings OllamaModel
  14. 14Set NodeSetLogic
  15. 15Entity ResearcherAgentModel
  16. 16Validate EntityChain LlmModel
  17. 17Default Data LoaderDocument Default Data LoaderModel
  18. 18Entity SearchVector Store QdrantModel
  19. 19Entity Search 1Vector Store QdrantModel
  20. 20Entity Search 2Vector Store QdrantModel
  21. 21Save EntityVector Store QdrantModel
  22. 22Question AnsweredIfLogic
  23. 23Entity DefinedIfLogic
  24. 24Entity Search SuccessfulIfLogic
  25. 25Entity ExistsIfLogic
  26. 26Merge1MergeLogic
  27. 27MergeMergeLogic

How it's built

Starts on
An event in a connected app
Steps
27, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Qdrant
Model
OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Qdrant account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.