Raynet CRM integrácia
Bilateral sync — push leadov + pull dealov. Cron každý deň 04:00, custom fields, status mapping.
5 min čítania
Architektúra
Bilateral sync medzi Raynet a Kovrin Workspace:
- Outbound (push): form submissions →
/api/raynet/sync-lead→ Raynet Lead s custom fields - Inbound (pull): denný cron
/api/cron/raynet-sync→ pull updated Leads + Deals → mirror do INLINECODE_2
Env setup
CODEBLOCK_0
Custom fields
Pri Lead create posielame:
lead_source— demo_gate / quiz / audit / contact / newsletterdemo_segment— gastro / cross-border / vyroba / na-mierudemo_path— full URL kde lead konvertoval
Stage mapping
Raynet stages → Kovrin lifecycle_stage:
NEW→newCONTACTED→contactedQUALIFIED→qualifiedWON→customerLOST→ INLINECODE_15
Health check
INLINECODE_16 → live health panel → "Raynet CRM" tile. Ukazuje:
- Status (active / pending / inactive)
- Latency (ms)
- Total leads count
- Posledný sync timestamp
Disable
V .env.local odkomentuj RAYNET_* env vars → cron skipne, manual endpoints vrátia 503.
Pripravený vyskúšať Kovrin Workspace?