View as Markdown
Gong icon

Gong ACTION

List calls

  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Gong account once, then configure and run List calls from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "gong-list-calls",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    gong: { authProvisionId: "apn_xxxxxxx" },
    fromDateTime: "From Date Time",
    toDateTime: "To Date Time",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List calls inputs
Property Type Description
fromDateTime From Date Time string
Date and time (in ISO-8601 format: 2018-02-18T02:30:00-07:00 or 2018-02-18T08:00:00Z, where Z stands for UTC) from which to list recorded calls. Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call.
Optional
toDateTime To Date Time string
Date and time (in ISO-8601 format: 2018-02-18T02:30:00-07:00 or 2018-02-18T08:00:00Z, where Z stands for UTC) until which to list recorded calls. Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call.
Optional
cursor Cursor string
The cursor to start from. This is returned by the previous step
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
gong-list-calls
Version
0.0.8
App
Gong
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes