ScavioScavio
ProductoPreciosDocumentación
Iniciar sesionComenzar
  1. Inicio
  2. Flujos de trabajo
  3. Reddit Brand Alert to Slack
Flujo de trabajo

Reddit Brand Alert to Slack

Monitorear Reddit for menciones de marca y push en tiempo real alertas to Slack con Scavio. Catch conversations about your producto as they happen.

Comenzar gratisDocumentacion API

Resumen

Este flujo de trabajo searches Reddit for menciones of your marca, producto, o chosen palabras clave at regular intervals. Cuando nuevo menciones son encontrado, it formats them en un Slack mensaje con el publicacion titulo, subreddit, puntuacion, y un direct enlace. Teams usar este to catch retroalimentacion del cliente, competidor menciones, y community discussions antes de they go viral.

Desencadenador

Cron programar (cada 4 horas)

Programación

Ejecuta cada 4 horas

Pasos del flujo de trabajo

1

Define marca palabras clave

Set el lista of marca names, producto names, y competidor names to monitorear on Reddit.

2

Search Reddit via Scavio

Call el Scavio API con plataforma reddit for cada palabra clave, ordenamiento by recency.

3

Filtrar nuevo menciones

Comparar resultados contra el lista of already-seen publicacion IDs almacenado de anterior ejecuta.

4

Format Slack mensaje

Construir un Slack Block Kit mensaje con el publicacion titulo, subreddit, upvote conteo, y permalink.

5

Publicar to Slack

Enviar el formatted mensaje to el configured Slack canal via webhook.

6

Actualizar visto lista

Agregar el nuevo publicacion IDs to el visto lista so they son no alerted on again.

Implementacion en Python

Python
import requests
import json
from pathlib import Path

API_KEY = "your_scavio_api_key"
SLACK_WEBHOOK = "https://hooks.slack.com/services/YOUR/WEBHOOK/URL"

def search_reddit(query: str) -> list[dict]:
    res = requests.post(
        "https://api.scavio.dev/api/v1/search",
        headers={"x-api-key": API_KEY},
        json={"platform": "reddit", "query": query},
        timeout=15,
    )
    res.raise_for_status()
    return res.json().get("organic", [])

def send_slack(mentions: list[dict]):
    blocks = [{"type": "header", "text": {"type": "plain_text", "text": "New Reddit Mentions"}}]
    for m in mentions[:10]:
        blocks.append({
            "type": "section",
            "text": {
                "type": "mrkdwn",
                "text": f"*<{m['link']}|{m['title']}>*\nr/{m.get('subreddit', 'unknown')} | score: {m.get('score', 0)}",
            },
        })
    requests.post(SLACK_WEBHOOK, json={"blocks": blocks}, timeout=10)

def run():
    keywords = ["your-brand", "your-product"]
    seen_path = Path("seen_reddit.json")
    seen = set(json.loads(seen_path.read_text())) if seen_path.exists() else set()
    new_mentions = []

    for kw in keywords:
        results = search_reddit(kw)
        for r in results:
            post_id = r.get("link", "")
            if post_id and post_id not in seen:
                new_mentions.append(r)
                seen.add(post_id)

    if new_mentions:
        send_slack(new_mentions)
        print(f"Alerted {len(new_mentions)} new mentions")
    else:
        print("No new mentions")

    seen_path.write_text(json.dumps(list(seen)))

if __name__ == "__main__":
    run()

Implementacion en JavaScript

JavaScript
const API_KEY = "your_scavio_api_key";
const SLACK_WEBHOOK = "https://hooks.slack.com/services/YOUR/WEBHOOK/URL";

async function searchReddit(query) {
  const res = await fetch("https://api.scavio.dev/api/v1/search", {
    method: "POST",
    headers: {
      "x-api-key": API_KEY,
      "content-type": "application/json",
    },
    body: JSON.stringify({ platform: "reddit", query }),
  });
  if (!res.ok) throw new Error(`scavio ${res.status}`);
  const data = await res.json();
  return data.organic ?? [];
}

async function sendSlack(mentions) {
  const blocks = [
    { type: "header", text: { type: "plain_text", text: "New Reddit Mentions" } },
  ];
  for (const m of mentions.slice(0, 10)) {
    blocks.push({
      type: "section",
      text: {
        type: "mrkdwn",
        text: `*<${m.link}|${m.title}>*\nr/${m.subreddit ?? "unknown"} | score: ${m.score ?? 0}`,
      },
    });
  }
  await fetch(SLACK_WEBHOOK, {
    method: "POST",
    headers: { "content-type": "application/json" },
    body: JSON.stringify({ blocks }),
  });
}

async function run() {
  const fs = await import("fs/promises");
  const keywords = ["your-brand", "your-product"];
  let seen = new Set();
  try {
    seen = new Set(JSON.parse(await fs.readFile("seen_reddit.json", "utf8")));
  } catch {}

  const newMentions = [];

  for (const kw of keywords) {
    const results = await searchReddit(kw);
    for (const r of results) {
      if (r.link && !seen.has(r.link)) {
        newMentions.push(r);
        seen.add(r.link);
      }
    }
  }

  if (newMentions.length) {
    await sendSlack(newMentions);
    console.log(`Alerted ${newMentions.length} new mentions`);
  } else {
    console.log("No new mentions");
  }

  await fs.writeFile("seen_reddit.json", JSON.stringify([...seen]));
}

run();

Plataformas utilizadas

Reddit

Comunidad, publicaciones y comentarios en hilos de cualquier subreddit

Preguntas frecuentes

Este flujo de trabajo searches Reddit for menciones of your marca, producto, o chosen palabras clave at regular intervals. Cuando nuevo menciones son encontrado, it formats them en un Slack mensaje con el publicacion titulo, subreddit, puntuacion, y un direct enlace. Teams usar este to catch retroalimentacion del cliente, competidor menciones, y community discussions antes de they go viral.

Este flujo de trabajo usa un cron programar (cada 4 horas). Ejecuta cada 4 horas.

Este flujo de trabajo usa las siguientes plataformas de Scavio: reddit. Cada plataforma se llama a traves del mismo endpoint de API unificado.

Si. El plan gratuito de Scavio incluye 50 creditos al registrarte sin tarjeta de credito. Es suficiente para probar y validar este flujo de trabajo antes de escalarlo.

Reddit Brand Alert to Slack

Monitorear Reddit for menciones de marca y push en tiempo real alertas to Slack con Scavio. Catch conversations about your producto as they happen.

Obtener tu clave APILeer la documentacion
ScavioScavio

API de busqueda en tiempo real para agentes de IA. Busca en todas las plataformas, no solo en Google.

Producto

  • Funciones
  • Precios
  • Panel
  • Afiliados

Desarrolladores

  • Documentacion
  • Referencia de API
  • Inicio rapido
  • Integracion MCP
  • Python SDK

Alternativas

  • Alternativa a Tavily
  • Alternativa a SerpAPI
  • Alternativa a Firecrawl
  • Alternativa a Exa

Herramientas

  • Formateador JSON
  • cURL a codigo
  • Contador de tokens
  • Todas las herramientas

© 2026 Scavio. Todos los derechos reservados.

Featured on TAAFT
Terminos de servicioPolitica de privacidad