KosmoKrator

communication

Gong CLI for Coding Agents

Use the Gong CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

8 functions 8 read 0 write API key auth

Gong CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Gong CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Gong CLI for Coding Agents
kosmokrator integrations:configure gong --set access_key="$GONG_ACCESS_KEY" --set access_key_secret="$GONG_ACCESS_KEY_SECRET" --enable --read allow --write ask --json
kosmo integrations:call gong.gong_list_calls '{"fromDateTime":"example_fromDateTime","toDateTime":"example_toDateTime","workspaceId":"example_workspaceId","userId":"example_userId","cursor":"example_cursor","limit":1}' --json

Discovery Before Execution

Agents and scripts can inspect Gong docs and schemas before choosing a function.

kosmo integrations:docs gong --json
kosmo integrations:docs gong.gong_list_calls --json
kosmo integrations:schema gong.gong_list_calls --json
kosmo integrations:search "Gong" --json
kosmo integrations:list --json

Useful Gong CLI Functions

FunctionTypeParametersDescription
gong.gong_list_calls Read fromDateTime, toDateTime, workspaceId, userId, cursor, limit List call recordings from Gong. Filter by date range, participants, or other criteria. Returns call metadata including title, duration, participants, and timestamps.
gong.gong_get_call Read callId Get detailed information about a specific call in Gong, including metadata, participants, and tracking data.
gong.gong_list_transcripts Read page, limit, download_date, call_type, status List call transcripts from Gong. Filter by download date, call type, or status. Returns transcript metadata including call ID, language, and processing status.
gong.gong_get_transcript Read transcript_id Get the full transcript of a specific call in Gong, including speaker turns, timestamps, and transcript metadata.
gong.gong_list_users Read cursor, limit List users in the Gong workspace. Returns user details including name, email, title, and manager.
gong.gong_list_deals Read fromDateTime, toDateTime, pipelineId, stageIds, cursor, limit List deals tracked in Gong. Filter by date range or pipeline stage. Returns deal metadata including name, stage, amount, and associated users.
gong.gong_list_interactions Read fromDateTime, toDateTime, activityTypes, cursor, limit List customer interactions tracked in Gong. Filter by date range, activity type, or participants. Returns interaction metadata including type, duration, and parties involved.
gong.gong_get_current_user Read none Get the currently authenticated Gong user profile. Useful for verifying credentials and understanding whose data is being accessed.

Automation Notes

Related Gong CLI Pages