Contents

Web Search

tavily_search · Nodes · Search

Searches the web with Tavily.

Performs web searches using the Tavily API. Returns structured search results with optional AI-generated summaries.

Config:

  • connection - Tavily API connection (API key stored securely)
  • query - Optional default search query. Can be overridden by input.
  • max_results - Number of results to return (1-20). Default: 15.
  • include_answer - Whether to include an AI-generated summary of results. Default: false.
  • retry - whether the search is sent again after a failure that passes: a rate limit, a busy server, a dropped connection. Off by default; see Retries. A search is a read, so it is sent again freely.

Input: Optional query override string (passes through if empty)

Output: { "results": [{ "title": "...", "url": "...", "content": "...", "score": 0.95 }, ...], "answer": "AI-generated summary of findings" }

Example:

[Template] → [Tavily Search]
    Config: max_results: 3, include_answer: true
    → { 
        "results": [
          { "title": "Understanding Embeddings", "url": "https://example.com/embeddings", "content": "...", "score": 0.94 },
          { "title": "Vector Databases", "url": "https://example.com/vectors", "content": "...", "score": 0.91 }
        ],
        "answer": "Embeddings are vector representations of text that capture semantic meaning..."
      }

Tips:

  • Leave query in config empty and connect input to make the search dynamic
  • The answer field provides a quick summary when include_answer: true
  • Use max_results: 10 for comprehensive research, max_results: 3 for quick checks
  • Each result includes a relevance score—filter downstream if needed (score > 0.8 is typically high quality)
  • Store search results in a Feather table for later analysis or reference
  • Combine with an AI Agent node to synthesize search results into reports

Inputs

  • inputRequired
  • configOptional
  • queryOptional

Outputs

  • results
  • answer

Configuration

FieldTypeRequiredDescription
connectionconnection(tavily)YesTavily connection to use
querystringNoStatic query (can be overridden by wire input)
max_resultsnumberNoMaximum results to return
include_answerbooleanNoInclude AI-generated answer summary
retrytagged_unionNoSends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once.
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).