PluginsTavily
Tavily Webhooks
Webhooks for the Tavily plugin
The Tavily plugin is a search API and does not support incoming webhook events.
Full Implementation: See the Tavily plugin source code.
No Webhook Events
Tavily is a request/response API. All interactions are initiated by your application calling the search endpoint — Tavily does not push events to your server.
If you need to run searches on a schedule or in response to other events, use a background job system:
// Run a search in response to an event
export const searchOnDemand = inngest.createFunction(
{ id: "tavily-search" },
{ event: "app/search-requested" },
async ({ event }) => {
const results = await corsair.tavily.api.search({
query: event.data.query,
search_depth: "advanced",
});
return results.data;
}
);