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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-google-custom

v0.1.9

Published

N8n nodes for Google services (Calendar, Sheets, Gmail, Drive, Docs, Contacts, Tasks) with Bearer Token, Auto-refresh Token, and AI Agent support

Readme

n8n-nodes-google-custom

npm version License: MIT

This is an n8n community node package for Google services with Bearer Token and auto-refreshing token authentication.

Key Features:

  • 🔐 Bearer Token authentication (no OAuth flow needed)
  • 🔄 Auto-refreshing tokens (Refresh Token support)
  • 📅 Customized Google Services: Calendar, Sheets, Gmail, Drive, Docs, Contacts, Tasks
  • 🚀 Easy to set up and use

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes.
  2. Select Install.
  3. Enter n8n-nodes-google-custom in Enter npm package name.
  4. Agree to the risks of using community nodes.
  5. Select Install.

Manual Installation

To install manually for local development or testing:

# Navigate to your n8n installation
cd ~/.n8n/custom

# Install the package
npm install n8n-nodes-google-custom

# Link for development
npm link n8n-nodes-google-custom

Quick Test

Bearer Token Test

node test/test-bearer-token.js YOUR_BEARER_TOKEN

Refresh Token Test (Recommended)

node test/test-refresh-token.js CLIENT_ID CLIENT_SECRET REFRESH_TOKEN

Credentials

These nodes support two authentication methods:

1. Bearer Token (Manual)

  1. Go to the Google Cloud Console
  2. Create or select a project
  3. Enable the required Google APIs (Calendar, Sheets, Gmail, Drive, Docs, Contacts, Tasks)
  4. Create credentials (Service Account or OAuth 2.0)
  5. Generate an access token
  6. In n8n, create new "Google API (Bearer Token)" credentials
  7. Paste your Bearer Token

2. Refresh Token (Auto-Refresh) - Recommended

  1. Set up OAuth 2.0 credentials in Google Cloud Console
  2. Obtain Client ID, Client Secret, and Refresh Token
  3. In n8n, create new "Google API (Refresh Token)" credentials
  4. Enter your credentials
  5. Token will auto-refresh when expired (handled by GoogleAuthHelper)

See REFRESH_TOKEN_GUIDE.md for detailed instructions.

Available Customized Nodes

All nodes support both Bearer Token and Refresh Token authentication, and are compatible with AI

1. Google Calendar Custom 📅

  • Resources: Calendar, Event
  • Operations: Create, Get, Get Many, Update, Delete events
  • Special: Check availability, recurring events support
  • AI Agent ready: Yes

2. Google Sheets Custom 📊

  • Resources: Sheet, Spreadsheet
  • Operations:
    • Sheet: Read, Append, Update, Clear, Delete rows
    • Spreadsheet: Create, Delete
  • AI Agent ready: Yes

3. Gmail Custom 📧

  • Resources: Message, Label, Draft
  • Operations:
    • Message: Send, Reply, Get, Get Many, Delete
    • Label: Create, Get Many, Delete
    • Draft: Create, Get, Get Many, Delete
  • AI Agent ready: Yes

4. Google Drive Custom 💾

  • Resources: File, Folder
  • Operations:
    • File: List, Upload, Download, Delete, Share, Copy
    • Folder: Create, Delete, Share
  • AI Agent ready: Yes

5. Google Docs Custom 📝

  • Resources: Document
  • Operations: Create, Get, Append Text, Replace Text
  • AI Agent ready: Yes

6. Google Contacts Custom 👥

  • Resources: Contact
  • Operations: Create, Get, Get Many, Update, Delete
  • AI Agent ready: Yes

7. Google Tasks Custom ✅

  • Resources: Task, Task List
  • Operations:
    • Task: Create, Get, Get Many, Update, Delete
    • Task List: Create, Get Many, Delete
  • AI Agent ready: Yes

Compatibility

Tested with n8n version 1.0.0+

Resources

License

MIT