@friggframework/core 2.0.0--canary.700.80ec1cc.0 → 2.0.0--canary.702.047d3c4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/database/documentdb-utils.js +1 -6
  2. package/errors/index.js +0 -4
  3. package/generated/prisma-mongodb/edge.js +4 -52
  4. package/generated/prisma-mongodb/index-browser.js +1 -49
  5. package/generated/prisma-mongodb/index.d.ts +60 -3506
  6. package/generated/prisma-mongodb/index.js +4 -52
  7. package/generated/prisma-mongodb/package.json +1 -1
  8. package/generated/prisma-mongodb/schema.prisma +0 -65
  9. package/generated/prisma-mongodb/wasm.js +4 -52
  10. package/generated/prisma-postgresql/edge.js +4 -52
  11. package/generated/prisma-postgresql/index-browser.js +1 -49
  12. package/generated/prisma-postgresql/index.d.ts +94 -3824
  13. package/generated/prisma-postgresql/index.js +4 -52
  14. package/generated/prisma-postgresql/package.json +1 -1
  15. package/generated/prisma-postgresql/schema.prisma +0 -63
  16. package/generated/prisma-postgresql/wasm.js +4 -52
  17. package/handlers/WEBHOOKS.md +0 -29
  18. package/handlers/app-definition-loader.js +9 -2
  19. package/handlers/app-handler-helpers.js +2 -5
  20. package/handlers/integration-event-dispatcher.js +3 -7
  21. package/handlers/routers/integration-webhook-routers.js +38 -26
  22. package/index.js +0 -2
  23. package/integrations/integration-base.js +1 -162
  24. package/integrations/integration-router.js +1 -6
  25. package/integrations/repositories/integration-mapping-repository-documentdb.js +0 -50
  26. package/integrations/repositories/integration-mapping-repository-interface.js +0 -15
  27. package/integrations/repositories/integration-mapping-repository-mongo.js +0 -29
  28. package/integrations/repositories/integration-mapping-repository-postgres.js +0 -30
  29. package/integrations/repositories/integration-mapping-repository.js +0 -29
  30. package/integrations/repositories/integration-repository-documentdb.js +2 -6
  31. package/integrations/repositories/integration-repository-interface.js +0 -3
  32. package/integrations/repositories/integration-repository-mongo.js +5 -20
  33. package/integrations/repositories/integration-repository-postgres.js +1 -5
  34. package/integrations/repositories/process-repository-mongo.js +1 -1
  35. package/integrations/use-cases/create-integration.js +4 -14
  36. package/integrations/use-cases/delete-integration-for-user.js +4 -4
  37. package/integrations/use-cases/get-integration-for-user.js +2 -4
  38. package/integrations/use-cases/get-integration-instance.js +4 -4
  39. package/integrations/use-cases/get-integrations-for-user.js +4 -4
  40. package/integrations/use-cases/get-possible-integrations.js +2 -7
  41. package/integrations/use-cases/update-integration.js +4 -4
  42. package/package.json +6 -6
  43. package/prisma-mongodb/schema.prisma +0 -65
  44. package/prisma-postgresql/schema.prisma +0 -63
  45. package/queues/queuer-util.js +2 -9
  46. package/errors/mapping-already-exists-error.js +0 -14
  47. package/handlers/workers/integration-triggers.js +0 -25
  48. package/infrastructure/scheduler/recurrence.js +0 -204
  49. package/integrations/definitions/README.md +0 -278
  50. package/integrations/definitions/canonical.js +0 -11
  51. package/integrations/definitions/capabilities/AUDIT.md +0 -480
  52. package/integrations/definitions/capabilities/acmeerp.capabilities.json +0 -633
  53. package/integrations/definitions/capabilities/asana.capabilities.json +0 -279
  54. package/integrations/definitions/capabilities/calendly.capabilities.json +0 -385
  55. package/integrations/definitions/capabilities/docusign.capabilities.json +0 -314
  56. package/integrations/definitions/capabilities/fathom.capabilities.json +0 -238
  57. package/integrations/definitions/capabilities/github.capabilities.json +0 -585
  58. package/integrations/definitions/capabilities/hubspot.capabilities.json +0 -822
  59. package/integrations/definitions/capabilities/jira.capabilities.json +0 -391
  60. package/integrations/definitions/capabilities/klaviyo.capabilities.json +0 -503
  61. package/integrations/definitions/capabilities/linear.capabilities.json +0 -378
  62. package/integrations/definitions/capabilities/netsuite.capabilities.json +0 -535
  63. package/integrations/definitions/capabilities/notion.capabilities.json +0 -208
  64. package/integrations/definitions/capabilities/phone.capabilities.json +0 -511
  65. package/integrations/definitions/capabilities/pipedrive.capabilities.json +0 -430
  66. package/integrations/definitions/capabilities/quickbooks.capabilities.json +0 -635
  67. package/integrations/definitions/capabilities/salesforce.capabilities.json +0 -568
  68. package/integrations/definitions/capabilities/shopify.capabilities.json +0 -1128
  69. package/integrations/definitions/capabilities/slack.capabilities.json +0 -373
  70. package/integrations/definitions/capabilities/stripe.capabilities.json +0 -630
  71. package/integrations/definitions/capabilities/webflow.capabilities.json +0 -196
  72. package/integrations/definitions/capabilities/zendesk.capabilities.json +0 -422
  73. package/integrations/definitions/compile.js +0 -80
  74. package/integrations/definitions/config-form.js +0 -137
  75. package/integrations/definitions/examples/acme-erp-quickbooks.definition.json +0 -467
  76. package/integrations/definitions/examples/asana-slack.definition.json +0 -219
  77. package/integrations/definitions/examples/calendly-salesforce.definition.json +0 -459
  78. package/integrations/definitions/examples/docusign-salesforce.definition.json +0 -305
  79. package/integrations/definitions/examples/fathom-hubspot-notion.definition.json +0 -575
  80. package/integrations/definitions/examples/github-linear.definition.json +0 -322
  81. package/integrations/definitions/examples/hubspot-slack.definition.json +0 -427
  82. package/integrations/definitions/examples/klaviyo-hubspot.definition.json +0 -336
  83. package/integrations/definitions/examples/phone-hubspot.definition.json +0 -633
  84. package/integrations/definitions/examples/pipedrive-hubspot.definition.json +0 -136
  85. package/integrations/definitions/examples/pipedrive-phone.definition.json +0 -340
  86. package/integrations/definitions/examples/records/phone-hubspot.definition-version.json +0 -652
  87. package/integrations/definitions/examples/records/phone-hubspot.integration.json +0 -86
  88. package/integrations/definitions/examples/records/phone-hubspot.mappings.json +0 -39
  89. package/integrations/definitions/examples/records/phone-hubspot.workflow-run.json +0 -62
  90. package/integrations/definitions/examples/shopify-klaviyo.definition.json +0 -488
  91. package/integrations/definitions/examples/shopify-netsuite.definition.json +0 -622
  92. package/integrations/definitions/examples/stripe-quickbooks.definition.json +0 -476
  93. package/integrations/definitions/examples/webflow-hubspot-slack.definition.json +0 -262
  94. package/integrations/definitions/examples/zendesk-jira.definition.json +0 -604
  95. package/integrations/definitions/expressions.js +0 -229
  96. package/integrations/definitions/index.js +0 -45
  97. package/integrations/definitions/integration-runtime.js +0 -763
  98. package/integrations/definitions/interpreter.js +0 -104
  99. package/integrations/definitions/manifests.js +0 -177
  100. package/integrations/definitions/renderers/common.js +0 -67
  101. package/integrations/definitions/renderers/html.js +0 -129
  102. package/integrations/definitions/renderers/hubspot.js +0 -59
  103. package/integrations/definitions/renderers/preview.js +0 -154
  104. package/integrations/definitions/renderers/slack.js +0 -146
  105. package/integrations/definitions/repositories/definition-version-repository.js +0 -67
  106. package/integrations/definitions/repositories/workflow-run-repository.js +0 -80
  107. package/integrations/definitions/router.js +0 -170
  108. package/integrations/definitions/runtime.js +0 -268
  109. package/integrations/definitions/schema/capability-manifest.v0.1.schema.json +0 -549
  110. package/integrations/definitions/schema/installation.v0.1.schema.json +0 -130
  111. package/integrations/definitions/schema/integration-definition.v0.1.schema.json +0 -909
  112. package/integrations/definitions/schema/records.md +0 -105
  113. package/integrations/definitions/schema-check.js +0 -58
  114. package/integrations/definitions/scripts/check-manifests.js +0 -220
  115. package/integrations/definitions/scripts/validate.js +0 -66
  116. package/integrations/definitions/steps.js +0 -123
  117. package/integrations/definitions/sync-engine.js +0 -297
  118. package/integrations/definitions/tests/helpers-fake-crm.js +0 -49
  119. package/integrations/definitions/transforms.js +0 -91
  120. package/integrations/definitions/use-cases/definition-use-cases.js +0 -245
  121. package/integrations/definitions/validate.js +0 -436
  122. package/integrations/definitions/versioning.js +0 -176
  123. package/integrations/definitions/webhooks.js +0 -119
  124. package/integrations/integration-types.js +0 -64
  125. package/integrations/triggers.js +0 -244
  126. package/integrations/use-cases/run-trigger-tick.js +0 -155
  127. package/integrations/use-cases/run-trigger.js +0 -77
  128. package/prisma-postgresql/migrations/20261018000000_add_data_defined_integrations/migration.sql +0 -66
  129. package/prisma-postgresql/migrations/20261019000000_workflow_run_waits/migration.sql +0 -7
  130. package/prisma-postgresql/migrations/20261019120000_definition_workspace/migration.sql +0 -5
