📄 SKILL.md

← Vault

name: comercialrs-painel-vps-sync

description: Server-side Node.js sync from Painel do Corretor GraphQL to Supabase — runs on VPS via cron, bypassing browser CSP restrictions.


ComercialRS - Painel do Corretor VPS Sync

Context

Sync leads from Painel do Corretor (Trindade) GraphQL API to Supabase for Chatwoot Kanban. The Painel app has strict CSP that blocks GM_xmlhttpRequest from Tampermonkey and native fetch to external domains. Browser-based sync is unreliable. Server-side Node.js on VPS is the correct approach.

Painel do Corretor API

Auth