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

# Gong

Let's learn how to connect Engini to Gong.

This integration lets you work with your Gong calls from your workflows: start a workflow when a call has been processed, retrieve calls, call details and transcripts, create calls and add their recordings, update or delete meetings, report content and custom action events, get the activity statistics of your users, and look up your users and workspaces.

To get started, create an account at [Gong](https://www.gong.io/).

## Add a Connection to Gong in Engini

### Prerequisites

* A Gong account.
* A technical administrator in Gong, who can create an Access Key or register an integration for Engini.
* The Base URL of your Gong API. The default is `https://api.gong.io`.

  **Note:** There are two ways to connect. With *Access Key*, you create an Access Key and an Access Key Secret in Gong. With *Custom OAuth 2.0*, you register your own integration in Gong and sign in from Engini.

### Retrieve your Gong Access Key and Access Key Secret

1. Sign in to Gong as a technical administrator.
2. Open the *API* page in the Gong Admin center (*Settings > Ecosystem > API*).
3. Create an Access Key. Gong shows the *Access Key* and the *Access Key Secret*. Copy both, and copy the Base URL shown on the page if it differs from the default.
4. Make sure the Access Key is allowed to use the Gong features you plan to use in your workflows. To use Update Meeting or Delete Meeting, also tick the scopes `api:meetings:user:update` and `api:meetings:user:delete`, together with the other scopes you need, on the API page.

### Register an integration in Gong for Custom OAuth 2.0

1. Sign in to Gong as a technical administrator.
2. Create a new integration (app) in Gong.
3. In Engini, open the Custom OAuth 2.0 connection form (see below) and copy the *Callback URL*. In Gong, add it as the redirect URL of your integration.
4. Grant the integration the scopes your workflows need. Engini requests these scopes when you sign in: `api:calls:read:basic`, `api:calls:read:extensive`, `api:calls:read:transcript`, `api:calls:read:media-url`, `api:calls:create`, `api:users:read`, `api:workspaces:read`, `api:stats:user-actions`, `api:engagement-data:write`, `api:meetings:user:update` and `api:meetings:user:delete`.
5. Copy the *Client Id* and the *Client Secret* of your integration.

### Connecting Engini to Gong

1. Enter your Engini account at [https://app.engini.io](https://app.engini.io/).

2. Navigate to the Connections page by clicking on Connections in the left sidebar or by clicking [here](https://app.engini.io/connections).

   ![Engini - Connections page](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/connections-page.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=b68b953b53e6b64fd0d537a93892a1b0)

3. Click on the "New Integration" option located at the top bar.

   ![Engini - New Integration button](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/new-integration-button.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=dd970a6825640059d1f838f54c3f9bb7)

4. Choose the Gong option from the available applications.

   ![Gong - Choose Application](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-choose-application.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=2d30069fe0503f4d1974708f76e3595d)

5. Enter the following details in the "New Integration" form and press Save.

**Note:** There are two different authentication methods available, and the required fields differ depending on the option you choose.
Please follow the relevant instructions based on your selected method.

#### *Access Key*

![Gong - New Integration form, Access Key](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-new-integration.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=55e8cf406a632115136034276f9e9d1b)

<ol>
  <li>*Connection Name -* Enter a name that helps identify the Gong connection.</li>
  <li>*Authentication Method -* Select ***Access Key***.</li>
  <li>*Base URL -* The base URL of your Gong API. It is filled in with `https://api.gong.io`. Change it only if the API page in Gong shows a different address for your company.</li>
  <li>*Access Key -* Enter the Access Key you created on the API page in Gong, as described in [Retrieve your keys](#retrieve-your-gong-access-key-and-access-key-secret).</li>
  <li>*Access Key Secret -* Enter the Access Key Secret that Gong showed together with the Access Key, as described in [Retrieve your keys](#retrieve-your-gong-access-key-and-access-key-secret).</li>
  <li>*Save -* Click Save to create the connection.</li>
</ol>

#### *Custom OAuth 2.0*

![Gong - New Integration form, Custom OAuth 2.0](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-new-integration-custom-oauth2.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=b760ff6ace0ee5bb7134e03e2525d3e9)

<ol>
  <li>*Connection Name -* Enter a name that helps identify the Gong connection.</li>
  <li>*Authentication Method -* Select ***Custom OAuth 2.0***.</li>
  <li>*Callback URL -* A read-only address that Engini provides. Click the copy button and add it as the redirect URL of your integration in Gong.</li>
  <li>*Client Id -* Enter the Client Id of your Gong integration.</li>
  <li>*Client Secret -* Enter the Client Secret of your Gong integration.</li>
  <li>*Base URL -* The base URL of your Gong API. It is filled in with `https://api.gong.io`. Change it only if your Gong company uses a different address.</li>
  <li>*Signin -* This button stays greyed out ("Fill in to continue: Client Id, Client Secret") until you fill in the Client Id and Client Secret. Then click it, sign in to Gong as a technical administrator and approve the access that Gong asks for.</li>
  <li>*Save -* Click Save to create the connection.</li>
</ol>

## Triggers

### Call Processed

Starts the workflow when Gong finishes processing a call that matches a rule you set up in Gong. Gong notifies Engini right away, so there is no schedule to set.

![Gong - Call Processed trigger](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-call-processed.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=69dd3f73e7716b69c8df472e57e41efd)

1. *URL -* Copy the URL and paste it into your Gong automation rule, as described below.
2. *Add Conditions -* Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-conditions).

To connect the trigger to Gong:

1. In Gong, open the *Automation rules* page in the Admin center (*Settings > Ecosystem > Automation rules*) and click *Add Rule*.
2. Set the filters of the rule if you want only some calls, and choose the action that fires a webhook.
3. Paste the URL you copied from the trigger.
4. For the authentication, choose the option where the URL includes the key.
5. Use *Test now* in Gong to send a test call, then turn the rule on.

**Note:** Gong marks a test delivery with *Is Test*. Add a condition on *Is Test* if you do not want test deliveries to start your workflow.

**What the trigger returns:** the call that Gong sends, with these fields:

* *Is Test -* Whether the delivery is a test sent from Gong.
* *Call Data -* The call, grouped into:
  * *Meta Data -* The call details: Call Id, Call Url, Title, Scheduled, Started, Duration, Direction, Scope, Media, Language, System, Primary User Id, Workspace Id, Disposition, Purpose, Meeting Url, Client Unique Id, Custom Data, Calendar Event Id and Is Private.
  * *Parties -* The people on the call: Party Id, Name, Email Address, Phone Number, Title, Affiliation, Speaker Id, User Id and Methods.
  * *Content -* What Gong found in the call: Brief, Call Outcome (Outcome Id, Name, Category), Highlights, Key Points, Outline (Section, Start Time, Duration), Structure, Topics and Trackers.
  * *Interaction -* Interaction Stats, Questions (Company Count, Other Count), Speakers (Speaker Id, User Id, Talk Time) and Video.
  * *Collaboration -* The Public Comments on the call.
  * *Media -* The Audio Url and the Video Url.
  * *Context -* The CRM context linked to the call.

### Check for New Calls

Starts the workflow when new calls appear in your Gong account. Engini checks Gong on the schedule you set.

![Gong - Check for New Calls trigger](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-check-for-new-calls.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=bedd4e40df2090ceb154b736bc121543)

1. *Starting (UTC) -* Select the start date and time for the scheduled trigger.
2. *Recur every -* Choose the time interval for triggering and checking calls. The minimum time interval is 15 minutes.
3. *Add time frame -* You can specify a time frame during which the trigger will operate.
4. *Add Conditions -* Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-conditions).

Under the fields, *Next Run at* shows when the trigger will run next.

Each call is passed to the next steps with these properties:

* *Call Id -* The unique identifier of the call. Use it in later steps, for example in Get Call or Add Call Media.
* *Call Url -* The link to the call in Gong.
* *Title -* The title of the call.
* *Scheduled -* When the call was scheduled to start.
* *Started -* When the call started.
* *Duration -* The length of the call in seconds.
* *Media -* The type of media of the call.
* *Language -* The language of the call.
* *Workspace Id -* The Id of the Gong workspace the call belongs to.
* *Primary User Id -* The Id of the Gong user who hosted the call.
* *Direction -* Whether the call was inbound, outbound or a conference.
* *System -* The system that the call came from.
* *Scope -* Whether the call was internal or external.
* *Disposition -* The outcome that was recorded for the call.
* *Client Unique Id -* The Id that the call was given in the system that created it.
* *Custom Data -* Any custom data stored with the call.
* *Purpose -* The purpose of the call.
* *Meeting Url -* The link to the meeting.
* *Is Private -* Whether the call is private.
* *Calendar Event Id -* The Id of the calendar event of the call.

For a trigger that starts as soon as Gong has processed a call, use [Call Processed](#call-processed).

## Actions

### Add Call Media

Adds a recording to a call in Gong.

![Gong - Add Call Media action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-add-call-media.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=af1e094e20669ba794de7d4dbc275e04)

1. *Call Id -* The call to add the recording to. Click the field and choose the call from the list of your calls from the last 30 days, shown as "title - started", that Engini loads from your Gong account, or map the Id from a previous step, for example the output of Create Call or Get Calls.
2. *File Name -* The name of the recording file, including its extension, for example `call.mp3`.
3. *File Content -* The content of the recording as a base64 string, for example the base64 content of a file produced by a previous step.

The two file fields are grouped under *Media File* in the panel.

### Create Call

Creates a call in Gong with the details you provide.

![Gong - Create Call action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-create-call.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=82a56bad9d4bb6c471947917916df7bc)

1. *Actual Start -* The date and time the call started, for example `2026-11-01T10:30:00Z`.
2. *Direction -* Choose the direction of the call from the list (Inbound, Outbound, Conference or Unknown), or map a value from an earlier step.
3. *Primary User -* The Gong user who hosted the call. Choose a user from the list of Gong user names that Engini loads from your Gong account, or map the Id from an earlier step.
4. *Parties -* The people on the call. See the note below on how to fill it.
5. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

Engini generates the unique Id of the call automatically, so there is no field for it.

**Note:** To fill Parties, first use [Initialize Object Array](#initialize-object-array) with the object type Party to add (Create Call), then add each person with [Append to Object Array](#append-to-object-array). When you add a person who is a Gong user, choose the User Id from the list of Gong user names, or map it from a previous step.

Under Add Field, *Language Code* sets the language of the call: click the field and choose the language code from the list. *Workspace Id* is also a list: choose the workspace from the list of workspace names, or map the Id from a previous step.

### Create Content Shared Event

Reports to Gong that a piece of content, such as a document or a presentation, was shared with someone.

![Gong - Create Content Shared Event action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-create-content-shared-event.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=ac5733693f041d0ce88c4746ea3ce6b3)

1. *Reporting System -* The name of your system that reports the event, for example the name of your sales engagement tool.
2. *Event Time -* When the content was shared, for example `2026-11-01T10:30:00Z`.
3. *Content Id -* The Id of the shared content in your system, for example `doc_123456789`.
4. *Content Url -* The link to the shared content, for example `https://example.com/doc`.
5. *Content Title -* The title of the shared content, for example `Features and specs`.
6. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

**Note:** To list the people the content was shared with in Recipients, first use [Initialize Object Array](#initialize-object-array) with the object type Recipient to add (Create Content Shared Event), then add each person with [Append to Object Array](#append-to-object-array).

Under Add Field, the Id of the sharer, who is a Gong user, is a list: choose the user from the list of Gong user names, or map the Id from a previous step.

### Create Content Viewed Event

Reports to Gong that someone viewed a piece of content, such as a document or a presentation.

![Gong - Create Content Viewed Event action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-create-content-viewed-event.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=d4239b234a3c3d55550240ae2d23d00c)

1. *Reporting System -* The name of your system that reports the event, for example the name of your sales engagement tool.
2. *Event Time -* When the content was viewed, for example `2026-11-01T10:30:00Z`.
3. *Content Id -* The Id of the viewed content in your system, for example `doc_123456789`.
4. *Content Url -* The link to the viewed content, for example `https://example.com/doc`.
5. *Content Title -* The title of the viewed content, for example `Features and specs`.
6. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

### Create Custom Action Event

Reports a custom action that happened in your system, such as a presentation that was opened, so that Gong can show it with the related activity.

![Gong - Create Custom Action Event action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-create-custom-action-event.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=14203d2ef8e4c41592b015b2d40492dc)

1. *Reporting System -* The name of your system that reports the event, for example the name of your sales engagement tool.
2. *Event Time -* When the action happened, for example `2026-11-01T10:30:00Z`.
3. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

### Delete Meeting

Deletes a meeting in Gong. This action uses a Gong beta endpoint.

![Gong - Delete Meeting action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-delete-meeting.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=fe3c21e28167aa0d9e48a1ab0f4bce03)

* *Meeting Id -* The Id of the meeting to delete, for example `7782342274025937895`. Enter the Id of a meeting created in Gong, or map it from a previous step.

### Get Call

Retrieves the details of a single call.

![Gong - Get Call action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-call.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=bf9d3423693773c6ca09bfcbc5763248)

* *Call Id -* The call to retrieve. Click the field and choose the call from the list of your calls from the last 30 days, shown as "title - started", that Engini loads from your Gong account, or map the Id from a previous step, for example the output of Get Calls or a trigger.

### Get Call Details

Retrieves detailed information about calls in a date range, such as the participants, topics, trackers and summary that Gong found.

![Gong - Get Call Details action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-call-details.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=c13e4f3e17b66697258a473e8c901ab3)

* *Add Filter -* Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-filters).

**Note:** Nothing is required. Use the filter to set the period with From Date Time and To Date Time, for example `2026-11-01T00:00:00Z`, and to narrow the calls down with Workspace Id, Call Ids or Host Ids. Workspace Id, Call Ids and Host Ids are lists: click the field and choose the workspace from the list of workspace names, the calls from the list of your calls from the last 30 days shown as "title - started", or the hosts from the list of Gong user names, or map the Ids from a previous step.

To choose what Gong returns for each call, also add these options under Add Filter and set each one to Yes: Include Parties, Include Media, Include Structure, Include Topics, Include Trackers, Include Tracker Hits, Include Brief, Include Outline, Include Highlights, Include Outcome, Include Key Points, Include Speakers, Include Video, Include Talk Stats, Include Questions and Include Comments. CRM Context sets how much CRM data to return, and you choose the level from the list.

### Get Call Transcripts

Retrieves the transcripts of calls.

![Gong - Get Call Transcripts action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-call-transcripts.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=6a0cf55901aa3621a7f09843a562cb32)

* *Add Filter -* Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-filters).

**Note:** Nothing is required. Use the filter to get the transcripts of the calls in a period with From Date Time and To Date Time, for example `2026-11-01T00:00:00Z`, or of specific calls with Call Ids. Click Call Ids and choose the calls from the list of your calls from the last 30 days, shown as "title - started", or map the Ids from a previous step. You can also filter by Workspace Id: choose the workspace from the list of workspace names, or map the Id from a previous step.

### Get Calls

Retrieves the calls in a date range.

![Gong - Get Calls action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-calls.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=5b4eb4a4e0945dcb7f648aa0690ad58f)

* *Add Filter -* Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-filters).

**Note:** Nothing is required. Use the filter to set the period with From Date Time and To Date Time, for example `2026-11-01T00:00:00Z` and `2026-11-02T00:00:00Z`, or to get the calls of one workspace with Workspace Id. Click Workspace Id and choose the workspace from the list of workspace names that Engini loads from your Gong account, or map the Id from a previous step.

### Get User Activity Stats

Retrieves the activity statistics of your Gong users for a period.

![Gong - Get User Activity Stats action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-user-activity-stats.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=e281a98acc33ebb126d2bebf03855b67)

1. *From Date -* The first day of the period, for example `2026-11-01`. Required.
2. *To Date -* The last day of the period, for example `2026-11-08`. Required.
3. *Add Filter -* Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-filters).

**Note:** To get the statistics of specific users only, filter by User Ids. Click the field and choose the users from the list of Gong user names that Engini loads from your Gong account, or map the Ids from a previous step.

### Get Users

Retrieves the users of your Gong account.

![Gong - Get Users action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-users.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=32bbdc008e39022e2a8d86609cb5781d)

* *Add Filter -* Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-filters).

**Note:** You can filter by Include Avatars.

### Get Workspaces

Retrieves the workspaces of your Gong account. This action has no fields to fill in.

![Gong - Get Workspaces action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-get-workspaces.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=ff31dbd450d32f0b99e3c65ebd82bc1b)

### Update Meeting

Updates the details of an existing meeting in Gong. This action uses a Gong beta endpoint.

![Gong - Update Meeting action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-update-meeting.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=b44caba1f7b16a95bdae11d79c2d5609)

1. *Meeting Id -* The Id of the meeting to update, for example `7782342274025937895`. Enter the Id of a meeting created in Gong, or map it from a previous step.
2. *Start Time -* The new start date and time of the meeting, for example `2026-11-01T10:30:00Z`.
3. *End Time -* The new end date and time of the meeting, for example `2026-11-01T11:00:00Z`.
4. *Organizer Email -* The email of the meeting organizer, for example `jane@company.com`.
5. *Invitees -* The people invited to the meeting. See the note below on how to fill it.
6. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

**Note:** To fill Invitees, first use [Initialize Object Array](#initialize-object-array) with the object type Invitee to add (Update Meeting), then add each person with [Append to Object Array](#append-to-object-array).

### Initialize Object Array

Creates a new object array variable in your workflow to store structured Gong data for use in later steps, for example the Parties of [Create Call](#create-call), the Recipients of [Create Content Shared Event](#create-content-shared-event) or the Invitees of [Update Meeting](#update-meeting).

![Gong - Initialize Object Array action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-initialize-object-array.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=597dbbc9184ec3066d04dda2c16267b9)

1. *Variable name -* Enter the name of the variable that will hold the object array. This name will be used throughout the workflow whenever you refer to this object array.
2. *Object Element Type -* Select the type of object the array will store. The selected type determines the structure of the array and opens its fields so you can fill in the values for the first entry.

### Append to Object Array

Adds a new entry to an existing object array variable in your workflow, for example a person in the Parties of [Create Call](#create-call), in the Recipients of [Create Content Shared Event](#create-content-shared-event) or in the Invitees of [Update Meeting](#update-meeting).

![Gong - Append to Object Array action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-append-to-object-array.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=da41b98482861d4eac245d50508c0543)

1. *Variable -* Select the object array variable you want to append to. This must be an already initialized object array.
2. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

### Map Object Array

Transforms a list of data into a structured object array that can be used later in the workflow. It iterates over each item in the selected data list and maps it into a structured entry. Use it to build the Parties of [Create Call](#create-call), the Recipients of [Create Content Shared Event](#create-content-shared-event) or the Invitees of [Update Meeting](#update-meeting) from a list of data.

![Gong - Map Object Array action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-map-object-array.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=da2733589aa1d77322f33fa03bf3d0c3)

1. *Data List -* Select or map the array or list of data you want to iterate over and transform.
2. *Object name -* Define the name of the temporary object that represents each item during the mapping. You will use this name when referencing fields from the current item.
3. *Add Field -* Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, [click here](https://docs.engini.ai/help/workflows/workflow-editor.md#add-fields).

### Send API Request

This activity allows you to send a custom API request directly to Gong's API.

![Gong - Send API Request action](https://mintcdn.com/engini/otYoxO-CfEl3gLL_/help/assets/apps/gong/gong-send-api-request.png?fit=max\&auto=format\&n=otYoxO-CfEl3gLL_\&q=85\&s=e23168c21102c30bdc7839736f451d96)

1. *Base Url -* The root URL of the Gong API. It is filled in from your Gong connection and can't be edited here.
2. *Relative url -* You can specify additional path segments or parameters that need to be added to the end of the Base Url. Enter only the path, for example `/v2/calls`. This allows you to customize the specific request you want to perform.
3. *Method -* Select the HTTP method (e.g., Get, Post, Put, Delete, Patch). The default is POST.
4. *Body Type -* Defines the format of the data in the body of your request. The default, application/json, means the body contains a JSON-formatted payload.
   * *application/json* – Sends the request body in JSON format. Commonly used by REST APIs.
   * *custom* – Allows you to define a custom body format by manually setting the Content-Type header. Add a `Content-Type` row in *Add Headers* with the media type you need (for example `application/xml`). With any other Body Type, a Content-Type you type in *Add Headers* is not sent; Engini sets it from the Body Type, and the run history shows it under `headersnotsent`.
   * *application/x-www-form-urlencoded* – Sends the body as URL-encoded key-value pairs, commonly used in form submissions.
   * *file* – Sends a file as the request body.
   * *multipart/form-data* – Sends form data that may include both text fields and files.
   * *text/html* – Sends the request body as HTML content.
   * *text/plain* – Sends the request body as plain text.
   * *text/xml* – Sends the request body in XML format.
5. *Body -* Contains any data that is being sent to the server.
6. *Add Headers -* Additional metadata about the request, such as the type of data Engini can accept, the length of the request body, and authentication information.
7. *Add Queries -* The query refers to the parameters or data that are included in the URL of an HTTP request to provide additional information or instructions to the server.

Your Gong credentials are sent automatically with every request. For the full list of endpoints, see the [Gong API reference](https://help.gong.io/apidocs).


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