Automation library · AI assistants

Turn a YouTube channel into a second brain with Neo4j GraphRAG

Started by someone opening a chat with it, and works across Apify. It puts OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 19 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenRouterRetrieval

19 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 2Model 10Logic 2Service 5

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

  1. 14.1 miniLm Chat Open RouterModel
  2. 24o miniLm Chat Open RouterModel
  3. 3sonnet 3.5Lm Chat Open RouterModel
  4. 4When chat message receivedChat triggerStarts it
  5. 54oLm Chat Open RouterModel
  6. 6sonnet 4.5Lm Chat Open RouterModel
  7. 7Simple MemoryMemory Buffer WindowModel
  8. 8neo4j_queryHttp Request ToolService
  9. 9Wich creator ? How many videos ?Form triggerStarts it
  10. 10ParseurOutput Parser StructuredModel
  11. 11Catégorie définition AgentAgentModel
  12. 12AI AgentAgentModel
  13. 13Get channel videos URLsApifyService
  14. 14Vers Neo4jHttp RequestService
  15. 15Respond to ChatChatModel
  16. 16loop each videoSplit In BatchesLogic
  17. 17ResultsFormService
  18. 18Scraping of each URLsApifyService
  19. 19IfIfLogic

How it's built

Starts on
Someone opening a chat with it
Steps
19, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Apify
Model
OpenRouter
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 Apify account, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls OpenRouter. 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?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

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 19 steps before you point it at anything that matters.