Latenode

Automated Google search data extraction and summarization

This template runs a Google Programmable Search query, cleans title, link, and snippet in JavaScript, asks ChatGPT for a short summary, and posts that JSON to the URL you set.

Start from a webhook that passes a query, or from a schedule with the query on the search step. Connect Google Programmable Search Engine. Put the search engine id and API key on that connection. ChatGPT is a Latenode AI step.

Updated Sep 16, 2026Est. run: 12sEst. cost: $0.0008
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Runs a Google Programmable Search query on demand or on a schedule
  • Cleans title, link, and snippet in JavaScript
  • Summarizes the hits with ChatGPT
  • Posts the summary to the URL you choose

How it works

1
Trigger

Start with a query

A webhook starts the run with a search query. A schedule can start it instead with the query on the search step.

2
Action

Query Google search

Google Programmable Search Engine returns the hits for that query.

3
Logic

Clean the hits

JavaScript keeps title, link, and snippet for each result.

4
AI

Summarize with ChatGPT

ChatGPT reads those hits and returns a short structured summary.

5
Action

Post the summary

An HTTP request sends the summary to the destination URL you set.

Setup guide

1

Connect Google Programmable Search Engine

Add a Google Programmable Search Engine connection and paste your search engine id and API key there. Set the query on that step when you run from a schedule.

2

Add webhook or schedule

Add a webhook that passes a query for on-demand runs. Add a schedule when you want the same query on a cadence.

3

Summarize and post

Normalize title, link, and snippet in JavaScript, send those hits to ChatGPT, then post the summary with an HTTP request to your destination URL. ChatGPT is a Latenode AI step.

Requirements

A Google Programmable Search Engine id and API key stored on that connection
A search query, via webhook payload or on the search step
A destination URL that accepts the summary JSON
ChatGPT available as a Latenode AI step

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work. Plug-and-Play AI nodes are billed separately.