0.1.15 • Published 2 months ago

@tavily/n8n-nodes-tavily v0.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@tavily/n8n-nodes-tavily

@tavily/n8n-nodes-tavily is a node for n8n that integrates the Tavily API, enabling powerful web search and content extraction within your no-code automation workflows.

Features

Tavily Search

Tavily Search allows you to query the web with powerful filtering capabilities, including options to refine results by topic, time range, and specific domains to include or exclude. You can choose to retrieve a generated answer, raw content, or even related images, depending on your workflow needs. It also supports different search depths—basic or advanced.

Tavily Extract

Tavily Extract allows you to effortlessly retrieve raw content from a list of websites, making it ideal for data collection, content analysis, and research. You can also combine Tavily Extract with our Search method: first, obtain a list of relevant documents, then perform further processing on selected links to gather additional information and use it as context for your research tasks.

Getting a Tavily API Key

  1. Go to the Tavily website and create an account
  2. Navigate to the Tavily dashboard to get your API key

Configuring Credentials in n8n

  1. In your n8n instance, go to the "Credentials" section
  2. Click "Create Credential"
  3. Search for or select "Tavily API"
  4. Enter your Tavily API key in the appropriate field
  5. Save the credential

Usage

Tavily Search

  1. Add the "Tavily" node to your n8n workflow
  2. Connect it to the preceding node in your workflow
  3. Click on 'Search'
  4. In the node's settings:
    • Select your Tavily API
    • Enter your search query
    • Configure any other desired search parameters (topic, search depth, etc.)
  5. Run the workflow to execute the search

Tavily Extract

  1. Add the "Tavily" node to your n8n workflow
  2. Connect it to the preceding node
  3. Click on 'Extract'
  4. In the node's settings:
    • Select your Tavily API credential
    • Enter the URLs you want to extract content from
    • Configure any other extraction parameters (include images, extract depth)
  5. Run the workflow to extract the content

Parameters

Tavily Search Parameters

ParameterDescription
QueryThe search query to execute
TopicThe category of the search (General, News, or Finance)
Search DepthThe depth of the search (Basic or Advanced)
Chunks Per Source (Advanced Search only)Number of content chunks to retrieve from each source (1-3)
Max ResultsMaximum number of search results to return (1-20)
Time RangeTime range filter for results (day, week, month, year)
Days (News Only)Number of days back from the current date to include (for News topic)
Include AnswerInclude an LLM-generated answer in the response (Basic or Advanced)
Include Raw ContentInclude cleaned and parsed HTML content of each search result
Include ImagesPerform an image search and include the results in the response
Include Image DescriptionsWhen including images, also add a descriptive text for each image
Include DomainsA list of domains to specifically include in the search results
Exclude DomainsA list of domains to specifically exclude from the search results

Tavily Extract Parameters

ParameterDescription
URLsOne or more URLs to extract content from
Include ImagesInclude a list of images extracted from each URL
Extract DepthHow deeply to parse each URL (Basic or Advanced)

Troubleshooting

Error Codes

Error CodeDescriptionSolution
400 Bad RequestInvalid request parameters or unsupported valuesCheck all parameters and their formats
401 UnauthorizedMissing or invalid API keyVerify API key or generate a new one
429 Too Many RequestsRate limit exceededReduce request frequency or implement backoff
432 Plan Limit ExceededExceeds plan limitsUpgrade your plan via Tavily Dashboard
433 Pay-As-You-Go Limit ExceededExceeds pay-as-you-go limitIncrease limit via Tavily Dashboard
500 Internal Server ErrorServer-side issueRetry request after a few minutes

Cost

Head to the API Credits Overview in our documentation to learn more about how many API Credits each request costs.

License

This project is licensed under the terms of the MIT license.

Contact

If you are encountering issues while using Tavily, please email us at support@tavily.com. We'll be happy to help you.

If you want to stay updated on the latest Tavily news and releases, head to our Developer Community to learn more!

0.1.15

2 months ago

0.1.14

2 months ago

0.1.13

2 months ago

0.1.11

3 months ago

0.1.10

3 months ago

0.1.7

3 months ago

0.1.6

3 months ago

0.1.5

3 months ago

0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago