Skip to content
FlowHubFluxonLab
AI Automationfree

Intelligent Web Query and Semantic Re-Ranking Flow using Brave and Google Gemini

by Mind-Frontadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAnthropic Chat ModelAuto-fixing Output ParserAuto-fixing Output ParserBBasic LLM ChainCCodeGoogle Gemini Chat ModelHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelStructured Output ParserStructured Output Parser
Share Post Share
DTDate & TimeWeWebhookOPAuto-fixing Output Parser6Auto-fixing Out…OPAuto-fixing Output ParserAuto-fixing Out…OPStructured Output Parser1Structured Outp…CoQuery-1 CombinedRTRespond to WebhookRespond to Webh…CLSemantic Search - Result Re-RankerSemantic Search…HRQueryHRWebhook CallCLSemantic Search -Query MakerSemantic Search…Anthropic Chat ModelAnthropic Chat …OpenAI Chat ModelOpenAI Chat Mod…OPStructured Output Parser2Structured Outp…Parser ModelAgent Model1234567891011121314
1/5
FLOWS
STEPS · 14
Starts on an incoming request

Workflow Description This workflow is a powerful, fully automated web query and semantic reranking system that allows users to perform precise, detailed searches, intelligently rank search results and provide high-quality, structured output. Built with AI-powered components, the workflow leverages semantic query generation, result re-ranking, and real-time reporting to deliver actionable insights. It is particularly well-suited for real-time data retrieval, market research, and any domain requiring automated yet customizable search result processing. How It Works Webhook Integration for Input: The workflow begins with a Webhook Node that captures the user's search query as input, enabling seamless integration with other systems. Step 1: Semantic Query Generation (Powered by "Semantic Search - Query Maker"): Using AI (Google Gemini), the initial query is refined and transformed into a context-aware, expert-level search query. The process ensures that the search engine retrieves the most relevant and precise results. Step 2: Web Search Execution: A free Brave Search API processes the refined query to fetch search results, ensuring speed and cost efficiency.

Tags

n8nreference-onlychain-llmlm-chat-anthropiclm-chat-google-geminilm-chat-open-aioutput-parser-autofixingoutput-parser-structured
Connects
Anthropic Chat ModelautofixingoutputparserAuto-fixing Output ParserBBasic LLM ChainCCodeGoogle Gemini Chat ModelWHTTP Request
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes16
AddedDec 16, 2024

Related workflows

See all AI Automation
autofixingoutputparserBopenaichatmodelstructuredoutputparser
free

Force AI to use a specific output format

This workflow is for anyone looking to automatically fetch, validate, and parse complex language-based queries into a structured format. Its unique capability lies in not only processing language but also fixing invalid outputs before structuring them. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
BsheetsWopenaichatmodel
free

Scrape and score Amazon products with Apify, OpenAI, and Google Sheets

Quick overview This workflow manually scrapes product results from an Amazon search URL via the Apify Amazon Crawler actor, uses OpenAI to generate a structured product analysis (category, key feature, verdict, value score), and appends the enriched results to a Google Sheets spreadsheet. How it works Runs when you manually click “Test workflow” in n8n. Sends the configured Amazon search URL and scraping limits to the apify Amazon Crawler actor and retrieves the dataset items. Filters out any scraper items that are missing a title or contain an error. Uses OpenAI to analyze each product’s title, brand, price, rating, and review count and returns a structured category, key feature, buyer verdict, and 1–10 value score. Combines the scraped fields and AI analysis into a single row format and adds a timestamp. Appends each enriched product as a new row in Google Sheets. Setup Create an apify API token and add it as an HTTP Header Auth credential used by the Apify request. Add an OpenAI API key as an OpenAI credential and choose the model to use in the configuration. Connect a Google Sheets OAuth2 account and select the target spreadsheet, sheet tab, and columns for appending rows. Upda

by Dr. Firas
BCgmailsheets
free

Find and verify business emails with ScraperCity, OpenAI, Google Sheets, and Gmail

Quick overview This workflow reads contacts from Google Sheets, finds and verifies their business emails via the ScraperCity Email Finder API, generates a short personalized icebreaker with OpenAI, appends the enriched leads to another Google Sheet, and emails a run summary via Gmail. How it works Starts manually to run an email enrichment job. Reads contacts (first name, last name, domain) from an input Google Sheets worksheet and aggregates them into a single payload. Submits the contacts to the ScraperCity Email Finder API, then waits and repeatedly checks the job status until it succeeds or fails/times out. When the job succeeds, downloads the result CSV from ScraperCity, parses it, normalizes key fields (name, domain, email, verification status, provider), and keeps only rows with an email. For each verified contact, prompts OpenAI to generate one short, company-referencing cold-email opening line in the configured language. Appends the enriched lead (including email, status, and icebreaker) to an output Google Sheets worksheet and sends a summary email via Gmail. Setup Create a ScraperCity account with Email Finder credits and add an HTTP Header Auth credential that sends you

by Dr. Firas