n8n-nodes-google-shopping-api
v0.1.1
Published
Search Google Shopping and return products with prices, sellers, ratings, and links. Apify-backed n8n community node, pay-per-result, and usable as an AI agent tool.
Maintainers
Readme
n8n-nodes-google-shopping-api
An n8n community node that searches Google Shopping and returns structured product listings: title, price, seller, rating, reviews, delivery, and product link. It is backed by the Google Shopping API on Apify and bills per result, so there are no subscriptions and no minimums.
Installation · Credentials · Operations · Output · Example workflows · Pricing · Resources
What it does
Give the node a product query, and it returns one item per shopping result with the title, price, seller, rating, review count, delivery note, and product link. It also works as an AI Agent tool, so an agent can compare prices on demand.
- Search products by query, optionally scoped to a location
- Filter by minimum and maximum price, free shipping, and on-sale only
- Emulate desktop, mobile, or tablet
- Choose how much data to return per product: Simplified, Raw, or Selected Fields
Installation
Follow the n8n community nodes installation guide:
- In n8n, open Settings > Community Nodes.
- Select Install.
- Enter
n8n-nodes-google-shopping-apias the npm package name. - Agree to the risks of using community nodes, then select Install.
After it installs, the Google Shopping node appears in the nodes panel.
n8n Cloud only allows verified community nodes. Until this node is verified, install it on a self-hosted n8n instance.
Credentials
You need a free Apify account and an API token.
- Sign in to the Apify Console.
- Open Settings > Integrations and copy your Personal API token.
- In n8n, create a new Apify API credential and paste the token.
- Use the credential's Test button to confirm it works.
The node also supports Apify OAuth2 if you prefer to connect that way.
Operations
Product > Search returns products that match a query.
| Parameter | Description |
| --- | --- |
| Search Query | The product to search for. Required. |
| Location | Location to run the search from. Optional. |
| Country Code / Language Code | Localization, for example us and en. |
| Device | Desktop, Mobile, or Tablet. |
| Minimum Price / Maximum Price | Price bounds. 0 for no limit. |
| Free Shipping Only / On Sale Only | Result filters. |
| Maximum Pages | How many result pages to fetch. |
| Output | How much data to return: Simplified, Raw, or Selected Fields. |
Output
Each product is returned as its own n8n item. The API returns more than ten fields per product, so the Output parameter lets you choose how much to return:
- Simplified (default): a compact object with
position,title,price,source,rating,reviews,delivery,productLink, andproductId. This mode is also used automatically when the node runs as an AI Agent tool, to keep responses small. - Raw: every field the API returns for each product, using the original field names below.
- Selected Fields: pick exactly which fields to include.
Fields (Raw and Selected Fields)
| Field | Type | Description |
| --- | --- | --- |
| position | integer | Rank of the result on the page |
| title | string | Product title |
| product_id | string | Google product identifier |
| product_link | string | Link to the product on Google Shopping |
| immersive_product_page_token | string | Token for the immersive product page |
| source | string | Seller or store name |
| multiple_sources | boolean | Whether the product is sold by multiple sellers |
| price | string | Displayed price |
| extracted_price | number | Numeric price |
| rating | number | Product rating |
| reviews | integer | Number of reviews |
| snippet | string | Short product description |
| thumbnail | string | Product image URL |
| delivery | string | Delivery or shipping note |
Example workflows
1. Price comparison into a sheet
- Manual Trigger.
- Google Shopping: Search Query your product, Output
Simplified. - Sort: by
price; Google Sheets: appendtitle,price,source, andproductLink.
2. Daily deal watch
- Schedule Trigger: run daily.
- Google Shopping: your product, On Sale Only enabled, Maximum Price set to your target.
- Slack: alert when matching deals appear.
3. Let an AI Agent compare prices
- AI Agent node.
- Attach Google Shopping as a tool.
- Ask "What's the cheapest noise-cancelling headphone right now?" The agent calls the node (in Simplified mode) and answers with live listings.
Pricing
This node calls the Google Shopping API on Apify, which is billed pay-per-result: a small per-search fee (about $0.04 per page of results) plus a fraction of a cent per product returned, with no subscription and no minimums. Apify also includes a free monthly usage tier that covers typical volumes. See the Actor page for current rates.
