Package Information
Released: 5/27/2025
Downloads: 1,029 weekly / 1,029 monthly
Latest Version: 0.0.4
Author: jackvatan
Available Nodes
Documentation
n8n-nodes-google-custom-search
This is a custom n8n node that allows you to perform Google Custom Search operations using OAuth2 authentication.
Features
- Perform Google Custom Search operations
- Use OAuth2 authentication with Google
- Customize search parameters
- Filter search results
Prerequisites
- n8n (version 0.125.0 or later)
- Google Cloud Platform account with Custom Search API enabled
- Google Custom Search Engine ID
Installation
In n8n desktop app
- Go to Settings > Community Nodes
- Click on Install
- Enter
n8n-nodes-google-custom-search
in the Name field - Click on Install
In n8n docker installation
- Add the following to your
docker-compose.yml
file:
volumes:
- ./custom:/home/node/.n8n/custom
- Install the node using npm:
npm install n8n-nodes-google-custom-search
- Copy the node to your custom directory:
cp -r node_modules/n8n-nodes-google-custom-search ~/.n8n/custom/
Setup
Google Cloud Platform Setup
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Custom Search API
- Create OAuth2 credentials (Client ID and Client Secret)
- Configure the OAuth consent screen
- Add the redirect URI:
https://your-n8n-domain.com/rest/oauth2-credential/callback
Google Custom Search Engine Setup
- Go to the Google Programmable Search Engine
- Create a new search engine
- Configure the sites to search
- Get your Search Engine ID
Usage
- Add the Google Custom Search node to your workflow
- Create a new credential of type "Google Custom Search API"
- Enter your Client ID and Client Secret
- Complete the OAuth2 authentication flow
- Configure the node with your Search Engine ID and query
- Run the workflow
Parameters
Operation
- Search: Perform a custom search
Required Parameters
- Search Engine ID: Your Google Custom Search Engine ID
- Query: The search query to use
Optional Parameters
- Return All Results: Whether to return all results or only up to a given limit
- Limit: Max number of results to return (when not returning all)
- Additional Fields: Various search customization options
License
MIT