Automations
Google Search Node
4 min readnode-google-search
Run a Google search query and get back an array of results with titles, URLs, and snippets.
Google Search Node
Performs a Google search and returns an array of results (title, URL, snippet) into a variable. Chain it with HTTP Scrape and AI Extract to research any topic automatically.
When to use it
- Find the company website for a lead based on their company name.
- Research competitors mentioned by a lead in their enquiry form.
---
Required fields
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search query — {{variables}} supported |
---
Optional fields
| Field | Type | Required | Description |
|---|---|---|---|
| numResults | number | No | Number of results to return (default: 5, max: 10) |
| country | string | No | Country code for localised results: us, gb, pk, ae, etc. |
| outputVar | string | No | Variable name (default: searchResults) |
---
Variables available
| Variable | Description |
|---|---|
{{variables.searchResults}} | Array of {title, url, snippet} objects |
{{variables.searchResults[0].url}} | URL of the first result |
{{variables.searchResults[0].title}} | Title of the first result |
{{variables.searchResults[0].snippet}} | Snippet/description of the first result |
---
Step-by-step setup
- Add a Google Search node.
- Write the query — e.g.
{{lead.company}} official website. - Set
numResultsto 3 (usually enough). - Set
countryto match your leads' region. - Pipe
{{variables.searchResults[0].url}}into an HTTP Scrape node.
---
Example config
json
{
"query": "{{lead.company}} official website UK",
"numResults": 3,
"country": "gb",
"outputVar": "searchResults"
}
---
Tips & gotchas
- Results are not guaranteed to include the exact website you're looking for — add an AI node to validate the URL if accuracy is critical.
- The node uses the Google Custom Search API or equivalent under the hood — ensure your API key/quota is configured in workspace settings.
- Use a For Each node to iterate over all returned results if you need to scrape multiple pages.