Workflow automation
Memory that
triggers itself.
n8n calls Korely from any node. A new Stripe charge can write a memory about the customer. A calendar event can pull what past calls settled. An incoming email can search the sender's memory before drafting a reply.
Setup preview
Use the HTTP Request node in n8n with your Korely API key. Example, store context from an incoming email:
Method: POST
URL: https://api.korely.ai/v1/memories
Header: Authorization: Bearer kor_live_...
Body (JSON), one expression, so quotes and line breaks in the email stay valid:
{{ JSON.stringify({
content: $json.body,
user_id: $json.from,
agent_id: "email-workflow"
}) }}
Core REST operations: POST /v1/memories to store,
POST /v1/memories/search to query,
GET /v1/context to retrieve ranked context,
GET /v1/facts for typed facts.
Step-by-step setup guide.
What n8n gets
- ●
Workflows write to your memory: a Slack message, a calendar event or an email becomes a memory, scoped to a
user_id, with typed facts extracted and indexed for search. - ●
Workflows read your memory, RAG over your stored context inside any n8n flow. Before sending the customer email, look up past tickets. Before scheduling the call, check what the last one settled.
- ●
Works with self-hosted n8n, your self-hosted or cloud n8n calls the Korely REST API. One memory store, reachable from any flow.
Ready to wire it up?
Follow the step-by-step setup guide, or email me, I'll walk you through it.