Actions19
Search → Search
AI-generatedOverview
This node performs a web search based on a user-provided query and returns search results. It supports fetching a specified number of results, filtering by time range, and geo-targeting by country code. Users can choose the format of the results (Markdown or HTML) and optionally run an AI rollup to extract a structured summary across all fetched results, with support for JSON schema constraints. The node also allows customization of the fetch process, including headers, cookies, proxy settings, and rendering mode. Output can be simplified, raw, or filtered to selected fields.
Use Case Examples
- A user wants to search for the best programming languages in 2026 and get the top 5 results in Markdown format.
- A user needs recent news articles from the past week about a specific topic, filtered by location (e.g., United States).
- A user wants to run an AI summary across multiple search results to get a concise overview of the top recommendations.
Properties
| Name | Meaning |
|---|---|
| Query | The search query string to look up. |
| Number of Results | How many search results to fetch, between 1 and 20. |
| Result Format | Format used for each result's inline content, either Markdown or HTML. |
| Use AI Rollup | Whether to run an AI extraction across all fetched results to produce a summary. |
| Rollup Prompt | Prompt text used by the AI to generate a single structured summary from the fetched pages. |
| Use JSON Schema | Whether to constrain the AI rollup output to a specified JSON schema. |
| Schema (JSON) | The JSON schema defining the structure of the AI rollup output. |
| Time Range | Filter search results to a recent time window, such as past hour, day, week, month, or year. |
| Location (Country Code) | Optional country code to geo-target search results. |
| Fetch Config | Options controlling how the page is fetched before processing, including cookies, headers, country proxy, fetch mode, scrolling, stealth mode, timeout, and wait time. |
| Output | Shape of the response returned by this operation: Simplified, Raw, or Selected Fields. |
| Fields | Comma-separated list of top-level fields to keep in the output when 'Selected Fields' output mode is chosen. |
Output
JSON
id- Unique identifier of the search result or summary.json- The main JSON content of the search results or AI rollup summary.
Dependencies
- An API key credential for ScrapeGraphAI service
Troubleshooting
- Ensure the API key credential is correctly configured and has sufficient permissions.
- If the node throws an unsupported combination error, verify that the resource is set to 'Search' and operation to 'Search'.
- If AI rollup is enabled but no prompt or schema is provided, the output may be incomplete or incorrect; provide a meaningful prompt and valid JSON schema if using schema constraints.
- Timeouts or fetch errors may occur if the fetch configuration is too restrictive or the target website is slow; adjust timeout and fetch mode accordingly.