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-cloudflare-autorag

v0.1.2

Published

n8n node for Cloudflare AutoRAG - Query your knowledge bases with AI-powered search

Readme

n8n-nodes-cloudflare-autorag

This is an n8n community node that lets you use Cloudflare AutoRAG in your n8n workflows.

Cloudflare AutoRAG is a managed service for creating Retrieval-Augmented Generation (RAG) applications. It allows you to query your knowledge bases with AI-powered search, retrieving relevant information from your indexed data and generating context-aware responses.

n8n is a fair-code licensed workflow automation platform.

Installation

Community Node (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install
  3. Enter n8n-nodes-cloudflare-autorag in the npm Package Name field
  4. Click Install

Manual Installation

npm install n8n-nodes-cloudflare-autorag

Operations

This node supports two operations:

  • AI Search: Search your knowledge base and generate an AI response with retrieved context
  • Search: Perform semantic search to retrieve raw document chunks without AI generation

Authentication

You'll need to create credentials in n8n using:

  1. Account ID: Your Cloudflare Account ID (found in dashboard URL or sidebar)
  2. API Token: A Cloudflare API token with AutoRAG Read and Edit permissions

Creating an API Token

  1. Log in to the Cloudflare dashboard
  2. Navigate to AI > AutoRAG
  3. Select your AutoRAG instance
  4. Click Use AutoRAG > API
  5. Select Create an API Token
  6. Copy and save the token securely

Node Reference

Input Fields

  • Operation: Choose between AI Search or Search
  • AutoRAG Name: The unique name of your AutoRAG instance
  • Query: The question or search query for your knowledge base

Additional Options

  • Model (AI Search only): Override the default text generation model
  • Rewrite Query: Optimize the query for better semantic search
  • Result Limit: Maximum number of document chunks (1-50)
  • Minimum Score: Minimum similarity score for results (0.0-1.0)

AI Agent Tool Usage

This node is AI Agent compatible (usableAsTool: true). You can connect it to AI Agent nodes in n8n, allowing the AI to autonomously query your knowledge bases when needed to answer user questions.

Example AI Agent Setup

  1. Add an AI Agent node to your workflow
  2. Connect the Cloudflare AutoRAG node to the Agent's tool input
  3. The AI will automatically use your knowledge base when relevant

Example Usage

Simple Query Workflow

{
  "nodes": [
    {
      "name": "Cloudflare AutoRAG",
      "type": "n8n-nodes-cloudflare-autorag.cloudflareAutoRag",
      "parameters": {
        "operation": "aiSearch",
        "autoRagName": "my-knowledge-base",
        "query": "How do I configure authentication?",
        "additionalOptions": {
          "limit": 5,
          "rewriteQuery": true
        }
      }
    }
  ]
}

Output Structure

The node returns:

{
  "answer": "The generated AI response...",
  "sources": [
    {
      "id": "doc-chunk-id",
      "score": 0.89,
      "text": "The relevant text content...",
      "metadata": {
        "source": "r2://bucket/document.pdf"
      }
    }
  ],
  "query": "Your original query",
  "rewritten_query": "The optimized query (if enabled)"
}

Resources

License

MIT

Support

For issues and feature requests, please use the GitHub issues page.

Author

Jeremy Dawes - Jezweb