Workflow

Article to Social Posts via Scavio and n8n

Turn one article into LinkedIn, X, and Reddit posts automatically using n8n + Scavio for competitor research and discussion quotes.

Overview

Replaces the viral r/n8n 20-hour build. Takes an article URL or text, researches competitor takes on Google SERP, mines Reddit discussion quotes, and outputs three platform-tuned posts (LinkedIn, X thread, Reddit draft) ready for review in Slack.

Trigger

Webhook on publish or manual trigger with article URL

Schedule

Triggered on article publish

Workflow Steps

1

Ingest article

Webhook accepts article URL or raw text and extracts the main topic.

2

Competitor SERP research

Scavio Google search for the topic to pull 10 competing takes.

3

Reddit quote mining

Scavio Reddit search for community quotes and real phrasing.

4

LLM generation

Prompt an LLM with article + SERP + Reddit to draft LinkedIn, X thread, and Reddit variants.

5

Review in Slack

Drop the three drafts into a #social-drafts channel for human approval.

6

Publish on approve

Emoji reaction triggers auto-publish to LinkedIn, X, and Buffer.

Python Implementation

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

def research(topic):
    serp = requests.post("https://api.scavio.dev/api/v1/search",
        headers=H, json={"query": f"{topic} perspective"}).json()
    rdt = requests.post("https://api.scavio.dev/api/v1/search",
        headers=H, json={"platform": "reddit", "query": topic}).json()
    return {"serp": serp.get("organic_results", [])[:10],
            "reddit": rdt.get("posts", [])[:10]}

print(research("ai coding agents 2026"))

JavaScript Implementation

JavaScript
const API_KEY = process.env.SCAVIO_API_KEY;
const H = { "x-api-key": API_KEY, "content-type": "application/json" };
async function research(topic) {
  const [serp, rdt] = await Promise.all([
    fetch("https://api.scavio.dev/api/v1/search", {
      method: "POST", headers: H, body: JSON.stringify({ query: topic + " perspective" })
    }).then(r => r.json()),
    fetch("https://api.scavio.dev/api/v1/search", {
      method: "POST", headers: H, body: JSON.stringify({ platform: "reddit", query: topic })
    }).then(r => r.json())
  ]);
  return { serp: serp.organic_results?.slice(0,10), reddit: rdt.posts?.slice(0,10) };
}
console.log(await research("ai coding agents 2026"));

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Reddit

Community, posts & threaded comments from any subreddit

Frequently Asked Questions

Replaces the viral r/n8n 20-hour build. Takes an article URL or text, researches competitor takes on Google SERP, mines Reddit discussion quotes, and outputs three platform-tuned posts (LinkedIn, X thread, Reddit draft) ready for review in Slack.

This workflow uses a webhook on publish or manual trigger with article url. Triggered on article publish.

This workflow uses the following Scavio platforms: google, reddit. 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.

Article to Social Posts via Scavio and n8n

Turn one article into LinkedIn, X, and Reddit posts automatically using n8n + Scavio for competitor research and discussion quotes.