Tavily search n8n template with extract API
This n8n workflow is a template for calling the Tavily search and extract APIs, the web search service many AI agents use. It is for builders who want working examples of Tavily requests in n8n, with every parameter documented next to the nodes.
What it does
It runs a Tavily search, extracts content from a URL, takes the top search result and extracts it, keeps results scoring above 90 percent, and runs a topic search. The notes list required parameters, query and api_key, and optional ones such as search_depth, topic, max_results, include_images and include_answer.
How to use it
Put your Tavily API key in the HTTP request nodes and change the query to your own search.
Requirements and limits
Defaults per the notes: basic depth, general topic and five results.
More in Other and the n8n workflow library.
Full text
Front matter
name: 🔍🛠️ Tavily Search & Extract - Template
description: Triggered manually or by an app event. Connects HTTP request. ## Tavily API Search Endpoint **Base URL**: `{{ $env.API_BASE_URL }}` **Method**: POST ### Required Parameters - `query`: The search query string - `api_key`: Your Tavily API key ### Optional Parameters - `search_depth`: "basic" or "advanced" (default: "basic") - `topic`: "general" or "news" (default: "general") - `max_results`: Maximum number of results to return (default: 5) - `include_images`: Include query-related images (default: false) - `include_answer`: Include AI-generated answer (d
category: Automation
kind: Workflow
software: HTTP request🔍🛠️ Tavily Search & Extract - Template
Triggered manually or by an app event. Connects HTTP request. ## Tavily API Search Endpoint
Base URL: {{ $env.API_BASE_URL }} Method: POST
Required Parameters
query: The search query stringapi_key: Your Tavily API key
Optional Parameters
search_depth: "basic" or "advanced" (default: "basic")topic: "general" or "news" (default: "general")max_results: Maximum number of results to return (default: 5)include_images: Include query-related images (default: false)include_answer: Include AI-generated answer (d
Steps
- Manual Trigger (manualTrigger)
- Sticky Note1 (stickyNote)
- Sticky Note (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note3 (stickyNote)
- Tavily Search (httpRequest)
- Tavily Extract (httpRequest)
- Sticky Note4 (stickyNote)
- Get Top Result (set)
- Tavily Extract Top Search (httpRequest)
- Filter > 90% (set)
- Tavily Search Topic (httpRequest)
- OpenAI Chat Model (noOp)
- Summarize Web Page Content (noOp)
- Sticky Note5 (stickyNote)
- Tavily API Key (set)
- Provide search topic via Chat window (noOp)
- Sticky Note6 (stickyNote)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source and license
Source: https://github.com/Zie619/n8n-workflows/blob/main/Http/1617_HTTP_Stickynote_Automation_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Perform an email search with Icypeas (single)
- Manualtrigger Workflow: Code, Google Sheets and HTTP request (n8n workflow collection) (446)
- Perform a domain search (single) with Icypeas
- Set Workflow: Code, Condition and Gmail
- Executeworkflowtrigger Workflow: Slack, n8n and HTTP request
- Code Workflow: Code, Filter and Gmail
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.