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-trieve

v0.1.0

Published

n8n nodes for using Trieve

Readme

n8n-nodes-trieve

This contains the n8n nodes for using Trieve with n8n.

Setup

Before using the Trieve node, you'll need to:

  1. Create an account at dashboard.trieve.ai
  2. Create a dataset in the dashboard
  3. Generate an API key from your dashboard settings
  4. Use this API and Dataset ID key when configuring the Trieve node credentials in n8n

Chunk Operations

The Trieve node provides two main operations for working with chunks:

Creating Chunks

To create a chunk in Trieve:

  1. Add the Trieve node to your workflow
  2. Select "Chunk" as the resource and "Create Chunk" as the operation
  3. Fill in the required fields:
    • Chunk HTML: The content you want to store
    • Additional Fields:
      • Tag Set: Comma-separated list of tags to help organize your chunks (e.g., "important,project-x,documentation")
      • Tracking ID: A unique identifier for the chunk
      • Time Stamp: When the chunk was created
      • Metadata: Additional JSON data to store with the chunk

Searching Chunks

To search through your chunks:

  1. Add the Trieve node to your workflow
  2. Select "Chunk" as the resource and "Search" as the operation
  3. Configure your search:
    • Query: The text to search for
    • Search Type: Choose between Fulltext, Hybrid, or Semantic search
    • Page Size: Number of results to return
    • Filter: JSON filter to narrow down results

The search will return matching chunks along with their relevance scores and any matching highlights.

Tool Call Operation

The tool_call operation allows you to define and execute custom functions with specific parameters. This is useful for creating structured decision-making workflows.

Using Tool Call

To use the tool_call operation:

  1. Add the Trieve node to your workflow
  2. Select "Tool Call" as the resource and "Tool Call" as the operation
  3. Configure the function:
    • Function Input: The input text to process
    • Function Name: A unique name for your function (e.g., "is_important", "classify_document")
    • Function Description: A clear description of what the function does
    • Parameters: Define one or more parameters for your function:
      • Name: The parameter name
      • Parameter Type: Choose between Boolean or Number
      • Description: Explain what the parameter represents

Example configuration (in json format):

{
  "function_input": "This is an important document about project X",
  "function_name": "is_important",
  "function_description": "A function to determine if the input is important",
  "parameters": [
    {
      "name": "is_important",
      "parameter_type": "boolean",
      "description": "Whether the input is important"
    },
    {
      "name": "importance_score",
      "parameter_type": "number",
      "description": "A score from 0-10 indicating importance"
    }
  ]
}

The tool_call operation will return the parameters with their determined values based on the input text.

Local development

You need the following installed on your development machine:

  • Install n8n with:

    npm install n8n -g
  • Run n8n to start n8n for the first time

  • Loin to http://localhost:5678 and complete onboarding steps and this should create a folder in ~/.n8n.

  • To allow the node to be loaded locally run:

    mkdir ~/.n8n/custom/
    ln -s "$(pwd)/n8n-nodes-trieve ~/.n8n/custom/n8n-nodes-trieve
  • Run npm run build inside the n8n-nodes-trieve directory

  • Start n8n again, you should see the node in the sidebar.