Skip to content

automation: ChainGPT News Feed → Content Cache (n8n + hourly) #3

Description

@devclone20

ChainGPT News → Content Cache Pipeline

Objectivo: Manter cache de notícias crypto actualizado para responder offerings de news instantaneamente.

Workflow n8n

  • Trigger: Schedule (cada hora, :00)
  • Fetch ChainGPT /ainews API — top 10 stories por categoria
  • Processar: headline, summary, source, sentiment, tokens mentioned
  • Guardar em Supabase content_cache com TTL 6h
  • Offerings servidas do cache: cryptoBreakingNews, cryptoHourlyDigest, cryptoDailyBrief, cryptoNewsFlash

ChainGPT API

POST https://webapi.chaingpt.org/ainews
X-API-Key: CHAINGPT_API_KEY

Custo: ~0.5 créditos/call (10 calls/dia = 5 créditos)

Checklist

  • CHAINGPT_API_KEY configurada no n8n
  • Supabase content_cache tabela criada
  • Workflow activo
  • Offerings lendo do cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationWorkflow automationchaingptChainGPT integrationn8nn8n workflow

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions