Search
AI-generatedSummary
Searches SearXNG for each incoming item using its query, input, or prompt string when present, otherwise the required Query field. Returns formatted search results or the first result’s content, with optional filters and search settings.
Inputs
- Query (required) — Fallback search text. For each incoming item, a string
querytakes precedence, followed byinputand thenprompt; this field is used when none of those strings is present. - Categories — Select categories from the SearXNG instance or provide category IDs by expression.
- Custom Categories — Comma-separated additional category names. These are combined with the selected categories.
- Return Single Response — For JSON format, return the first result’s content (or snippet if content is empty) as
answerwhen a result exists. - Additional Fields — Optional search settings: language, time range, safe search level, page number, response format, engines, enabled or disabled plugins, image proxy, and autocomplete backend. The default format is JSON.
Output shape
One n8n item per incoming item, containing the search response.
For JSON format, the output includes
success,query, formattedresults,metadata(format, result count, search time, and engine), and the raw response. With Return Single Response enabled and at least one result, it instead includessuccess,query, andanswer. For CSV, HTML, or RSS, it includessuccess,query, format metadata, and the raw response inrawResponse. If Continue On Fail is enabled, a failed search produces an item withsuccess: false, the error message, and the query.