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

v1.0.29

Published

n8n community node for Hubstaff API integration

Readme

n8n-nodes-hubstaff

A community node for n8n that integrates with the Hubstaff API V2 to manage projects and tasks.

Features

  • User Management

    • Get current user information
  • Organization Management

    • List all organizations
  • Projects Management

    • List all projects for an organization
    • Create new projects
  • Tasks Management

    • List all tasks for an organization
    • List all tasks for a project
    • Create new tasks

Installation

  1. Install the package:
npm install n8n-nodes-hubstaff
  1. In your n8n instance, go to Settings > Community Nodes
  2. Add the package n8n-nodes-hubstaff

Configuration

Credentials

You need to configure Hubstaff API credentials:

  1. Go to Hubstaff Developer Portal
  2. Generate a Personal Access Token (Refresh Token)
  3. In n8n, create new credentials of type "Hubstaff API V2"
  4. Enter your Personal Access Token (Refresh Token)
  5. Enter your Organization ID (you can find this by using the Organization -> Get All operation)

Note: The Personal Access Token is actually a refresh token that gets automatically exchanged for an access token when making API calls. The Organization ID is automatically used from credentials for operations that require it.

Task Status Values

When filtering tasks by status, the following values are available:

  • active: Active task
  • archived: Archived task (completed or closed)
  • archived_native_active: Archive of a task that was originally active
  • archived_native_deleted: Archive of a task that has been deleted

Member Roles and Permissions

When retrieving organization members, the following information is available:

Membership Roles:

  • owner: Organization owner with full permissions
  • manager: Organization manager (cannot access financial features)
  • user: Organization user with project-based permissions

Effective Roles:

  • organization_owner: Organization owner
  • organization_manager: Organization manager
  • project_manager: User with manager role on all projects
  • project_user: User with user role on all projects
  • project_viewer: User with viewer role on all projects
  • by_project: User with mixed roles across projects
  • unassigned: User with no assigned role or project memberships

Trackable Status:

  • false: Time tracking explicitly disabled
  • true: Time tracking allowed
  • viewer: Time tracking allowed but limited by project viewer role

Usage

User

Get Current User

  • Resource: User
  • Operation: Get

Organizations

Get All Organizations

  • Resource: Organization
  • Operation: Get All

Projects

Get All Projects

  • Resource: Project
  • Operation: Get All
  • Optional fields:
    • Status Filter (All, Active, Archived)

Create Project

  • Resource: Project
  • Operation: Create
  • Required fields:
    • Project Name
  • Optional fields:
    • Project Description

Tasks

Get All Tasks

  • Resource: Task
  • Operation: Get Many
  • Optional fields:
    • Project ID (to get tasks for specific project, otherwise uses Organization ID from credentials)
    • Status Filter (All, Active, Archived, Archived Native Active, Archived Native Deleted)

Create Task

  • Resource: Task
  • Operation: Create
  • Required fields:
    • Project ID
    • Task Summary
    • Assignee ID
  • Optional fields:
    • Task Description

Members

Get All Members

  • Resource: Member
  • Operation: Get Many
  • Returns organization members with their roles and permissions

API Version

This node uses Hubstaff API V2 which is the current and supported version. The V1 API has been deprecated.

Base URL: https://api.hubstaff.com/v2

API Documentation

For more information about the Hubstaff API V2, visit: https://developer.hubstaff.com/docs/hubstaff_v2

Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run linting:
npm run lint

Testing

To test the node locally:

  1. Build the project
  2. In your n8n development environment, add the local path to community nodes

License

MIT

Support

For issues and feature requests, please create an issue in the GitHub repository.