AI Agents

Intelligent web query and semantic reordering flow

20 nodes 215 152 Webhook
Download

Workflow Description

An intelligent automation flow that receives queries via webhook, processes them through multiple language models (Anthropic, OpenAI, Gemini), performs semantic reordering of results, and returns organized responses instantly.

How it works

  1. 1.Receive incoming query via webhook trigger
  2. 2.Process query through parallel LLM chains with structured output parsing
  3. 3.Reorder and rank results based on semantic relevance
  4. 4.Return formatted response via webhook respondent

Use cases

  • Enhance web search results with intelligent semantic reordering
  • Handle complex natural language queries using multiple AI models in parallel

Requirements

  • API keys for Anthropic, OpenAI, and Gemini services
  • Understanding of LLM chain configuration and structured output parsing techniques

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Output Parser LLM Chain Anthropic OpenAI Gemini

Details

Trigger Webhook
Nodes 20
Apps 5
Views 215
Downloads 152

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (20)

/

Sticky Note4

Sticky Note

#1

Sticky Note

Sticky Note

#2

Date & Time

Date Time

#3

Webhook

Webhook

#4

Auto-fixing Output Parser6

Output Parser Autofixing

#5

Auto-fixing Output Parser

Output Parser Autofixing

#6

Structured Output Parser1

Output Parser Structured

#7

Query-1 Combined

Code

#8

Respond to Webhook

Webhook

#9

Semantic Search - Result Re-Ranker

LLM Chain

#10

Query

HTTP Request

#11

Webhook Call

HTTP Request

#12

Sticky Note6

Sticky Note

#13

Semantic Search -Query Maker

LLM Chain

#14

Anthropic Chat Model

Lm Chat Anthropic

#15

OpenAI Chat Model

OpenAI

#16

Structured Output Parser2

Output Parser Structured

#17

Parser Model

Gemini Model

#18

Agent Model

Gemini Model

#19

Sticky Note5

Sticky Note

#20