chore: import upstream snapshot with attribution
CI / Migrate Dev DB (push) Has been skipped
CI / Detect Version (push) Has been cancelled
CI / Migrate DB (push) Has been cancelled
CI / Build Dev ECR (./docker/app.Dockerfile, ECR_APP) (push) Has been cancelled
CI / Build Dev ECR (./docker/db.Dockerfile, ECR_MIGRATIONS) (push) Has been cancelled
CI / Build Dev ECR (./docker/pii.Dockerfile, ECR_PII) (push) Has been cancelled
CI / Build Dev ECR (./docker/realtime.Dockerfile, ECR_REALTIME) (push) Has been cancelled
CI / Deploy Trigger.dev (Dev) (push) Has been cancelled
CI / Build AMD64 (./docker/app.Dockerfile, ECR_APP, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build AMD64 (./docker/db.Dockerfile, ECR_MIGRATIONS, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build AMD64 (./docker/pii.Dockerfile, ECR_PII, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build AMD64 (./docker/realtime.Dockerfile, ECR_REALTIME, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/app.Dockerfile, ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/db.Dockerfile, ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/pii.Dockerfile, ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Build ARM64 (GHCR Only) (./docker/realtime.Dockerfile, ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/migrations) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/pii) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/realtime) (push) Has been cancelled
CI / Create GHCR Manifests (ghcr.io/simstudioai/simstudio) (push) Has been cancelled
CI / Check Docs Changes (push) Has been cancelled
CI / Process Docs (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
CI / Test and Build (push) Has been cancelled
Publish CLI Package / publish-npm (push) Has been cancelled
Publish Python SDK / publish-pypi (push) Has been cancelled
Publish TypeScript SDK / publish-npm (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:20:55 +08:00
commit d25d482dc2
13754 changed files with 4996608 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
export { fathomNewMeetingTrigger } from './new_meeting'
export { fathomWebhookTrigger } from './webhook'
+116
View File
@@ -0,0 +1,116 @@
import { FathomIcon } from '@/components/icons'
import type { TriggerConfig } from '@/triggers/types'
import { buildMeetingOutputs, fathomSetupInstructions } from './utils'
export const fathomNewMeetingTrigger: TriggerConfig = {
id: 'fathom_new_meeting',
name: 'Fathom New Meeting Content',
provider: 'fathom',
description: 'Trigger workflow when new meeting content is ready in Fathom',
version: '1.0.0',
icon: FathomIcon,
subBlocks: [
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
placeholder: 'Enter your Fathom API key',
description: 'Required to create the webhook in Fathom.',
password: true,
required: true,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'triggeredFor',
title: 'Trigger For',
type: 'dropdown',
options: [
{ label: 'My Recordings', id: 'my_recordings' },
{ label: 'Shared External Recordings', id: 'shared_external_recordings' },
{ label: 'My Shared With Team Recordings', id: 'my_shared_with_team_recordings' },
{ label: 'Shared Team Recordings', id: 'shared_team_recordings' },
],
value: () => 'my_recordings',
description: 'Which recording types should trigger this webhook.',
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'includeSummary',
title: 'Include Summary',
type: 'switch',
description: 'Include the meeting summary in the webhook payload.',
defaultValue: true,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'includeTranscript',
title: 'Include Transcript',
type: 'switch',
description: 'Include the full transcript in the webhook payload.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'includeActionItems',
title: 'Include Action Items',
type: 'switch',
description: 'Include action items extracted from the meeting.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'includeCrmMatches',
title: 'Include CRM Matches',
type: 'switch',
description: 'Include matched CRM contacts, companies, and deals from your linked CRM.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
{
id: 'triggerInstructions',
title: 'Setup Instructions',
hideFromPreview: true,
type: 'text',
defaultValue: fathomSetupInstructions('New Meeting Content'),
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_new_meeting',
},
},
],
outputs: buildMeetingOutputs(),
webhook: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
},
}
+123
View File
@@ -0,0 +1,123 @@
import type { TriggerOutput } from '@/triggers/types'
/**
* Shared trigger dropdown options for all Fathom triggers
*/
export const fathomTriggerOptions = [
{ label: 'New Meeting Content', id: 'fathom_new_meeting' },
{ label: 'General Webhook (All Events)', id: 'fathom_webhook' },
]
/**
* Generate setup instructions for a specific Fathom event type
*/
export function fathomSetupInstructions(eventType: string): string {
const instructions = [
'Enter your Fathom API Key above.',
'You can find or create your API key in Fathom at <strong>Settings > Integrations > API</strong>. See the <a href="https://developers.fathom.ai/" target="_blank" rel="noopener noreferrer">Fathom API documentation</a> for details.',
`Click <strong>"Save Configuration"</strong> to automatically create the webhook in Fathom for <strong>${eventType}</strong> events.`,
'The webhook will be automatically deleted when you remove this trigger.',
]
return instructions
.map(
(instruction, index) =>
`<div class="mb-3"><strong>${index + 1}.</strong> ${instruction}</div>`
)
.join('')
}
/**
* Build output schema for meeting content events.
* Fathom webhook payload delivers meeting data including summary, transcript, and action items
* based on the include flags set during webhook creation.
*/
export function buildMeetingOutputs(): Record<string, TriggerOutput> {
return {
title: {
type: 'string',
description: 'Meeting title',
},
meeting_title: {
type: 'string',
description: 'Calendar event title',
},
recording_id: {
type: 'number',
description: 'Unique recording ID',
},
url: {
type: 'string',
description: 'URL to view the meeting in Fathom',
},
share_url: {
type: 'string',
description: 'Shareable URL for the meeting',
},
created_at: {
type: 'string',
description: 'ISO 8601 creation timestamp',
},
scheduled_start_time: {
type: 'string',
description: 'Scheduled start time',
},
scheduled_end_time: {
type: 'string',
description: 'Scheduled end time',
},
recording_start_time: {
type: 'string',
description: 'Recording start time',
},
recording_end_time: {
type: 'string',
description: 'Recording end time',
},
transcript_language: {
type: 'string',
description: 'Language of the transcript',
},
calendar_invitees_domains_type: {
type: 'string',
description: 'Domain type: only_internal or one_or_more_external',
},
recorded_by: {
type: 'object',
description: 'Recorder details',
name: { type: 'string', description: 'Name of the recorder' },
email: { type: 'string', description: 'Email of the recorder' },
},
calendar_invitees: {
type: 'array',
description: 'Array of calendar invitees with name and email',
},
default_summary: {
type: 'object',
description: 'Meeting summary',
template_name: { type: 'string', description: 'Summary template name' },
markdown_formatted: { type: 'string', description: 'Markdown-formatted summary' },
},
transcript: {
type: 'array',
description: 'Array of transcript entries with speaker, text, and timestamp',
},
action_items: {
type: 'array',
description: 'Array of action items extracted from the meeting',
},
crm_matches: {
type: 'json',
description: 'Matched CRM contacts, companies, and deals from linked CRM',
},
} as Record<string, TriggerOutput>
}
/**
* Build output schema for generic webhook events.
* Fathom only has one webhook event type (new meeting content ready) and the payload
* is the Meeting object directly (no wrapping), so outputs match buildMeetingOutputs.
*/
export function buildGenericOutputs(): Record<string, TriggerOutput> {
return buildMeetingOutputs()
}
+116
View File
@@ -0,0 +1,116 @@
import { FathomIcon } from '@/components/icons'
import type { TriggerConfig } from '@/triggers/types'
import { buildGenericOutputs, fathomSetupInstructions } from './utils'
export const fathomWebhookTrigger: TriggerConfig = {
id: 'fathom_webhook',
name: 'Fathom Webhook',
provider: 'fathom',
description: 'Generic webhook trigger for all Fathom events',
version: '1.0.0',
icon: FathomIcon,
subBlocks: [
{
id: 'apiKey',
title: 'API Key',
type: 'short-input',
placeholder: 'Enter your Fathom API key',
description: 'Required to create the webhook in Fathom.',
password: true,
required: true,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'triggeredFor',
title: 'Trigger For',
type: 'dropdown',
options: [
{ label: 'My Recordings', id: 'my_recordings' },
{ label: 'Shared External Recordings', id: 'shared_external_recordings' },
{ label: 'My Shared With Team Recordings', id: 'my_shared_with_team_recordings' },
{ label: 'Shared Team Recordings', id: 'shared_team_recordings' },
],
value: () => 'my_recordings',
description: 'Which recording types should trigger this webhook.',
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'includeSummary',
title: 'Include Summary',
type: 'switch',
description: 'Include the meeting summary in the webhook payload.',
defaultValue: true,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'includeTranscript',
title: 'Include Transcript',
type: 'switch',
description: 'Include the full transcript in the webhook payload.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'includeActionItems',
title: 'Include Action Items',
type: 'switch',
description: 'Include action items extracted from the meeting.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'includeCrmMatches',
title: 'Include CRM Matches',
type: 'switch',
description: 'Include matched CRM contacts, companies, and deals from your linked CRM.',
defaultValue: false,
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
{
id: 'triggerInstructions',
title: 'Setup Instructions',
hideFromPreview: true,
type: 'text',
defaultValue: fathomSetupInstructions('All Events'),
mode: 'trigger',
condition: {
field: 'selectedTriggerId',
value: 'fathom_webhook',
},
},
],
outputs: buildGenericOutputs(),
webhook: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
},
}