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
FieldTypeRequiredDescription
querystringYesSearch query — {{variables}} supported

---

Optional fields
FieldTypeRequiredDescription
numResultsnumberNoNumber of results to return (default: 5, max: 10)
countrystringNoCountry code for localised results: us, gb, pk, ae, etc.
outputVarstringNoVariable name (default: searchResults)

---

Variables available
VariableDescription
{{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
  1. Add a Google Search node.
  2. Write the query — e.g. {{lead.company}} official website.
  3. Set numResults to 3 (usually enough).
  4. Set country to match your leads' region.
  5. 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.