Skip to content

Commit 6c755cb

Browse files
authored
feat(integrations): add Gong incident.io Railway and New Relic (#4663)
* feat(integrations): add Gong incident.io Railway and New Relic * fix(railway): preserve explicit empty variable values * fix(incidentio): fail on invalid workflow JSON * fix(new-relic): validate custom attributes JSON * fix(integrations): address incident workflow review fixes * chore(docs): apply lint formatting * chore: refresh integration docs and validation fixes * more * fix(integrations): address PR review comments * fix(gong): align list calls block validation
1 parent df1e2dd commit 6c755cb

98 files changed

Lines changed: 6147 additions & 617 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components/icons.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6958,6 +6958,14 @@ export function HexIcon(props: SVGProps<SVGSVGElement>) {
69586958
)
69596959
}
69606960

6961+
export function RailwayIcon(props: SVGProps<SVGSVGElement>) {
6962+
return (
6963+
<svg {...props} xmlns='http://www.w3.org/2000/svg' fill='#0B0D0E' viewBox='0 0 24 24'>
6964+
<path d='M.113 10.27A13 13 0 0 0 0 11.48h18.23a2.3 2.3 0 0 0-.235-.347c-3.117-4.027-4.793-3.677-7.19-3.78-.8-.034-1.34-.048-4.524-.048-1.704 0-3.555.005-5.358.01-.234.63-.459 1.24-.567 1.737h9.342v1.216H.113zm18.26 2.426H.009q.029.488.094.961h16.955c.754 0 1.179-.429 1.315-.96zm-17.318 4.28s2.81 6.902 10.93 7.024c4.855 0 9.027-2.883 10.92-7.024H1.056zM11.988 0C7.5 0 3.593 2.466 1.531 6.108l4.75-.005v-.002c3.71 0 3.849.016 4.573.047l.448.016c1.563.052 3.485.22 4.996 1.364.82.621 2.007 1.99 2.712 2.965.654.902.842 1.94.396 2.934-.408.914-1.289 1.458-2.353 1.458H.391s.099.42.249.886h22.748A12 12 0 0 0 24 12.005C24 5.377 18.621 0 11.988 0' />
6965+
</svg>
6966+
)
6967+
}
6968+
69616969
export function BigQueryIcon(props: SVGProps<SVGSVGElement>) {
69626970
return (
69636971
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' {...props}>
@@ -6981,6 +6989,21 @@ export function SnowflakeIcon(props: SVGProps<SVGSVGElement>) {
69816989
)
69826990
}
69836991

6992+
export function NewRelicIcon(props: SVGProps<SVGSVGElement>) {
6993+
return (
6994+
<svg {...props} viewBox='0 0 159.36 159.36' xmlns='http://www.w3.org/2000/svg'>
6995+
<polygon
6996+
fill='#46B978'
6997+
points='79.68 .19 18.89 35.29 45.38 50.58 79.68 30.77 122.04 55.23 122.04 104.13 87.73 123.94 87.73 154.52 148.52 119.42 148.52 39.94 79.68 .19'
6998+
/>
6999+
<polygon
7000+
fill='#46B978'
7001+
points='53.2 94.97 53.2 143.88 79.68 159.17 79.68 79.68 10.84 39.94 10.84 70.51 53.2 94.97'
7002+
/>
7003+
</svg>
7004+
)
7005+
}
7006+
69847007
export function WizaIcon(props: SVGProps<SVGSVGElement>) {
69857008
return (
69867009
<svg {...props} viewBox='0 0 51 49' fill='none' xmlns='http://www.w3.org/2000/svg'>

apps/docs/components/ui/icon-mapping.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ import {
128128
MongoDBIcon,
129129
MySQLIcon,
130130
Neo4jIcon,
131+
NewRelicIcon,
131132
NotionIcon,
132133
ObsidianIcon,
133134
OktaIcon,
@@ -149,6 +150,7 @@ import {
149150
PulseIcon,
150151
QdrantIcon,
151152
QuiverIcon,
153+
RailwayIcon,
152154
RDSIcon,
153155
RedditIcon,
154156
RedisIcon,
@@ -348,6 +350,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
348350
mongodb: MongoDBIcon,
349351
mysql: MySQLIcon,
350352
neo4j: Neo4jIcon,
353+
new_relic: NewRelicIcon,
351354
notion: NotionIcon,
352355
notion_v2: NotionIcon,
353356
obsidian: ObsidianIcon,
@@ -371,6 +374,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
371374
pulse_v2: PulseIcon,
372375
qdrant: QdrantIcon,
373376
quiver: QuiverIcon,
377+
railway: RailwayIcon,
374378
rds: RDSIcon,
375379
reddit: RedditIcon,
376380
redis: RedisIcon,

apps/docs/content/docs/en/tools/gong.mdx

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ Retrieve call data by date range from Gong.
4848
| `accessKey` | string | Yes | Gong API Access Key |
4949
| `accessKeySecret` | string | Yes | Gong API Access Key Secret |
5050
| `fromDateTime` | string | Yes | Start date/time in ISO-8601 format \(e.g., 2024-01-01T00:00:00Z\) |
51-
| `toDateTime` | string | No | End date/time in ISO-8601 format \(e.g., 2024-01-31T23:59:59Z\). If omitted, lists calls up to the most recent. |
51+
| `toDateTime` | string | No | End date/time in ISO-8601 format \(e.g., 2024-01-31T23:59:59Z\). Defaults to the current execution time when omitted. |
5252
| `cursor` | string | No | Pagination cursor from a previous response |
5353
| `workspaceId` | string | No | Gong workspace ID to filter calls |
5454

5555
#### Output
5656

5757
| Parameter | Type | Description |
5858
| --------- | ---- | ----------- |
59+
| `requestId` | string | A Gong request reference ID for troubleshooting purposes |
5960
| `calls` | array | List of calls matching the date range |
6061
|`id` | string | Gong's unique numeric identifier for the call |
6162
|`title` | string | Call title |
@@ -79,6 +80,39 @@ Retrieve call data by date range from Gong.
7980
|`calendarEventId` | string | Calendar event identifier |
8081
| `cursor` | string | Pagination cursor for the next page |
8182
| `totalRecords` | number | Total number of records matching the filter |
83+
| `currentPageSize` | number | Number of records in the current page |
84+
| `currentPageNumber` | number | Current page number |
85+
86+
### `gong_create_call`
87+
88+
Upload call metadata to Gong and let Gong pull the media from a URL.
89+
90+
#### Input
91+
92+
| Parameter | Type | Required | Description |
93+
| --------- | ---- | -------- | ----------- |
94+
| `accessKey` | string | Yes | Gong API Access Key |
95+
| `accessKeySecret` | string | Yes | Gong API Access Key Secret |
96+
| `clientUniqueId` | string | Yes | Unique call ID from the source telephony or recording system |
97+
| `actualStart` | string | Yes | Actual call start time in ISO-8601 format |
98+
| `primaryUser` | string | Yes | Gong user ID for the call's host or owner |
99+
| `parties` | json | Yes | Array of call parties, with at least the primary user included |
100+
| `direction` | string | Yes | Call direction: Inbound, Outbound, Conference, or Unknown |
101+
| `downloadMediaUrl` | string | Yes | URL where Gong can download the call media file |
102+
| `title` | string | No | Human-readable call title |
103+
| `workspaceId` | string | No | Optional Gong workspace ID |
104+
| `disposition` | string | No | Optional call disposition |
105+
| `purpose` | string | No | Optional call purpose |
106+
| `context` | json | No | Optional CRM context array for the call |
107+
| `callProviderCode` | string | No | Optional conferencing or telephony provider code |
108+
109+
#### Output
110+
111+
| Parameter | Type | Description |
112+
| --------- | ---- | ----------- |
113+
| `callId` | string | Gong's unique numeric identifier for the created call |
114+
| `requestId` | string | Gong request reference ID for troubleshooting |
115+
| `url` | string | URL to the created call in the Gong web app |
82116

83117
### `gong_get_call`
84118

@@ -275,6 +309,7 @@ List all users in your Gong account.
275309

276310
| Parameter | Type | Description |
277311
| --------- | ---- | ----------- |
312+
| `requestId` | string | A Gong request reference ID for troubleshooting purposes |
278313
| `users` | array | List of Gong users |
279314
|`id` | string | Unique numeric user ID \(up to 20 digits\) |
280315
|`emailAddress` | string | User email address |

0 commit comments

Comments
 (0)