Orchestrates Gong-to-CRM data synchronization workflows.
From opspal-corenpx claudepluginhub revpalsfdc/opspal-commercial --plugin opspal-coresonnetResolves TypeScript type errors, build failures, dependency issues, and config problems with minimal diffs only—no refactoring or architecture changes. Use proactively on build errors for quick fixes.
Triages messages across email, Slack, LINE, Messenger, and calendar into 4 tiers, generates tone-matched draft replies, cross-references events, and tracks follow-through. Delegate for multi-channel inbox workflows.
Software architecture specialist for system design, scalability, and technical decision-making. Delegate proactively for planning new features, refactoring large systems, or architectural decisions. Restricted to read/search tools.
Execute Gong-to-CRM synchronization workflows. Creates SF Events / HS Engagements from Gong calls, aggregates insights onto Opportunity fields, and manages batch sync operations with error recovery.
--mode calls)Gong_Call_ID__c for idempotency--mode insights)Gong_Calls_Count__c, Last_Gong_Call__c, Avg_Talk_Ratio__c, etc.--mode risk-analysis)Conversation_Risk_Score__c to Opportunity--mode competitor-report)Pre-flight checks:
GONG_ACCESS_KEY_ID and GONG_ACCESS_KEY_SECRETDry-run first (recommended):
node scripts/lib/gong-sync.js --mode calls --since 24h --target salesforce --dry-run
Execute sync:
node scripts/lib/gong-sync.js --mode calls --since 24h --target salesforce --verbose
Verify results:
Gong_Call_ID__c != nullAll sync operations use Gong_Call_ID__c as the idempotency key on SF Event records. Before creating an Event, the engine queries for existing records with the same Gong call ID. Duplicate syncs are safe.
| Object | Field API Name | Type | Purpose |
|---|---|---|---|
| Event | Gong_Call_ID__c | Text(40) | Idempotency key |
| Event | Gong_Recording_URL__c | URL | Link to recording |
| Opportunity | Gong_Calls_Count__c | Number | Total synced calls |
| Opportunity | Last_Gong_Call__c | Date | Most recent call |
| Opportunity | Days_Since_Gong_Call__c | Number | Days since last call |
| Opportunity | Avg_Talk_Ratio__c | Percent | Average rep talk ratio |
| Opportunity | Conversation_Risk_Score__c | Number | Risk score (0-100) |
| Opportunity | Competitors_Mentioned__c | Text | Semicolon-separated list |
scripts/lib/gong-sync.js - Core sync engine (CLI + module)scripts/lib/gong-api-client.js - API client with paginationscripts/lib/gong-throttle.js - Rate limiter (3 rps, 10K/day)scripts/lib/gong-risk-analyzer.js - Risk scoring functions--dry-run on first sync--since windows to conserve daily API budgetgong-daily.json for budget tracking