Setu Recipes: reusable digital workers across every app.Browse templates

Integrations / Gong

Gong

Revenue intelligence: recorded calls, transcripts, call briefs and users.

6 actions API key 6 read0 write Calls api.gong.io

Connect

TypeScript
const conn = await setu.connections.initiate({ userId: "user_1", toolkit: "gong" });
console.log(conn.connectUrl); // show this to your user
await conn.waitUntilActive();

Permissions requested

This toolkit uses a single credential and requests no scopes.

Actions

Get callreadgong.get_callGet the basic data of one call by its numeric id.
InputTypeDescription
call_idstringRequiredGong call id
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.get_call",
  input: {
    "call_id": "<call_id>"
  },
});
Get call details with briefreadgong.get_call_detailsGet calls with AI content (brief, key points, outline, highlights) and parties for given call ids or a date range.
InputTypeDescription
call_idsarray of stringOptionalCall ids to fetch
fromstringOptionalStart, ISO-8601 with offset, e.g. 2018-02-18T02:30:00-07:00
tostringOptionalEnd, ISO-8601 with offset
cursorstringOptionalCursor from the previous page
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.get_call_details",
  input: {},
});
Get call transcriptsreadgong.get_call_transcriptsGet transcripts (speaker topics and sentences with timestamps) for given call ids or for calls in a date range.
InputTypeDescription
call_idsarray of stringOptionalCall ids to fetch transcripts for
fromstringOptionalStart, ISO-8601 with offset, e.g. 2018-02-18T02:30:00-07:00
tostringOptionalEnd, ISO-8601 with offset
cursorstringOptionalCursor from the previous page
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.get_call_transcripts",
  input: {},
});
Get userreadgong.get_userGet one Gong user by id.
InputTypeDescription
user_idstringRequiredGong user id
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.get_user",
  input: {
    "user_id": "<user_id>"
  },
});
List callsreadgong.list_callsList calls that started within a date range (both ends required), with cursor paging.
InputTypeDescription
fromstringRequiredStart, ISO-8601 with offset, e.g. 2018-02-18T02:30:00-07:00
tostringRequiredEnd, ISO-8601 with offset
workspace_idstringOptionalOnly calls in this workspace
cursorstringOptionalCursor from the previous page
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.list_calls",
  input: {
    "from": "<from>",
    "to": "<to>"
  },
});
List usersreadgong.list_usersList Gong users with their ids, emails and manager.
InputTypeDescription
cursorstringOptionalCursor from the previous page
TypeScript
await setu.execute({
  userId: "user_1",
  action: "gong.list_users",
  input: {},
});