npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-openai-vectorstore

v1.0.1

Published

n8n community node to manage OpenAI Vector Stores - Create, search, and manage vector stores for semantic search and RAG applications

Readme

n8n-nodes-openai-vectorstore

n8n.io - Workflow Automation npm License

This is an n8n community node to manage OpenAI Vector Stores for semantic search and RAG (Retrieval-Augmented Generation) applications.

n8n is a fair-code licensed workflow automation platform.

Features

Full implementation of OpenAI Vector Stores API:

🗃️ Vector Store

| Operation | Description | |-----------|-------------| | Create | Create a new vector store with custom chunking strategy | | Get | Retrieve vector store details | | Get Many | List all vector stores with pagination | | Update | Modify name, description, expiration policies | | Delete | Remove a vector store | | Search | Semantic search with filters, ranking, and score threshold |

📄 Vector Store Files

| Operation | Description | |-----------|-------------| | Create | Add a file with custom attributes for filtering | | Get | Retrieve file information | | Get Content | Get parsed content of a file | | Get Many | List files with status filter | | Update | Update file attributes/metadata | | Delete | Remove file from vector store |

📦 File Batches

| Operation | Description | |-----------|-------------| | Create | Add multiple files in batch | | Get | Check batch status | | Cancel | Cancel batch operation | | List Files | List files in a batch |

Installation

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-openai-vectorstore
  4. Click Install

Manual Installation

# In your n8n installation directory
npm install n8n-nodes-openai-vectorstore

Credentials

You need an OpenAI API key:

  1. Go to OpenAI API Keys
  2. Create a new API key
  3. In n8n, create new credentials for "OpenAI Vector Store API"
  4. Enter your API key

Usage Examples

Create a Vector Store

{
  "resource": "vectorStore",
  "operation": "create",
  "name": "Knowledge Base",
  "additionalFields": {
    "description": "Support documentation",
    "expiresAfterDays": 30
  }
}

Semantic Search

{
  "resource": "vectorStore",
  "operation": "search",
  "vectorStoreId": "vs_abc123",
  "query": "How to reset password?",
  "searchOptions": {
    "max_num_results": 5,
    "score_threshold": 0.7,
    "rewrite_query": true
  }
}

Add File with Attributes

{
  "resource": "vectorStoreFile",
  "operation": "create",
  "vectorStoreId": "vs_abc123",
  "fileId": "file-xyz789",
  "additionalFields": {
    "attributes": {
      "category": "support",
      "language": "en"
    }
  }
}

Search with Filters

{
  "searchOptions": {
    "filters": {
      "type": "eq",
      "key": "category",
      "value": "support"
    }
  }
}

Use Cases

  • RAG Chatbots: Provide relevant context to AI assistants
  • Support Systems: Search documentation with natural language
  • Knowledge Management: Build enterprise knowledge bases
  • Document Analysis: Extract information from large document sets

Example Workflow

[Webhook] → [Vector Store: Search] → [OpenAI: Chat] → [Respond]
  1. Receive user question
  2. Search for relevant documents
  3. Generate response with context
  4. Send answer

Resources

License

MIT