Skip to content

Gong ​

Gong is a revenue intelligence platform that records, transcribes, and analyzes sales calls and meetings.

ingestr supports Gong as a source.

URI format ​

With an API access key:

plaintext
gong://?access_key=<access-key>&access_key_secret=<access-key-secret>

With an OAuth access token:

plaintext
gong://?access_token=<access-token>&base_url=<api-base-url-for-customer>

URI parameters:

  • access_key and access_key_secret: An API access key and its secret.
  • access_token: An OAuth access token, instead of access_key and access_key_secret.
  • base_url (optional): The Gong API base URL. Defaults to https://api.gong.io. OAuth apps must use the api_base_url_for_customer returned with the token.

Setting up a Gong integration ​

To create an access key, you need to be a technical administrator in Gong:

  1. In Gong, open Company Settings → Ecosystem → API.
  2. Click Create and copy the Access Key and Access Key Secret.

Once you have them, here's a sample command that copies Gong calls into a DuckDB database:

sh
ingestr ingest \
  --source-uri 'gong://?access_key=your_access_key&access_key_secret=your_secret' \
  --source-table 'calls' \
  --dest-uri duckdb:///gong.duckdb \
  --dest-table 'gong.calls' \
  --interval-start '2026-01-01' \
  --interval-end '2026-02-01'

Tables ​

TablePKInc KeyInc StrategyDetails
usersid-replaceAll Gong users, active and inactive, with their settings.
workspacesid-replaceThe company's workspaces.
scorecardsscorecardId-replaceScorecard definitions with their questions.
callsidstartedmergeCalls with their metadata, parties, CRM context (linked accounts, opportunities, contacts and their fields), content (topics, trackers, brief, outline, highlights, key points, call outcome), interaction stats, and public comments. id and started are copied from metaData.
call_transcriptscallIdstartedmergeOne row per call with its transcript: the monologues with speaker, topic, and timed sentences. started is the call's start time.
stats_activity_day_by_dayuserId, datedatedelete+insertOne row per user and day with the IDs of the calls the user hosted, attended, listened to, shared, commented on, gave or received feedback or scorecards on.
stats_interactionuserId, datedatedelete+insertOne row per user and day with the user's interaction stats (longest monologue, longest customer story, interactivity, patience, question rate) for calls with Whisper turned on.

Use these as --source-table parameter in the ingestr ingest command.

Notes ​

  • calls and call_transcripts select calls by start time (the scheduled time for web conferences recorded by Gong). Without an interval they load every call.
  • Gong has no last-modified time for calls, so an edit to a call (a new title, updated CRM context, a comment) is picked up only when a later run covers the call's start time again. Re-run past windows when you need those edits; both tables merge, so overlapping runs don't duplicate rows.
  • A call's transcript appears once Gong has processed the recording. A run right after the call may load the call without its transcript; the next run that covers the call adds it.
  • stats_activity_day_by_day and stats_interaction are loaded in whole days, in the company's timezone set in Gong. Each run replaces the days from --interval-start through --interval-end, inclusive. Without an interval, they load the last 30 days.
  • Gong serves stats for a day only once the day is over in the company's timezone, which ingestr reads from Gong. A run fails when none of its days are over yet, so they aren't skipped; days at the end of the interval that aren't over yet are left for a later run. Without access to it (it needs the api:stats:user-actions scope with OAuth), ingestr assumes UTC-12; if reading it fails for another reason, a run that reaches the last two days fails instead of loading fewer days than it replaces.
  • Gong allows 10,000 API requests per day for the whole company by default. Large backfills of calls, call_transcripts, and stats_interaction (one request per day) use up that quota quickly; if Gong reports it is used up, the run fails and can be retried the next day.
  • The access key, or the OAuth token's scopes, need read access to every table you load: for example api:calls:read:extensive for calls and api:calls:read:transcript for call_transcripts.