Skip to content

Commit 9bb5bd0

Browse files
committed
fix(triggers): reorder Gong trigger spread and dropdown options
1 parent 2f3e382 commit 9bb5bd0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/sim/blocks/blocks/gong.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export const GongBlock: BlockConfig<GongResponse> = {
1818
icon: GongIcon,
1919
triggerAllowed: true,
2020
subBlocks: [
21-
...getTrigger('gong_call_completed').subBlocks,
2221
...getTrigger('gong_webhook').subBlocks,
22+
...getTrigger('gong_call_completed').subBlocks,
2323
{
2424
id: 'operation',
2525
title: 'Operation',
@@ -574,6 +574,6 @@ Return ONLY the timestamp string in ISO 8601 format - no explanations, no quotes
574574
},
575575
triggers: {
576576
enabled: true,
577-
available: ['gong_call_completed', 'gong_webhook'],
577+
available: ['gong_webhook', 'gong_call_completed'],
578578
},
579579
}

apps/sim/triggers/gong/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { TriggerOutput } from '@/triggers/types'
44
* Shared trigger dropdown options for all Gong triggers
55
*/
66
export const gongTriggerOptions = [
7-
{ label: 'Call Completed', id: 'gong_call_completed' },
87
{ label: 'General Webhook (All Events)', id: 'gong_webhook' },
8+
{ label: 'Call Completed', id: 'gong_call_completed' },
99
]
1010

1111
/**

0 commit comments

Comments
 (0)