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

@trg-admin/n8n-nodes-zoho-people

v0.2.6

Published

n8n community node for Zoho People with OAuth2 refresh token handling

Readme

n8n Zoho People Node

A community n8n node for Zoho People integration with OAuth2 authentication and automatic refresh token handling.

Features

  • OAuth2 authentication with automatic refresh token management (handled by n8n)
  • Multi-region support (US, EU, IN, AU, CN)
  • Employee resource operations: Get, Get Many, Create, Update
  • Leave Type resource listing
  • Type-safe TypeScript implementation

Installation

npm install @trg-admin/n8n-nodes-zoho-people

Configuration

Credentials Setup

  1. Create a new credential of type "Zoho People OAuth2 API"
  2. Configure your OAuth2 app:
    • Client ID: From your Zoho Developer Console
    • Client Secret: From your Zoho Developer Console
    • Select your region (US, EU, IN, AU, CN)
  3. Set appropriate scopes for your use case:
    • Default: ZOHOPEOPLE.leave.ALL ZOHOPEOPLE.attendance.ALL ZOHOPEOPLE.variables.ALL ZOHOPEOPLE.files.ALL ZOHOPEOPLE.performance.ALL ZOHOPEOPLE.orgstructure.ALL ZOHOPEOPLE.organization.READ ZOHOPEOPLE.forms.READ ZOHOPEOPLE.forms.CREATE ZOHOPEOPLE.forms.UPDATE
    • Add additional scopes as needed

The refresh token is automatically managed by n8n - no manual token refresh logic is needed.

Resources

Employee

Manage employee records in Zoho People.

Operations:

  • Get: Retrieve a single employee by ID
  • Get Many: List employees with pagination
  • Create: Create a new employee record
  • Update: Update an existing employee record

API Reference: Zoho People API v3 Overview

Leave Type

Retrieve leave types configured in Zoho People.

Operations:

  • Get Many: List all leave types

API Reference: Zoho People API v3 Overview

Usage Example

  1. Add a "Zoho People" node to your workflow
  2. Select "Zoho People OAuth2 API" credential
  3. Choose a resource (Employee or Leave Type)
  4. Select an operation (Get, Get Many, Create, Update)
  5. Fill in the required parameters

Development

Build

npm run build

Type Check

npm run typecheck

Prepare for Publishing

npm run prepublishOnly

Implementation Notes

OAuth2 Flow

  • Authorization endpoint: https://accounts.zoho.{region}/oauth/v2/auth
  • Token endpoint: https://accounts.zoho.{region}/oauth/v2/token
  • Offline access is requested automatically (access_type=offline)
  • n8n's requestOAuth2 helper manages refresh tokens transparently

API Base URL Resolution

The node resolves the correct regional API base URL in this priority:

  1. Explicit API base URL override from credential (if set)
  2. api_domain from OAuth token response
  3. Regional inference from token/auth URL
  4. Default to US (https://people.zoho.com)

Pagination

The "Get Many" operation uses automatic pagination with configurable page size (default: 100).

Error Handling

Errors from the Zoho API are wrapped using n8n's NodeApiError for proper error reporting in workflows.

License

MIT

Support

For issues, questions, or contributions, refer to the n8n community documentation.