Intelligent Web Query and Semantic Re-Ranking Flow
Configured with Chain LLM, Date Time, HTTP Request, Anthropic Chat Model, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Transform
- Trigger
- Code
- Web / API
- AI & models
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Date & Time | Transform | Date Time | See node parameters |
| Webhook | Trigger | Webhook | See node parameters |
| Auto-fixing Output Parser6 | Transform | Output Parser Autofixing | See node parameters |
| Auto-fixing Output Parser | Transform | Output Parser Autofixing | See node parameters |
| Structured Output Parser1 | Transform | Output Parser Structured | See node parameters |
| Query-1 Combined | Code | Code | See node parameters |
| Respond to Webhook | Web / API | Respond To Webhook | See node parameters |
| Semantic Search - Result Re-Ranker | AI & models | Chain LLM | See node parameters |
| Query | Web / API | HTTP Request | See node parameters |
| Webhook Call | Web / API | HTTP Request | See node parameters |
| Semantic Search -Query Maker | AI & models | Chain LLM | See node parameters |
| Anthropic Chat Model | AI & models | Anthropic Chat Model | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Structured Output Parser2 | Transform | Output Parser Structured | See node parameters |
| Parser Model | AI & models | LM Chat Google Gemini | See node parameters |
| Agent Model | AI & models | LM Chat Google Gemini | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
anthropicApigooglePalmApiopenAiApi
Workflow notes
Step 1. Set Up a Free Brave Web Search Query API Key
Step 1. Set Up a Free Brave Web Search Query API Key
To attain the free web search API tier from Brave, follow these steps:
- Visit api.search.brave.com
- Create an account
- Subscribe to the free plan (no charge)
- Navigate to the API Keys section
- Generate an API key. For the subscription type, choose "Free".
- Go to the "Query" Nodes and change the "X-Subscription-Token" value to your API Key.
If you require to change this Node to Webhook Or any Other Item:
If you require to change this Node to Webhook Or any Other Item:
- In case you want to change the input type from Webhook to any other item, Make sure to go to the Query 1 and Query 1 Ranker and replace the Webhook Input to your Node's input.
Step 2. Setup the Webhook Call Node
Step 2. Setup the Webhook Call Node
Instructions for Setting Up the Webhook Call and Using It in Your Workflow
This node is designed to send a web search query to the workflow (partly built in this chart) and return the results. Follow these steps to correctly configure and use it:
-
Locate the "Webhook" Node in the Workflow:
- Navigate to the workflow above, the first item, the "Webhook" node.
- In the "Webhook" node, change the Webhook URL option from "Test URL" to "Production URL."
- Copy the generated Production URL.
-
Paste the Webhook URL in the HTTP Node:
- In your target workflow, locate the HTTP Request node.
- Paste the copied Production URL into the URL field of the HTTP Request node. This connects the two workflows.
-
Send the Research Request:
- When sending the request to this workflow, make sure to include your web search query in the "Research Question" parameter of the HTTP Request node.
-
Move the Webhook Call Node:
- Move this Webhook Call Node into the workflow where you need the research results. Ensure that it’s correctly connected and configured to send the data to the main workflow.
Customized Models to Replace
Customized Models to Replace
In case you rather to use another LLM Model to Perform the Semantic Search and Re-Ranking, These nodes below are Optimized based on the LLM Structure of OpenAI GPT4o & Anthropic Claude.
Intelligent Web Query and Semantic Re-Ranking Flow
Intelligent Web Query and Semantic Re-Ranking Flow
Purpose and structure
This folder contains the Intelligent Web Query and Semantic Re-Ranking Flow workflow. Its executable nodes use chainLlm, code, dateTime, httpRequest, lmChatAnthropic, lmChatGoogleGemini, lmChatOpenAi, outputParserAutofixing, outputParserStructured, respondToWebhook, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Datetime/2003_Datetime_Code_Automation_Webhook.json MIT; preserve source notices.