Skip to content

[Feature]: Integration with N8N #198

@CoderOMaster

Description

@CoderOMaster

Description

Add a community n8n integration for n8n, the open-source workflow automation platform, as either an n8n-nodes-moss community node package or a cookbook example in the usemoss/moss repo. This would expose Moss's core operations — createIndex, addDocs, deleteDocs, and query — so any n8n workflow can incorporate real-time semantic search without writing SDK code from scratch.

The integration should cover at minimum:

Moss: Query — run a semantic/hybrid search query against an existing index and return ranked results as n8n items
Moss: Add Documents — upsert one or more documents (with optional metadata) into an index
Moss: Delete Documents — remove documents by ID
Moss: Create Index — bootstrap a new index from an upstream data source mid-workflow
Use case

n8n is widely used for building data pipelines, AI-augmented workflows, and internal automation exactly the contexts where Moss's instant-index-update and sub-10ms query story is most compelling.

Concrete gaps this closes today:

  • RAG pipelines without code — users who want to feed Notion pages, Slack messages, or database rows into a semantic search index currently have to write custom SDK code outside n8n. A community node or cookbook lets them do it entirely inside the workflow canvas.
  • Real-time knowledge base sync — n8n already has triggers for Google Drive, GitHub, Postgres, etc. Pairing those triggers with a Moss "Add Documents" node would let non-engineers keep a semantic index in sync with any upstream source automatically.
  • Primary beneficiaries: no-code/low-code builders, data engineers automating document ingestion, and teams prototyping AI assistants who don't want to spin up separate vector DB infrastructure.

Proposed solution

Cookbook example a ready-to-import n8n workflow JSON paired with a thin JS/TS helper that wraps the Moss SDK, with step-by-step docs showing common patterns (sync a Notion database to a Moss index, query Moss inside an AI agent chain, etc.)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions