Automation library · Research and reporting

Community insights with Qdrant and Python

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

LargeCalls a model: OpenAIRetrieval

23 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 6Logic 10Service 5

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Embeddings OpenAIEmbeddings Open AiModel
  3. 3Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  4. 4OpenAI Chat ModelLm Chat Open AiModel
  5. 5Execute Workflow TriggerExecute Workflow triggerStarts it
  6. 6Set VariablesSetLogic
  7. 7Qdrant Vector StoreVector Store QdrantModel
  8. 8Default Data LoaderDocument Default Data LoaderModel
  9. 9Information ExtractorInformation ExtractorModel
  10. 10Set Variables1SetLogic
  11. 11Clear Existing CommentsHttp RequestService
  12. 12Prep Values For TriggerSetLogic
  13. 13Prep Output For ExportSetLogic
  14. 14Find CommentsHttp RequestService
  15. 15Hacker NewsHacker NewsService
  16. 16Trigger InsightsExecute WorkflowLogic
  17. 17Export To SheetsGoogle SheetsService
  18. 18Apply K-means Clustering AlgorithmCodeLogic
  19. 19Get CommentsSetLogic
  20. 20Clusters To ListSplit OutLogic
  21. 21Split OutSplit OutLogic
  22. 22Only Clusters With 3+ pointsFilterLogic
  23. 23Get Payload of PointsHttp RequestService

How it's built

Starts on
An event in a connected app
Steps
23
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, 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 Google Sheets and Qdrant accounts, 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 23 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 23 steps before you point it at anything that matters.