Introduction
Integrate Tavily with Dify to enhance your AI workflows without writing any code. Dify is a no-code platform that allows you to build and deploy AI applications using various tools, including the Tavily Search API and Tavily Extract API. This integration enables access to real-time web data, improving the capabilities of your AI applications.How to set up Tavily with Dify
Follow these steps to integrate Tavily with Dify:Step 1: Log in to Dify
Step 1: Log in to Dify
Go to Dify and log in to your account.
Step 2: Obtain Your Tavily API Key
Step 2: Obtain Your Tavily API Key
Go to the Tavily Dashboard to obtain your API key.
Step 3: Install the Tavily Tool
Step 3: Install the Tavily Tool
Install the Tavily tool from the Plugin Marketplace to enable integration with your Dify workflows.
Using the Tavily tool in Dify
Tavily can be utilized in various Dify application types:Chatflow / Workflow Applications
Dify’s Chatflow and Workflow applications support Tavily tool nodes, which include:- Tavily Search API – Perform dynamic web searches and retrieve up-to-date information.
- Tavily Extract API – Extract raw content from web pages.
Agent Applications
In Agent applications, you can integrate the Tavily tool to access web data in real time. Use this to:- Retrieve structured and relevant search results.
- Extract raw content for further processing.
- Provide accurate, context-aware answers to user queries.

Example use case: automated deep research
Use Tavily Search API within Dify to conduct automated, multi-step searches, iterating through multiple queries to gather, refine, and summarize insights for comprehensive reports. For a detailed walkthrough, check out this blog post: DeepResearch: Building a Research Automation App with DifyBest practices for using Tavily in Dify
- Design Concise Queries – Use focused queries to maximize the relevance of search results.
- Utilize Domain Filtering – Use the
include_domainsparameter to narrow search results to specific domains. - Enable an Agentic Workflow – Leverage an LLM to dynamically generate and refine queries for Tavily.