n8n-nodes-google-ai-overview-api
v0.1.1
Published
Get the Google AI Overview for a query, including the summary text and source references. Apify-backed n8n community node, pay-per-result, and usable as an AI agent tool.
Downloads
293
Maintainers
Readme
n8n-nodes-google-ai-overview-api
An n8n community node that fetches the Google AI Overview for a query and returns the summary text plus its source references. It is backed by the Google AI Overview 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 query, and it returns whether an AI Overview is present, the combined overview text, and the list of source references with titles and links. It also works as an AI Agent tool, so an agent can read Google's AI Overview on demand. This is useful for answer engine optimization (AEO) and monitoring how a brand appears in AI search.
- Fetch the AI Overview summary and its source references for any query
- Localize with a country code, language code, and location
- Choose how much data to return: 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-ai-overview-apias the npm package name. - Agree to the risks of using community nodes, then select Install.
After it installs, the Google AI Overview 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
AI Overview > Get returns the AI Overview for a query.
| Parameter | Description |
| --- | --- |
| Search Query | The query to fetch the AI Overview for. Required. |
| Country Code | Two-letter country code the search runs from. Defaults to us. |
| Language Code | Two-letter language code for the results. Defaults to en. |
| Location | Location to run the search from. Optional. |
| Output | How much data to return: Simplified, Raw, or Selected Fields. |
Output
One item is returned per query. The Output parameter lets you choose how much to return:
- Simplified (default): a compact object with
query,aiOverviewPresent,overview(the combined summary text),references(each withtitle,link, andsource),gl, andhl. 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, using the original field names below.
- Selected Fields: pick exactly which fields to include.
Fields (Raw and Selected Fields)
| Field | Type | Description |
| --- | --- | --- |
| result_type | string | Result type, for example ai_overview |
| query | string | The query that was run |
| ai_overview_present | boolean | Whether an AI Overview was returned |
| used_dedicated_api | boolean | Whether the dedicated retrieval path was used |
| retrievals_used | integer | Number of retrievals used |
| text_blocks | array | The overview content blocks (paragraphs, lists, etc.) |
| references | array | Source references, each with title, link, snippet, and source |
| gl | string | Country code used |
| hl | string | Language code used |
| fetched_at | string | When the overview was fetched (ISO 8601) |
Example workflows
1. Monitor AI Overview for your brand terms
- Schedule Trigger: run weekly.
- Google AI Overview: Search Query a brand or topic term, Output
Simplified. - Google Sheets: log
aiOverviewPresentand theoverviewtext over time.
2. Track which sources Google cites
- Manual Trigger.
- Google AI Overview: your query.
- Item Lists / Split Out: expand
referencesand record which domains are cited.
3. Let an AI Agent read the AI Overview
- AI Agent node.
- Attach Google AI Overview as a tool.
- Ask "What does Google's AI Overview say about electric car tax credits?" The agent calls the node (in Simplified mode) and answers with the overview and sources.
Pricing
This node calls the Google AI Overview API on Apify, which is billed pay-per-result: about $0.015 per overview retrieved (plus a small per-run fee), 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.
Resources
- Google AI Overview API on Apify
- npm package
- n8n community nodes documentation
- Apify n8n integration guide
