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-pocketbase-crud

v1.0.2

Published

n8n node for PocketBase integration with CRUD and batch operations support

Readme

n8n-node-pocketbase-latest

An n8n community node for PocketBase integration with comprehensive CRUD and batch operations support.

Features

  • Complete CRUD Operations: Create, Read, Update, Delete records
  • Batch Operations: Perform multiple operations in a single request
  • Advanced Filtering: Support for PocketBase filter expressions
  • Relation Expansion: Expand related fields in queries
  • Pagination Support: Handle large datasets with pagination
  • Authentication: Email/password authentication with automatic token management

Installation

Follow the installation guide in the n8n community nodes documentation.

npm

npm install n8n-node-pocketbase-latest

Manual Installation

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-node-pocketbase-latest
  4. Agree to the risks of using community nodes

Credentials

You need to create PocketBase API credentials with the following information:

  • PocketBase URL: Your PocketBase instance URL (e.g., https://your-pocketbase-instance.com)
  • Email: Admin or user email for authentication
  • Password: Password for the account

Operations

Record Operations

Get All

Retrieve multiple records from a collection with support for:

  • Filtering using PocketBase filter expressions
  • Sorting by multiple fields
  • Pagination (page and perPage parameters)
  • Relation expansion

Get

Retrieve a single record by ID with optional relation expansion.

Create

Create a new record in a collection by providing JSON data.

Update

Update an existing record by ID with partial data (only include fields to change).

Delete

Delete a record by ID.

Batch

Perform multiple create, update, or delete operations in a single request for better performance.

Usage Examples

Get All Records with Filtering

{
  "collectionIdOrName": "posts",
  "filters": "status = 'published' && created > '2023-01-01'",
  "sort": "-created,title",
  "expand": "author,category",
  "perPage": 20,
  "page": 1
}

Create Record

{
  "collectionIdOrName": "posts",
  "data": {
    "title": "My New Post",
    "content": "This is the content of my post",
    "status": "published",
    "author": "user_id_here"
  }
}

Batch Operations

{
  "collectionIdOrName": "posts",
  "batchOperations": {
    "operationDetails": [
      {
        "method": "create",
        "data": {
          "title": "Post 1",
          "content": "Content 1"
        }
      },
      {
        "method": "update",
        "recordId": "existing_post_id",
        "data": {
          "title": "Updated Title"
        }
      },
      {
        "method": "delete",
        "recordId": "post_to_delete_id"
      }
    ]
  }
}

Filter Expressions

PocketBase supports powerful filter expressions. Examples:

  • id = "abc123" - Exact match
  • created > "2023-01-01" - Date comparison
  • status = "published" && author = "user123" - Multiple conditions
  • title ~ "search term" - Text search
  • tags ?~ "important" - Array contains

Error Handling

The node supports n8n's "Continue On Fail" option. When enabled, errors will be included in the output instead of stopping the workflow.

Compatibility

  • n8n version: 0.198.0 or later
  • PocketBase version: 0.16.0 or later
  • Node.js version: 18.10 or later

Development

Setup

git clone https://github.com/your-username/n8n-node-pocketbase-latest.git
cd n8n-node-pocketbase-latest
npm install

Build

npm run build

Lint

npm run lint
npm run lintfix

License

MIT

Support

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

Contributing

Contributions are welcome! Please read the contributing guidelines before submitting pull requests.