Overview
The 4MINDS platform integrates with Gong, allowing you to import conversation intelligence data directly into your 4MINDS datasets. You can pull in call recordings, transcripts, user profiles, activity statistics, scorecards, keyword trackers, and CRM data — all converted into readable text files for analysis.Getting Started
Prerequisites
- A Gong account with API access enabled
- Either a Gong API key pair (Access Key + Access Key Secret) or an OAuth-enabled Gong account
- Appropriate Gong permissions for the data types you want to access (see Gong API Scopes below)
Connecting Your Gong Account
The Gong integration supports two authentication methods: API Token and OAuth.Option A: API Token
- Navigate to Settings > Integrations in the 4MINDS platform.
- Find the Gong integration and click Connect.
- Select the API Token tab.
- Enter your Access Key and Access Key Secret.
- To find these: log in to Gong, go to Company Settings > API, and create a new API key if you don’t have one.
- Click Test Connection to verify your credentials.
- Click Save Credentials to complete the setup.
Note: The Access Key Secret is only shown when creating a new API key in Gong. Store it securely — you cannot retrieve it later.
Option B: OAuth
- Navigate to Settings > Integrations in the 4MINDS platform.
- Find the Gong integration and click Connect.
- Select the OAuth tab.
- Click Connect with Gong. A popup window will open.
- Log in to your Gong account and authorize 4MINDS when prompted.
- The popup will close automatically once authorization is complete.
Note: OAuth uses secure OAuth 2.0 authentication. Your Gong password is never stored by 4MINDS. Access tokens are encrypted and refreshed automatically.
Disconnecting
To disconnect your Gong account, go to Settings > Integrations, find Gong, and click Disconnect. This removes your stored credentials and revokes access.Available Data Types
Unlike file-based integrations, Gong provides data categories that are fetched from the Gong API and converted into readable text files. Each data type produces a.txt file with a descriptive header and structured records.
| Data Type | Description | Example Output |
|---|---|---|
| Calls | Call recordings and metadata — title, date, duration, direction, attendees, topics, and trackers | gong_calls_20260409_120000.txt |
| Transcripts | Full call transcripts with timestamped speaker turns | gong_transcripts_20260409_120000.txt |
| Users | Gong user profiles — name, email, title, role, and account status | gong_users_20260409_120000.txt |
| User Stats | Daily user activity and interaction statistics | gong_user-stats_20260409_120000.txt |
| Scorecards | Call scoring and evaluation template definitions | gong_scorecards_20260409_120000.txt |
| Answered Scorecards | Completed call scores and evaluations | gong_answered-scorecards_20260409_120000.txt |
| Libraries | Saved call libraries and snippet collections | gong_libraries_20260409_120000.txt |
| Trackers | Keyword and topic trackers being monitored | gong_trackers_20260409_120000.txt |
| CRM Deals | Deal data synced from your CRM into Gong | gong_crm-deals_20260409_120000.txt |
| CRM Contacts | Contact records synced from your CRM into Gong | gong_crm-contacts_20260409_120000.txt |
| CRM Accounts | Account/company data synced from your CRM into Gong | gong_crm-accounts_20260409_120000.txt |
Import Limits
Each data type imports up to 100 records per request. For data types with pagination (calls, transcripts, users, etc.), the platform fetches multiple pages until reaching the limit.Importing Data
Creating a Dataset with Gong Data
- Create a new dataset (or edit an existing one).
- Select Gong as a data source.
- The platform checks your Gong connection. If not connected, you will be prompted to set up the connection first.
- A list of all available data types is displayed with checkboxes.
- Use Select All to choose all data types, or select individual types.
- Click Add to stage the selected data types for import.
- The staged items appear in your attached files list with estimated file sizes.
- Complete the dataset creation to trigger the import.
Combining with Other Sources
Gong data can be combined with files from other sources in the same dataset. For example, you can import Gong call transcripts alongside Google Drive documents or uploaded files.Dataset Sync
Once you have imported Gong data into a dataset, you can set up automatic syncing to keep your dataset up to date with the latest data from Gong.How Sync Works
- Each Gong data type is synced independently. For example, you can sync Calls and Transcripts without syncing Users.
- On each sync cycle, the platform fetches the latest data from Gong, converts it to text, and updates the corresponding file in your dataset.
- The text file is fully regenerated on each sync (not appended), so it always reflects the current state of your Gong data.
Sync Options
- Sync specific data types: Choose which data types to keep in sync.
- Sync all: Automatically sync all data types that were originally imported.
Configuring Sync
When creating a dataset with Gong data:- Toggle Dataset Sync on before completing the dataset.
- Choose the sync frequency (e.g., daily, weekly).
- Optionally deselect specific data types from syncing.
Text File Format
Each imported file includes a descriptive header followed by structured records. Here is an example of a Calls import:Gong API Scopes
Different data types require different API permission scopes in Gong. If your API key or OAuth token does not have the required scope, that data type will return a permission error and be skipped — other data types will still import successfully.| Data Type | Required Gong Scope |
|---|---|
| Calls | api:calls:read:extensive |
| Transcripts | api:calls:read:transcript |
| Users | api:users:read |
| User Stats | api:stats:user-actions |
| Scorecards | api:settings:scorecards:read |
| Answered Scorecards | api:stats:scorecards |
| Libraries | api:library:read |
| Trackers | api:settings:trackers:read |
| CRM Deals / Contacts / Accounts | api:crm:read |
Tip: If you see a “permission” error for a specific data type, check your Gong API key scopes in Gong > Company Settings > API and ensure the required scope is enabled.
Navigation & UI Features
Data Type Selection
When importing from Gong, each data type is displayed as a card with an icon, name, and description. Select data types using the checkboxes.Select All / Deselect All
Use the Select All button at the top of the data type list to quickly select or deselect all types.Size Estimation
When you add Gong data types to your dataset, the platform fetches a preview to estimate the file size. The estimated size is displayed in the attached files list.Troubleshooting
| Issue | Solution |
|---|---|
| ”No Gong connection found” | Go to Settings > Integrations and connect your Gong account using API Token or OAuth. |
| Permission error for a data type | Your Gong API key may not have the required scope. Check Gong > Company Settings > API and enable the needed permissions. See the scopes table above. |
| 401 Unauthorized error | Your credentials may have expired or been revoked. Disconnect and reconnect your Gong account. |
| No data returned for a data type | The data type may be empty in your Gong account (e.g., no calls recorded, no CRM data synced). |
| User Stats returns no data | User Stats requires a date range. The platform defaults to the last 30 days. If your account is new, there may be no activity data yet. |
| Connection expired | For OAuth connections, the platform automatically refreshes tokens. If issues persist, disconnect and reconnect. For API Token connections, verify your key has not been revoked in Gong. |
| Popup blocked during OAuth | Enable popups for the 4MINDS site in your browser settings, then try again. |
| Import takes a long time | Some data types (calls, transcripts) may take longer to fetch if your Gong account has many records. The import fetches up to 100 records per data type. |
Security & Privacy
- OAuth 2.0: OAuth connections use industry-standard OAuth 2.0. Your Gong credentials are never stored by 4MINDS.
- Encrypted tokens: All access tokens and API key secrets are encrypted at rest.
- Automatic token refresh: OAuth tokens are refreshed automatically before they expire, so you stay connected without re-authenticating.
- Per-user access: Each user connects their own Gong account. Your Gong connection is not shared with other users on the platform.
- Data conversion: Gong data is fetched in real time and converted to text files. Raw API responses are not stored — only the formatted text content is saved in your dataset.

