> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Gong: Upload CRM Data

> Upload accounts, contacts, deals, or other CRM records to a custom Gong CRM integration. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Upload accounts, contacts, deals, or other CRM records to a custom Gong CRM integration.

> [!NOTE]
>
> Tool ID: `gong_upload_crm_data`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'gong_upload_crm_data',
  {
    "dataFile": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute gong_upload_crm_data --input '{
  "dataFile": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "requestId": "request_123",
    "clientRequestId": "client_request_123"
  }
}
```

Use `deepline describe gong_upload_crm_data --json` for the latest machine-readable contract.

## Input reference

Inserts, updates, or deletes a CRM entity in Gong. Gong searches for existing entities with the same ID, to determine whether the entity should be added or updated. Ensure you have an authentication key and that you have registered your integration before uploading your CRM data. When accessed using a bearer token, this endpoint requires the 'api:crm:upload' scope. Request parameters Query String parameters Mandatory parameters are marked with a \* . Name Description Data Type integrationId \* Integration ID generated when creating the integration long objectType \* The object being uploaded. Options are (case-sensitive): ACCOUNT CONTACT DEAL LEAD BUSINESS\_USER STAGE string clientRequestId \* A unique identifier sent by you to allow troubleshooting and to prevent repeated attempts to upload the same list of objects. Valid characters: letters, numbers, dashes and underscores. string Request See the live schema below for the complete notes.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.dataFile` | `string` | Yes | — | The CRM data file. You may attach files up to 200MB in size Format: `binary`. |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe gong_upload_crm_data --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.requestId` | `string` | No | — | A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes. |
| `result.data.clientRequestId` | `string` | No | — | The clientRequestId sent in the request - used to monitor the request process |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes."
          },
          "clientRequestId": {
            "type": "string",
            "description": "The clientRequestId sent in the request - used to monitor the request process"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Gong provider guide](https://deepline.com/docs/providers/gong/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.