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

@zurdai/n8n-nodes-woocommerce

v0.1.3

Published

n8n node to import all data from WooCommerce via the official REST API

Downloads

10

Readme

n8n WooCommerce importer node

This package provides a standalone n8n node that can be used to import data from a WooCommerce store using the official WooCommerce REST API.

Features

  • Fetch all Products, Orders, Customers and many resources using the WooCommerce REST API
  • Automatic pagination (per_page=100) and optional limit
  • Includes meta_data where present, optionally removable
  • Supports custom endpoint querying (e.g. products?status=any)

Credentials

  1. Create a new credential in n8n of type WooCommerce API
  2. Provide Base URL, Consumer Key and Consumer Secret

Important notes for Webhooks / Permissions

  • To enable the node to create/delete webhooks automatically the API credentials you provide must have the permissions to manage webhooks in WooCommerce. If you use consumer key/secret issued by a user, ensure that user has the necessary REST and webhook permissions.

Build & install (local development)

  1. npm install
  2. npm run build
  3. To use locally inside n8n add the compiled dist folder to your custom nodes directory or pack & install it as a custom package.

Security

  • Do not commit your WooCommerce consumer key/secret. Use n8n credentials management to store them securely.

How to use

  1. Build the package with npm run build (from package root)
  2. Import the Node into n8n as a custom node package or include it in your custom nodes folder
  3. In a workflow, add the WooCommerce node, select Resource (Product/Order/Customer/etc.), set Execute = "Get All" and run

Triggers / Webhooks

  • The node supports creating WooCommerce webhooks so n8n can receive events for Order/Customer/Product changes (e.g. order.created). When you enable the node as a Trigger in an n8n workflow it will create the webhook automatically (using the credentials) and delete it when the workflow is deactivated.

CRUD operations

  • The node supports CRUD operations: Get All, Get Item (by ID), Create Item (POST), Update Item (PUT) and Delete Item (DELETE) for typical endpoints (products, orders, customers, coupons, taxes, shipping zones and more).

Examples

  • See the examples folder for a few sample workflows to fetch all products, create a customer and set up an order.created webhook.

Notes

  • The WooCommerce REST API typically exposes metadata within meta_data per entity. The node will include it by default; use the Fetch metadata option to disable it.
  • Some site-specific data (e.g. site Settings) may not be exposed by the default REST endpoints — use the Custom endpoint option to call any /wp-json/wc/v3/ endpoint.