Run in Enrichment Spreadsheet
Use this function as a column step in
deepline enrich.deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=gong_add_call:{"clientUniqueId":"{{clientUniqueId}}","actualStart":"{{actualStart}}","parties":"{{parties}}","direction":"Inbound","primaryUser":"{{primaryUser}}"}' --json
Map payload values to spreadsheet columns with
{{column_name}} placeholders.Input Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
payload.clientUniqueId | string | Yes | A call’s unique identifier in the PBX or the recording system. Gong uses this identifier to prevent repeated attempts to upload the same recording. | |
payload.title | string | No | The title of the call. This title is available in the Gong system for indexing and search. | |
payload.purpose | string | No | The purpose of the call. This optional field is a free text of up to 255 characters. | |
payload.scheduledStart | string | No | The date and time the call was scheduled to begin in the ISO-8601 format (e.g., ‘2018-02-18T02:30:00-07:00’ or ‘2018-02-18T08:00:00Z’, where Z stands for UTC); | |
payload.scheduledEnd | string | No | The date and time the call was scheduled to end in the ISO-8601 format (e.g., ‘2018-02-18T02:30:00-07:00’ or ‘2018-02-18T08:00:00Z’, where Z stands for UTC); | |
payload.actualStart | string | Yes | The actual date and time when the call started in the ISO-8601 format (e.g., ‘2018-02-18T02:30:00-07:00’ or ‘2018-02-18T08:00:00Z’, where Z stands for UTC); | |
payload.duration | number | No | The actual call duration in seconds. | |
payload.parties | array | Yes | A list of the call’s participants. A party must be provided for the primaryUser. | |
payload.direction | "Inbound" | "Outbound" | "Conference" | "Unknown" | Yes | Whether the call is inbound (someone called the company), outbound (a rep dialed someone outside the company), or a conference call. | |
payload.disposition | string | No | The disposition of the call. The disposition is free text of up to 255 characters. | |
payload.context | array | No | A list of references to external systems such as CRM, Telephony System, Case Management, etc. | |
payload.customData | string | No | Optional metadata associated with the call (represented as text). Gong stores this metadata and it can be used for troubleshooting. | |
payload.speakersTimeline | object | No | The audio recording speech segments (who spoke when). Note that speakersTimeline and mediaChannelId are mutually exclusive, when providing speakersTimeline - mediaChannelId will not be used. | |
payload.meetingUrl | string | No | The URL of the conference call by which users join the meeting | |
payload.callProviderCode | string | No | The code identifies the provider conferencing or telephony system. For example: zoom, clearslide, gotomeeting, ringcentral, outreach, insidesales, etc. These values are predefined by Gong, please contact help@gong.io to find the proper value for your system. | |
payload.downloadMediaUrl | string | No | The URL from which Gong can download the media file. The URL must be unique, the audio or video file must be a maximum of 1.5GB. The content-type must either start with ‘audio’ or ‘video,’ or should be ‘application/octet-stream’ or ‘binary/octet-stream’ followed by a subtype that specifies a supported file type (WAV, MP3, MP4, MKV and FLAC). If you provide this URL, you should not perform the ‘Add call media’ step. | |
payload.workspaceId | string | No | Optional workspace identifier. If specified, the call will be placed into this workspace, otherwise, the default algorithm for workspace placement will be applied. | |
payload.languageCode | string | No | The language code the call should be transcribed to. This field is optional as Gong automatically detects the language spoken in the call and transcribes it accordingly. Set this field only if you are sure of the language the call is in. Valid values are: af-ZA, am-ET, ar-AE, ar-BH, ar-DZ, ar-EG, ar-IL, ar-IQ, ar-JO, ar-KW, ar-LB, ar-MA, ar-MR, ar-OM, ar-PS, ar-QA, ar-SA, ar-TN, ar-YE, az-AZ, bg-BG, bn-BD, bn-IN, bs-BA, ca-ES, cs-CZ, da-DK, de-AT, de-CH, de-DE, el-GR, en-AB, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-PH, en-SG, en-US, en-WL, en-ZA, es-AR, es-BO, es-CL, es-CO, es-CR, es-DO, es-EC, es-ES, es-GT, es-HN, es-MX, es-NI, es-PA, es-PE, es-PR, es-PY, es-SV, es-US, es-UY, et-EE, eu-ES, fa-IR, fi-FI, fil-PH, fr-BE, fr-CA, fr-CH, fr-FR, gl-ES, gu-IN, he-IL, hi-IN, hr-HR, hu-HU, hy-AM, id-ID, is-IS, it-CH, it-IT, ja-JP, jv-ID, ka-GE, kk-KZ, km-KH, kn-IN, ko-KR, lo-LA, lt-LT, lv-LV, mk-MK, ml-IN, mn-MN, mr-IN, ms-MY, my-MM, ne-NP, nl-BE, nl-NL, no-NO, pa-Guru-IN, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, si-LK, sk-SK, sl-SI, sq-AL, sr-RS, su-ID, sv-SE, sw-KE, sw-TZ, ta-IN, ta-LK, ta-MY, ta-SG, te-IN, th-TH, tr-TR, uk-UA, ur-IN, ur-PK, uz-UZ, vi-VN, yue-Hant-HK, zh-CN, zh-TW, zu-ZA | |
payload.flowContext | object | No | The Id for the task the call should be associated with | |
payload.primaryUser | string | Yes | The Gong internal user ID of the team member who hosted the call. |
Allowed values
| Field | Allowed values |
|---|---|
payload.direction | Inbound, Outbound, Conference, Unknown |
Output Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
result.data | object | Yes | Provider response payload. | |
result.meta | object | No | Additional response metadata (status, paging). |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute gong_add_call --payload '{
"clientUniqueId": "string",
"actualStart": "string",
"parties": "array",
"direction": "Inbound",
"primaryUser": "string"
}' --json
CLI flags
| Flag | Description |
|---|---|
--json | Print machine-readable output. |
--wait | Wait for terminal provider status when supported. |
--debug | Enable wait mode with additional status/log output. |
--wait-timeout SECONDS | Max seconds to wait in wait mode. |
--poll-interval SECONDS | Polling interval in seconds during wait mode. |
--timeout SECONDS | Request timeout in seconds. |
--connect-timeout SECONDS | Connection timeout in seconds. |
Cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.
- Billing mode:
no_bill.