Workflow

n8n LLM Research Pipeline Workflow

n8n workflow combining Scavio search, extract, and LLM summary. Replaces Tavily + Firecrawl with one vendor.

Overview

n8n workflow for LLM-driven research. Webhook trigger receives a topic, fans out to Scavio search, extracts top 5 results, summarizes each with LLM node, returns combined brief.

Trigger

Webhook (ad-hoc) or Cron (scheduled digest)

Schedule

Webhook or daily

Workflow Steps

1

Webhook Trigger or Cron

Webhook for on-demand; Cron for daily.

2

Scavio search HTTP node

POST /api/v1/search with topic.

3

Split In Batches over top 5 results

Loop per result.

4

Scavio extract HTTP node per result

POST /api/v1/extract returning markdown.

5

LLM node summarizes each

Claude / GPT / Groq, 200-word brief.

6

Merge node

Combine into single response.

7

Respond to Webhook

Return combined brief.

Python Implementation

Python
import os, requests
API_KEY = os.environ['SCAVIO_API_KEY']
H = {'x-api-key': API_KEY}

def research(topic):
    s = requests.post('https://api.scavio.dev/api/v1/search', headers=H, json={'query': topic}).json()
    out = []
    for r in s.get('organic_results', [])[:5]:
        e = requests.post('https://api.scavio.dev/api/v1/extract', headers=H, json={'url': r['link'], 'format': 'markdown'}).json()
        out.append({'url': r['link'], 'md': e.get('markdown', '')[:3000]})
    return out

JavaScript Implementation

JavaScript
// In n8n use HTTP Request nodes. Equivalent TS:
const H = { 'x-api-key': process.env.SCAVIO_API_KEY, 'Content-Type': 'application/json' };
async function research(topic) {
  const s = await fetch('https://api.scavio.dev/api/v1/search', { method: 'POST', headers: H, body: JSON.stringify({ query: topic }) }).then(r => r.json());
  return s;
}

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

n8n workflow for LLM-driven research. Webhook trigger receives a topic, fans out to Scavio search, extracts top 5 results, summarizes each with LLM node, returns combined brief.

This workflow uses a webhook (ad-hoc) or cron (scheduled digest). Webhook or daily.

This workflow uses the following Scavio platforms: google. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 500 credits per month with no credit card required. That is enough to test and validate this workflow before scaling it.

n8n LLM Research Pipeline Workflow

n8n workflow combining Scavio search, extract, and LLM summary. Replaces Tavily + Firecrawl with one vendor.