Skip to content

Comments

feat(gong): add Gong integration with 18 API tools#3316

Merged
waleedlatif1 merged 4 commits intostagingfrom
feat/tools
Feb 24, 2026
Merged

feat(gong): add Gong integration with 18 API tools#3316
waleedlatif1 merged 4 commits intostagingfrom
feat/tools

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • Add full Gong integration with 18 tools: list/get calls, transcripts, extensive call data, users, activity stats, interaction stats, scorecards, library folders, folder content, trackers, workspaces, flows, coaching, and data privacy lookups
  • Block config with operation dropdown, wandConfig on timestamp fields, advanced mode for optional params
  • Basic Auth (accessKey + accessKeySecret)

Type of Change

  • New feature

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 24, 2026 1:57am

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 24, 2026

Greptile Summary

Added comprehensive Gong revenue intelligence integration with 18 API tools covering calls, transcripts, users, activity stats, scorecards, library content, coaching metrics, and data privacy lookups. Implementation follows established patterns with proper Basic Auth using user-only credential visibility, consistent error handling, comprehensive TypeScript types, and wandConfig for natural language timestamp input. All tools registered correctly and documentation complete.

Confidence Score: 5/5

  • This PR is safe to merge with no concerns
  • All 18 tools follow established patterns, credentials use correct user-only visibility, comprehensive type safety throughout, proper error handling, and no logical or security issues found
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/blocks/blocks/gong.ts Added comprehensive Gong block configuration with 18 operations, proper auth, wandConfig for timestamps, and advanced mode for optional params
apps/sim/tools/gong/types.ts Defined comprehensive TypeScript types for all 18 Gong API operations with proper type safety
apps/sim/tools/gong/list_calls.ts Implemented list calls tool with proper Basic Auth, user-only credential visibility, and comprehensive output types
apps/sim/tools/gong/get_extensive_calls.ts Implemented extensive calls tool with comprehensive content selector for trackers, topics, highlights, and interaction stats
apps/sim/tools/gong/aggregate_activity.ts Implemented activity aggregation tool with detailed user activity metrics and proper date filtering
apps/sim/tools/registry.ts Registered all 18 Gong tools in the global tool registry
apps/sim/blocks/registry.ts Registered Gong block in alphabetical position in block registry

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Gong Block Config] --> B{Operation Selection}
    B --> C[List Calls]
    B --> D[Get Call Details]
    B --> E[Get Transcripts]
    B --> F[Get Extensive Calls]
    B --> G[User Operations]
    B --> H[Stats Operations]
    B --> I[Library/Content]
    B --> J[Data Privacy]
    
    C --> K[Basic Auth]
    D --> K
    E --> K
    F --> K
    G --> K
    H --> K
    I --> K
    J --> K
    
    K --> L[Gong API]
    
    G --> M[List Users]
    G --> N[Get User]
    
    H --> O[Aggregate Activity]
    H --> P[Interaction Stats]
    H --> Q[Answered Scorecards]
    
    I --> R[List Library Folders]
    I --> S[Get Folder Content]
    I --> T[List Scorecards]
    I --> U[List Trackers]
    I --> V[List Workspaces]
    I --> W[List Flows]
    I --> X[Get Coaching]
    
    J --> Y[Lookup Email]
    J --> Z[Lookup Phone]
    
    L --> AA[Transform Response]
    AA --> AB[Return Structured Data]
Loading

Last reviewed commit: 65298fe

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

28 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@waleedlatif1 waleedlatif1 merged commit fe34d23 into staging Feb 24, 2026
2 of 3 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/tools branch February 24, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant