Skip to content

Commit 9bf87b4

Browse files
committed
fix(fathom): add missing crm_matches to list_meetings transform and fix action_items type
- Add crm_matches pass-through in list_meetings transform (was silently dropped) - Fix action_items type to match API schema (description, user_generated, completed, etc.) - Add crm_matches type with contacts, companies, deals, error fields
1 parent 48e4411 commit 9bf87b4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

apps/sim/tools/fathom/list_meetings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export const listMeetingsTool: ToolConfig<FathomListMeetingsParams, FathomListMe
136136
default_summary: meeting.default_summary ?? null,
137137
transcript: meeting.transcript ?? null,
138138
action_items: meeting.action_items ?? null,
139+
crm_matches: meeting.crm_matches ?? null,
139140
})
140141
)
141142

apps/sim/tools/fathom/types.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,20 @@ export interface FathomListMeetingsResponse extends ToolResponse {
4545
text: string
4646
timestamp: string
4747
}> | null
48-
action_items: Array<{ text: string }> | null
48+
action_items: Array<{
49+
description: string
50+
user_generated: boolean
51+
completed: boolean
52+
recording_timestamp: string
53+
recording_playback_url: string
54+
assignee: { name: string | null; email: string | null; team: string | null }
55+
}> | null
56+
crm_matches: {
57+
contacts: Array<{ name: string; email: string; record_url: string }>
58+
companies: Array<{ name: string; record_url: string }>
59+
deals: Array<{ name: string; amount: number; record_url: string }>
60+
error: string | null
61+
} | null
4962
}>
5063
next_cursor: string | null
5164
}

0 commit comments

Comments
 (0)