Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n8n-nodes-google-sheets-trigger

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-google-sheets-trigger

This is a trigger node for Google Sheets.

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Banner n8n & n8nhackers

n8n-nodes-google-sheets-trigger

This is an n8n community node. It lets you use Google Sheets in trigger mode with your n8n workflows. Using this trigger, you will be able to recover only new rows from any Google sheet.

Contents

TLDR

Installation

Operations

Credentials

Compatibility

Usage

Version history

Another way to try it out

Contribution

Issues

Resources

License

TLDR

Don't want to read? Import the sample workflow Recover only new rows from Google Sheets to test this node. Recover only new rows from Google Sheets

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

Using this node you recover only new rows added to any Google sheet.

Credentials

You can choose any credential defined in other Google Sheets nodes. All credentials are compatible.

Compatibility

Tested with node 0.197.1. You need an n8n version with polling enabled.

Usage

With this node, you will be able to recover new rows added to any sheet.

Define your Google sheets node as usual (credentials, spreadsheet id, range, raw data) and choose your poll time

Poll time selector

If you want the sample sheet, access the sample spreadsheet and copy it to your Google Drive.

Google sheet contains a list of numbered rows:

Google sheet

You have a sample below where I combine new rows from Google Sheets with Generate dynamic contents for EMAILS or HTML pages (this is another community node created by me).

Then, create a new template for this node:

{{#each items}}
{{sample}}
{{/each}}

First, execute the workflow directly to recover all rows and test the message to Telegram. Polling and recovering new rows only work for active tasks in the background. Define the poll time (every 5 minutes, every hour, every day), and activate your task to get only new rows. Check executions to ensure that Workflows are executed every defined poll time.

Now, add new numbered rows (row 24, row, 25, ...) to your Google sheet. If everything works as expected, a new message is sent to the Telegram channel with new rows.

This is a sample of how the message looks (I added rows 14 to 23).

image

Version history

  • 2022/10/12 - Initial version for Google Sheets Trigger

Another way to try it out

Clone the n8n-nodes-google-sheets-trigger repository and execute:

# Use v16.17.0 = lts/gallium
nvm use lts/gallium

# Install dependencies
npm install

# Build the code
npm run build

# "Publish" the package locally
npm link

Create an N8N installation and add the n8n-nodes-document-generator to it:

# Create an N8N installation
cd ..
mkdir n8n_install
cd n8n_install
npm init
npm install
npm install n8n

# "Install" the locally published module
npm link n8n-nodes-google-sheets-trigger

# Start n8n
npx n8n

Contribution

To make this node even better, please let us know, how you use it. Commits are always welcome.

Issues

If you have any issues, please let us know on GitHub.

About

Node by n8nhackers.com. For productive use and consulting on this, contact us please.

Special thanks to N8n nodemation workflow automation by Jan Oberhauser.

Resources

If you want to build your custom n8n nodes, check the N8N documentation on custom nodes.

Licenses

Keywords

FAQs

Package last updated on 13 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc