AI Agents

Intelligent web query and semantic reordering flow

20 nodes 210 130 Webhook
Download

Workflow Description

An advanced workflow that receives queries via webhook, routes them to multiple AI models (Claude, GPT, and Gemini), analyzes responses through structured parsers, applies semantic reordering logic, and returns optimized results formatted and parsed for client consumption.

How it works

  1. 1.Receive incoming query through webhook trigger and capture timestamp
  2. 2.Send query to parallel LLM chains across three AI providers simultaneously
  3. 3.Process responses using structured output parsers with automatic error correction
  4. 4.Apply semantic reordering logic to prioritize and rank results intelligently
  5. 5.Return formatted and validated response through webhook response node

Use cases

  • Process complex search queries by leveraging multiple LLMs in parallel for comprehensive results
  • Improve answer quality through semantic analysis and intelligent ranking of responses

Requirements

  • Valid API keys configured for Anthropic, OpenAI, and Google Gemini
  • Clear understanding of expected input data format and output schema requirements

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 210
Downloads 130

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