Gong

From BuilderIO/agent-native · View interactive version

Gong is an AI agent skill from the GitHub repository BuilderIO/agent-native. Search sales call recordings, transcripts, and participants via Gong. Use this skill when the user asks about sales calls, customer conversations, or call transcripts.

How to use this skill

Skill file

Gong Integration (Sales Calls)

Connection

Server Lib & Action

or deal investigations.

Exported Functions

| Function | Description |

| ----------------------------- | ----------------------------------------------------------- |

| getCalls(filters?) | List calls (cursor-paginated) |

| getCall(callId) | Get single call detail |

| getCallTranscript(callId) | Get one call transcript |

| getCallTranscripts(callIds) | Batch-fetch call transcripts |

| getUsers() | List Gong users |

| searchCalls(query, days) | List + filter by title and external party name/email/domain |

| getCallDetail(callId) | Get parties plus Gong brief/key points/outline |

| getEnrichedTranscript(id) | Transcript mapped to Gong parties and external speakers |

UI API Routes

| Route | Description |

| --------------------- | ----------------- |

| GET /api/gong/calls | List/search calls |

| GET /api/gong/users | List users |

Use gong-calls for agent-facing Gong work. Do not call /api/gong/*

directly from the agent.

Script Usage

# Recent calls with a customer, including call-content evidence
pnpm action gong-calls --company="Example Inc" --days=180 --includeTranscripts=true --transcriptLimit=5

# HubSpot + Gong account/deal deep dive
pnpm action account-deep-dive --query="Example Inc" --days=180 --gongLimit=10 --transcriptLimit=5

# Get compact transcript text
pnpm action gong-calls --transcript=<callId>

# Get the raw transcript payload only for debugging/export
pnpm action gong-calls --transcript=<callId> --rawTranscript=true

# List Gong users
pnpm action gong-calls --users

Key Patterns & Gotchas

Complete-Coverage Transcript Scan

When the question asks whether any call in a cohort mentions something, do not

answer from call metadata, titles, briefs, or sampled transcript excerpts. Use a

raw transcript corpus path:

  1. Discover or stage the exact call IDs in scope with bounded filters and

explicit coverage counts.

  1. Prefer provider-corpus-job with mode: "batch-search" against

POST /calls/transcript.

  1. Use batch.itemBodyPath: "filter.callIds", `batch.responseItemsPath:

"callTranscripts", batch.batchSize: 20, search.textPaths:

["transcript"], and search.idPaths: ["callId"]`.

  1. Join the stored hits back to deals/accounts with run-code or staged-dataset

queries, then report cohort size, call IDs discovered, transcript records

scanned, hits, errors, and quota gaps.

Use provider-api-catalog --provider=gong to retrieve the reusable corpus

recipe. A metadata scan over /calls or /calls/extensive is useful for call

discovery, but it is not evidence that transcript text lacks a phrase.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.