![]() |
VOOZH | about |
The CData Excel Add-In for Gong provides formulas that can query Gong data. The following three steps show how you can automate the following task: Search Gong data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as APIConnection1, or a connection string. The connection string consists of the required properties for connecting to Gong data, separated by semicolons.
To authenticate to Gong, you can use API Key authentication with your Gong API Key and API Secret.
To authenticate to Gong, you must provide your Gong API Key and API Secret, along with your tenant Domain. These credentials are combined and Base64-encoded to form the Basic authentication header used for all API requests.
To authenticate using an API Key, you need to obtain your API Key and API Secret from your Gong account settings.
You can then connect by setting the AuthScheme to APIKey and providing your credentials:
Profile=C:\profiles\Gong.apip;AuthScheme=APIKey;ProfileSettings='APIKey=your_api_key;APISecret=your_api_secret;Domain=your-tenant.api.gong.io';
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM AnsweredScorecards WHERE = '"&B7&"'","Profile="&B1&";AuthScheme="&B2&";ProfileSettings="&B3&";APISecret="&B4&";Domain="&B5&";Provider=API",B8)
👁 Formula inputs used in this example. (Google Apps is shown.)Connect to live data from Gong with the API Driver
Connect to Gong