- A support bot that answers questions from your help docs
- A research assistant that remembers everything you feed it from RSS feeds or web pages
- A sales helper that recalls what you know about a customer before a call
Install the Cognee node
The Cognee node is a free n8n community node:- Log in to your self-hosted n8n
- Go to Settings → Community Nodes
- Click Install, search for
n8n-nodes-cognee, and confirm
Don’t have n8n yet? Follow n8n’s Docker setup guide, then open n8n at
localhost:5678.Connect your Cognee account
- Sign in to Cognee Cloud and copy your Base URL and API key from the API Keys page
- In n8n, add the Cognee node to a workflow (click + and search for “cognee”)
- When asked for credentials, create a new Cognee API credential and paste in your Base URL and API key
Enter the Base URL exactly as shown in your dashboard (for example
https://tenant-xxx.aws.cognee.ai) — don’t add anything after it.Your first memory workflow
A memory workflow has three steps: store something, let Cognee organize it, then ask a question about it. Each step is one Cognee node.1. Add Data — store something
- Resource: Add Data
- Dataset Name:
my-dataset(a dataset is like a folder for related content) - Text Data: any text you want Cognee to remember
2. Cognify — organize it into memory
- Resource: Cognify
- Datasets:
my-dataset
3. Search — ask a question
- Resource: Search
- Search Type: GraphCompletion
- Datasets:
my-dataset - Query: a plain-English question, like “Tell me about NLP”
Everything you add from n8n also appears in your Cognee Cloud workspace, and n8n can search data you’ve already added there.
Start from a template
Prefer not to build it by hand? Copy the template below, click an empty spot on your n8n canvas, and paste (Cmd+V / Ctrl+V). The three connected nodes appear, ready to run — you don’t need to read or edit the JSON, just copy and paste it.- Copy the template (use the copy button in the corner of the block)
- Paste it onto your n8n canvas
- Open each Cognee node once and select your Cognee API credential
- Click Execute workflow, then check the Search node’s output for the answer
Copy-paste workflow template
Copy-paste workflow template
What each operation does
Picking a search type
Learn more about how search works in the search basics guide.
Troubleshooting
GitHub Repository
View source code and contribute
n8n Documentation
Learn more about n8n community nodes