Actions2
Search
AI-generatedSummary
Search HubSpot-hosted sites for a required query and return matching content. Filter by content type and optional site, language, blog, HubDB, path, or relevance-boost settings.
Inputs
- Query (required) — Search term to find content across HubSpot-hosted sites.
- Content Type — Optionally restrict results to blog posts, site pages, landing pages, knowledge articles, or listing pages. Defaults to site pages, blog posts, and listing pages; selecting none searches all types.
- Limit — Maximum results per page (1–100); defaults to 10.
- Additional Options — Optional filters and ranking controls: offset for pagination; domain, language, content group ID, blog IDs, HubDB table ID or query, and path prefix with match-prefix behavior. Boost Recent sets a time window for blog-post scoring; per-type boost factors adjust relevance. Defaults are used for unspecified options, and default boost factors of 1 are omitted from the request.
Output shape
A list of n8n items, each containing the HubSpot search response in its json field.
The node sends one search request per input item. The response is one page, with the requested limit and offset; it does not automatically fetch subsequent pages. Requires HubSpot App Token credentials.
Examples
Example 1: Find recent marketing content
Search for “marketing tips”, restrict results to blog posts, set Limit to 20, and set Boost Recent to “10d”.