AI Agents

Intelligent web query and semantic reordering flow

20 nodes 211 118 Webhook
Download

Workflow Description

An intelligent automation flow that receives queries via webhook, processes them through multiple language models (Anthropic, OpenAI, and Gemini), and returns semantically reordered results in structured format via HTTP or direct response.

How it works

  1. 1.Receive incoming query through webhook and parse request parameters
  2. 2.Process query through multiple LLM chains to generate rich results
  3. 3.Reorder results semantically using structured output parser
  4. 4.Send reordered results via HTTP endpoint or direct webhook response

Use cases

  • Smart search engines that rank results by semantic relevance
  • Question-answering systems with automatic answer reordering
  • Multi-language query processing across different language models
  • Dynamic content search with intelligent result ranking

Requirements

  • API keys for Anthropic, OpenAI, and Google Gemini
  • Content database or external data source to query against
  • Advanced output formatting and error handling capabilities

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 211
Downloads 118

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