@@ -1,575 +0,0 @@
1
- {
2
- "$schema": "https://friggframework.org/schemas/integration-definition/v0.1.json",
3
- "schemaVersion": "0.1",
4
- "id": "fathom-hubspot-notion",
5
- "version": "0.4.0",
6
- "display": {
7
- "label": "Fathom call follow-through",
8
- "description": "After a recorded customer call: the summary lands on the HubSpot deal, action items become tasks, the meeting gets a Notion page, and proposed deal-stage changes wait for approval in Slack.",
9
- "category": "Sales productivity",
10
- "tags": [
11
- "meetings",
12
- "crm",
13
- "notes",
14
- "ai"
15
- ]
16
- },
17
- "modules": {
18
- "fathom": {
19
- "module": "fathom",
20
- "version": "^0.4"
21
- },
22
- "hubspot": {
23
- "module": "hubspot",
24
- "version": "^1.4"
25
- },
26
- "notion": {
27
- "module": "notion",
28
- "version": "^1.3"
29
- },
30
- "slack": {
31
- "module": "slack",
32
- "version": "^2.0"
33
- }
34
- },
35
- "settings": {
36
- "meetingsDatabase": {
37
- "type": "option",
38
- "options": "notion.database",
39
- "label": "Notion meetings database",
40
- "required": true
41
- }
42
- },
43
- "workflows": [
44
- {
45
- "id": "summary-note",
46
- "label": "Call summary as a deal note",
47
- "purpose": "write",
48
- "default": "on",
49
- "trigger": {
50
- "type": "webhook",
51
- "module": "fathom",
52
- "topic": "meeting.ready"
53
- },
54
- "steps": [
55
- {
56
- "id": "people",
57
- "use": "code",
58
- "with": {
59
- "ref": "@acme/meeting-steps#externalInvitees@1.0.0",
60
- "with": {
61
- "invitees": "$.record.calendar_invitees"
62
- }
63
- }
64
- },
65
- {
66
- "use": "stop",
67
- "when": "$.steps.people.primaryEmail == null",
68
- "with": {
69
- "reason": "No external attendees: an internal meeting"
70
- }
71
- },
72
- {
73
- "id": "contacts",
74
- "use": "hubspot.contact.search",
75
- "with": {
76
- "email": "$.steps.people.primaryEmail",
77
- "limit": 1
78
- }
79
- },
80
- {
81
- "use": "stop",
82
- "when": "$.steps.contacts.results[0] == null",
83
- "with": {
84
- "reason": "Attendee is not a HubSpot contact"
85
- }
86
- },
87
- {
88
- "id": "deals",
89
- "use": "hubspot.deal.listForContact",
90
- "with": {
91
- "contactId": "$.steps.contacts.results[0].id",
92
- "open": true
93
- }
94
- },
95
- {
96
- "id": "body",
97
- "use": "template",
98
- "with": {
99
- "id": "summary-note"
100
- }
101
- },
102
- {
103
- "use": "hubspot.note.create",
104
- "with": {
105
- "contactId": "$.steps.contacts.results[0].id",
106
- "dealId": "$.steps.deals[0].id",
107
- "properties": {
108
- "hs_note_body": "$.steps.body",
109
- "hs_timestamp": "$.record.recording_end_time"
110
- }
111
- }
112
- }
113
- ]
114
- },
115
- {
116
- "id": "action-item-tasks",
117
- "label": "Action items become HubSpot tasks",
118
- "purpose": "write",
119
- "default": "on",
120
- "settings": {
121
- "fallbackOwner": {
122
- "type": "option",
123
- "options": "hubspot.owner",
124
- "label": "Owner when the assignee is not a HubSpot user"
125
- },
126
- "dueIn": {
127
- "type": "duration",
128
- "label": "Due in",
129
- "default": "2d"
130
- }
131
- },
132
- "trigger": {
133
- "type": "webhook",
134
- "module": "fathom",
135
- "topic": "meeting.ready",
136
- "filter": "$.record.action_items[0] exists"
137
- },
138
- "steps": [
139
- {
140
- "id": "people",
141
- "use": "code",
142
- "with": {
143
- "ref": "@acme/meeting-steps#externalInvitees@1.0.0",
144
- "with": {
145
- "invitees": "$.record.calendar_invitees"
146
- }
147
- }
148
- },
149
- {
150
- "use": "stop",
151
- "when": "$.steps.people.primaryEmail == null",
152
- "with": {
153
- "reason": "No external attendees: an internal meeting"
154
- }
155
- },
156
- {
157
- "id": "contacts",
158
- "use": "hubspot.contact.search",
159
- "with": {
160
- "email": "$.steps.people.primaryEmail",
161
- "limit": 1
162
- }
163
- },
164
- {
165
- "use": "stop",
166
- "when": "$.steps.contacts.results[0] == null",
167
- "with": {
168
- "reason": "Attendee is not a HubSpot contact"
169
- }
170
- },
171
- {
172
- "id": "tasks",
173
- "use": "foreach",
174
- "with": {
175
- "over": "$.record.action_items",
176
- "max": 25
177
- },
178
- "do": [
179
- {
180
- "id": "assignee",
181
- "use": "hubspot.owner.findByEmail",
182
- "when": "$.item.assignee.email exists",
183
- "with": {
184
- "email": "$.item.assignee.email"
185
- },
186
- "onError": "continue"
187
- },
188
- {
189
- "use": "hubspot.task.create",
190
- "when": "$.item.completed != true",
191
- "with": {
192
- "contactId": "$.steps.contacts.results[0].id",
193
- "properties": {
194
- "hs_task_subject": "{{item.description | truncate: 120}}",
195
- "hs_task_body": "From \"{{record.title}}\" at {{item.recording_timestamp}}: {{record.share_url}}",
196
- "hs_timestamp": "$.now",
197
- "hs_task_priority": "MEDIUM",
198
- "hubspot_owner_id": "{{steps.assignee.id | default: settings.fallbackOwner}}"
199
- }
200
- }
201
- }
202
- ]
203
- }
204
- ]
205
- },
206
- {
207
- "id": "meeting-page",
208
- "label": "Meeting page in Notion",
209
- "purpose": "write",
210
- "default": "on",
211
- "trigger": {
212
- "type": "webhook",
213
- "module": "fathom",
214
- "topic": "meeting.ready"
215
- },
216
- "steps": [
217
- {
218
- "id": "blocks",
219
- "use": "code",
220
- "with": {
221
- "ref": "@acme/notion-steps#markdownToBlocks@1.1.0",
222
- "with": {
223
- "markdown": "$.record.default_summary.markdown_formatted",
224
- "actionItems": "$.record.action_items"
225
- }
226
- }
227
- },
228
- {
229
- "id": "attendees",
230
- "use": "code",
231
- "with": {
232
- "ref": "@acme/meeting-steps#inviteeNames@1.0.0",
233
- "with": {
234
- "invitees": "$.record.calendar_invitees"
235
- }
236
- }
237
- },
238
- {
239
- "use": "notion.page.create",
240
- "with": {
241
- "parent": {
242
- "database_id": "$.install.meetingsDatabase"
243
- },
244
- "icon": {
245
- "type": "emoji",
246
- "emoji": "\ud83d\udcde"
247
- },
248
- "properties": {
249
- "Name": {
250
- "title": [
251
- {
252
- "text": {
253
- "content": "$.record.title"
254
- }
255
- }
256
- ]
257
- },
258
- "Date": {
259
- "date": {
260
- "start": "$.record.recording_start_time",
261
- "end": "$.record.recording_end_time"
262
- }
263
- },
264
- "Recording": {
265
- "url": "$.record.share_url"
266
- },
267
- "Attendees": {
268
- "rich_text": [
269
- {
270
- "text": {
271
- "content": "$.steps.attendees.text"
272
- }
273
- }
274
- ]
275
- },
276
- "Recorded by": {
277
- "email": "$.record.recorded_by.email"
278
- }
279
- },
280
- "children": "$.steps.blocks.blocks"
281
- }
282
- }
283
- ]
284
- },
285
- {
286
- "id": "deal-updates",
287
- "label": "Propose deal updates from the call",
288
- "description": "A stage change proposed by the call goes to Slack for approval; a next step alone is written straight to the deal.",
289
- "purpose": "write",
290
- "default": "off",
291
- "settings": {
292
- "approvalChannel": {
293
- "type": "option",
294
- "options": "slack.channel",
295
- "label": "Ask for approval in",
296
- "required": true
297
- }
298
- },
299
- "trigger": {
300
- "type": "webhook",
301
- "module": "fathom",
302
- "topic": "meeting.ready"
303
- },
304
- "steps": [
305
- {
306
- "id": "people",
307
- "use": "code",
308
- "with": {
309
- "ref": "@acme/meeting-steps#externalInvitees@1.0.0",
310
- "with": {
311
- "invitees": "$.record.calendar_invitees"
312
- }
313
- }
314
- },
315
- {
316
- "use": "stop",
317
- "when": "$.steps.people.primaryEmail == null",
318
- "with": {
319
- "reason": "No external attendees: an internal meeting"
320
- }
321
- },
322
- {
323
- "id": "contacts",
324
- "use": "hubspot.contact.search",
325
- "with": {
326
- "email": "$.steps.people.primaryEmail",
327
- "limit": 1
328
- }
329
- },
330
- {
331
- "use": "stop",
332
- "when": "$.steps.contacts.results[0] == null",
333
- "with": {
334
- "reason": "Attendee is not a HubSpot contact"
335
- }
336
- },
337
- {
338
- "id": "deals",
339
- "use": "hubspot.deal.listForContact",
340
- "with": {
341
- "contactId": "$.steps.contacts.results[0].id",
342
- "open": true
343
- }
344
- },
345
- {
346
- "use": "stop",
347
- "when": "$.steps.deals[0] == null",
348
- "with": {
349
- "reason": "Contact has no open deal"
350
- }
351
- },
352
- {
353
- "id": "proposal",
354
- "use": "code",
355
- "with": {
356
- "ref": "@acme/meeting-steps#proposeDealUpdates@1.0.0",
357
- "with": {
358
- "summary": "$.record.default_summary.markdown_formatted",
359
- "actionItems": "$.record.action_items",
360
- "deal": "$.steps.deals[0]"
361
- }
362
- }
363
- },
364
- {
365
- "id": "route",
366
- "use": "branch",
367
- "cases": [
368
- {
369
- "when": "$.steps.proposal.stage exists && $.steps.proposal.stage != $.steps.deals[0].properties.dealstage",
370
- "do": [
371
- {
372
- "id": "ask",
373
- "use": "template",
374
- "with": {
375
- "id": "approval-request"
376
- }
377
- },
378
- {
379
- "use": "slack.message.post",
380
- "with": {
381
- "channel": "$.settings.approvalChannel",
382
- "text": "$.steps.ask",
383
- "metadata": {
384
- "event_type": "deal_stage_proposal",
385
- "event_payload": {
386
- "dealId": "$.steps.deals[0].id",
387
- "stage": "$.steps.proposal.stage",
388
- "nextStep": "$.steps.proposal.nextStep",
389
- "recording": "$.record.share_url"
390
- }
391
- }
392
- }
393
- }
394
- ]
395
- },
396
- {
397
- "when": "$.steps.proposal.nextStep exists",
398
- "do": [
399
- {
400
- "use": "hubspot.deal.update",
401
- "with": {
402
- "dealId": "$.steps.deals[0].id",
403
- "properties": {
404
- "hs_next_step": "$.steps.proposal.nextStep"
405
- }
406
- }
407
- }
408
- ]
409
- }
410
- ]
411
- }
412
- ]
413
- },
414
- {
415
- "id": "approve-stage",
416
- "label": "Approve a proposed stage change",
417
- "purpose": "respond",
418
- "default": "on",
419
- "trigger": {
420
- "type": "userAction",
421
- "label": "Approve",
422
- "from": "stage-approval"
423
- },
424
- "steps": [
425
- {
426
- "use": "stop",
427
- "when": "$.record.metadata.event_type != 'deal_stage_proposal'",
428
- "with": {
429
- "reason": "Not a stage proposal"
430
- }
431
- },
432
- {
433
- "use": "hubspot.deal.update",
434
- "with": {
435
- "dealId": "$.record.metadata.event_payload.dealId",
436
- "properties": {
437
- "dealstage": "$.record.metadata.event_payload.stage",
438
- "hs_next_step": "$.record.metadata.event_payload.nextStep"
439
- }
440
- }
441
- },
442
- {
443
- "use": "slack.message.update",
444
- "with": {
445
- "channel": "$.record.channel",
446
- "ts": "$.record.ts",
447
- "text": ":white_check_mark: Approved by <@{{event.user.id}}>. {{record.text}}"
448
- }
449
- }
450
- ]
451
- }
452
- ],
453
- "queries": [
454
- {
455
- "id": "stage-proposal",
456
- "description": "The deal a stage-proposal message is about, with the proposed stage.",
457
- "steps": [
458
- {
459
- "use": "stop",
460
- "when": "$.record.metadata.event_type != 'deal_stage_proposal'",
461
- "with": {
462
- "reason": "Not a stage proposal"
463
- }
464
- },
465
- {
466
- "id": "deal",
467
- "use": "hubspot.deal.get",
468
- "with": {
469
- "id": "$.record.metadata.event_payload.dealId"
470
- }
471
- }
472
- ],
473
- "returns": {
474
- "deal": "$.steps.deal",
475
- "proposal": "$.record.metadata.event_payload"
476
- }
477
- }
478
- ],
479
- "ui": [
480
- {
481
- "id": "stage-approval",
482
- "label": "Deal stage proposal",
483
- "host": "slack",
484
- "placement": "message.actions",
485
- "data": {
486
- "query": "stage-proposal"
487
- },
488
- "view": {
489
- "component": "Stack",
490
- "children": [
491
- {
492
- "component": "Heading",
493
- "props": {
494
- "text": "{{data.deal.properties.dealname}}"
495
- }
496
- },
497
- {
498
- "component": "KeyValue",
499
- "props": {
500
- "items": [
501
- {
502
- "label": "Current stage",
503
- "value": "{{data.deal.properties.dealstage}}"
504
- },
505
- {
506
- "label": "Proposed stage",
507
- "value": "{{data.proposal.stage}}"
508
- },
509
- {
510
- "label": "Next step",
511
- "value": "{{data.proposal.nextStep | default: '\u2014'}}"
512
- }
513
- ]
514
- }
515
- },
516
- {
517
- "component": "Divider"
518
- },
519
- {
520
- "component": "Button",
521
- "when": "$.data.deal.properties.dealstage != $.data.proposal.stage",
522
- "props": {
523
- "label": "Approve",
524
- "style": "primary",
525
- "action": {
526
- "type": "userAction",
527
- "workflow": "approve-stage"
528
- }
529
- }
530
- },
531
- {
532
- "component": "Button",
533
- "props": {
534
- "label": "Watch the call",
535
- "action": {
536
- "type": "open_url",
537
- "url": "{{data.proposal.recording}}"
538
- }
539
- }
540
- }
541
- ]
542
- }
543
- }
544
- ],
545
- "templates": {
546
- "summary-note": "<b>{{record.title}}</b> ({{record.recording_start_time | date}})<br/>{{record.default_summary.markdown_formatted}}<br/><a href=\"{{record.share_url}}\">Watch the recording</a>",
547
- "approval-request": ":telephone_receiver: After \"{{record.title}}\", Fathom suggests moving *{{steps.deals[0].properties.dealname}}* from `{{steps.deals[0].properties.dealstage}}` to `{{steps.proposal.stage}}`.\nNext step: {{steps.proposal.nextStep | default: 'none captured'}}\nUse the message menu \u2192 *Deal stage proposal* to approve."
548
- },
549
- "lifecycle": {
550
- "onInstall": [
551
- {
552
- "id": "hook",
553
- "use": "fathom.webhook.create",
554
- "with": {
555
- "destination_url": "$.install.webhookUrls.fathom",
556
- "triggered_for": [
557
- "my_recordings",
558
- "shared_external_recordings"
559
- ],
560
- "include_summary": true,
561
- "include_action_items": true,
562
- "include_transcript": false
563
- }
564
- }
565
- ],
566
- "onUninstall": [
567
- {
568
- "use": "fathom.webhook.delete",
569
- "with": {
570
- "id": "$.install.runtime.installed.hook.id"
571
- }
572
- }
573
- ]
574
- }
575
- }