Skip to content

The open alternative to Salesforce, designed for AI.

Add customizable call recorder chat notice (#25146)

nitin7a6a67e3460e
diff --git a/packages/twenty-apps/public/call-recorder/README.md b/packages/twenty-apps/public/call-recorder/README.md
index 2346ada3fd0..17061ea3e3a 100644
--- a/packages/twenty-apps/public/call-recorder/README.md
+++ b/packages/twenty-apps/public/call-recorder/README.md
@@ -7,6 +7,7 @@
- **Recordings on every meeting**
- **A Call Recording tab**
- **A per-meeting on/off switch**
+- **Customizable in-meeting recording notices**
- **AI meeting summaries**
- **Built for AI & automation**
@@ -35,6 +36,10 @@ Events whose conference link points to any other platform (e.g. ro.am, Daily,
Whereby) or that only have a dial-in number are **ignored** — no bot is
scheduled, since it can't join the call.
+Recording notices are supported in Zoom, Google Meet, and Microsoft Teams.
+Workspace admins can turn them off or customize their text in the Call Recorder
+app settings. Webex and GoTo Meeting do not support bot chat messages.
+
## 📌 Heads up
- **Needs a synced calendar + video link** — ad-hoc calls that were never on
diff --git a/packages/twenty-apps/public/call-recorder/SETUP.md b/packages/twenty-apps/public/call-recorder/SETUP.md
index 0ab59824730..2952e82990a 100644
--- a/packages/twenty-apps/public/call-recorder/SETUP.md
+++ b/packages/twenty-apps/public/call-recorder/SETUP.md
@@ -35,11 +35,12 @@ Set these on the application registration after installing
| `CALL_RECORDER_RECORDING_RETENTION_HOURS` | No | How long Recall.ai retains the source media after processing. Defaults to `166` hours (6 days 22 hours), just under Recall's 168-hour free-storage window. Values above `168` may incur Recall storage charges. Twenty's ingested copy is unaffected. |
| `RECALL_WEBHOOK_SECRET` | Yes | Svix signing secret (`whsec_…`) used to verify incoming Recall webhooks. |
-> **Bot behavior settings** (display name, join timing, lobby and leave
-> timeouts), the transcription provider (`CALL_RECORDER_TRANSCRIPT_PROVIDER`)
-> and the summary settings (`CALL_RECORDER_SUMMARY_ENABLED`,
-> `CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT`) are **application variables**
-> that a workspace admin tunes inside the app — not server variables.
+> **Bot behavior settings** (display name, recording notice, join timing, lobby
+> and leave timeouts), the transcription provider
+> (`CALL_RECORDER_TRANSCRIPT_PROVIDER`) and the summary settings
+> (`CALL_RECORDER_SUMMARY_ENABLED`,
+> `CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT`) are **application variables** that
+> a workspace admin tunes inside the app — not server variables.
## Configuring the Recall webhook
diff --git a/packages/twenty-apps/public/call-recorder/src/__tests__/schema.integration-test.ts b/packages/twenty-apps/public/call-recorder/src/__tests__/schema.integration-test.ts
index e3ce75584e4..e5356f34d3a 100644
--- a/packages/twenty-apps/public/call-recorder/src/__tests__/schema.integration-test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/__tests__/schema.integration-test.ts
@@ -2,7 +2,7 @@ import { CoreApiClient } from 'twenty-client-sdk/core';
import { MetadataApiClient } from 'twenty-client-sdk/metadata';
import { describe, expect, it } from 'vitest';
-import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/application-universal-identifier';
+import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { CallRecordingRequestStatus } from 'src/logic-functions/constants/call-recording-request-status';
import { CallRecordingStatus } from 'src/logic-functions/constants/call-recording-status';
diff --git a/packages/twenty-apps/public/call-recorder/src/agents/call-recording-summarizer.agent.ts b/packages/twenty-apps/public/call-recorder/src/agents/call-recording-summarizer.agent.ts
index 1a6d9e42f1a..86833e67606 100644
--- a/packages/twenty-apps/public/call-recorder/src/agents/call-recording-summarizer.agent.ts
+++ b/packages/twenty-apps/public/call-recorder/src/agents/call-recording-summarizer.agent.ts
@@ -1,6 +1,6 @@
import { defineAgent } from 'twenty-sdk/define';
-import { CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-summarizer-agent-universal-identifier';
+import { CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { DEFAULT_CALL_RECORDING_SUMMARY_PROMPT } from 'src/constants/default-call-recording-summary-prompt';
export default defineAgent({
diff --git a/packages/twenty-apps/public/call-recorder/src/application-config.ts b/packages/twenty-apps/public/call-recorder/src/application-config.ts
index 41b7df9bea4..6c1cb941d25 100644
--- a/packages/twenty-apps/public/call-recorder/src/application-config.ts
+++ b/packages/twenty-apps/public/call-recorder/src/application-config.ts
@@ -2,17 +2,21 @@ import { defineApplication, FieldType } from 'twenty-sdk/define';
import { APP_DESCRIPTION } from 'src/constants/app-description';
import { APP_DISPLAY_NAME } from 'src/constants/app-display-name';
-import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/application-universal-identifier';
-import { CALL_RECORDER_BOT_IMAGE_BACKGROUND_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-bot-image-background-app-variable-universal-identifier';
-import { CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-everyone-left-timeout-seconds-app-variable-universal-identifier';
-import { CALL_RECORDER_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-join-early-minutes-app-variable-universal-identifier';
-import { CALL_RECORDER_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-name-app-variable-universal-identifier';
-import { CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-noone-joined-timeout-seconds-app-variable-universal-identifier';
-import { CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-additional-summary-prompt-app-variable-universal-identifier';
-import { CALL_RECORDER_SUMMARY_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-summary-enabled-app-variable-universal-identifier';
-import { CALL_RECORDER_TRANSCRIPT_PROVIDER_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-transcript-provider-app-variable-universal-identifier';
-import { CALL_RECORDER_USE_WORKSPACE_LOGO_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-use-workspace-logo-app-variable-universal-identifier';
-import { CALL_RECORDER_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-waiting-room-timeout-seconds-app-variable-universal-identifier';
+import {
+ APPLICATION_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_BOT_IMAGE_BACKGROUND_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_RECORDING_NOTICE_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_RECORDING_NOTICE_MESSAGE_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_SUMMARY_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_TRANSCRIPT_PROVIDER_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_USE_WORKSPACE_LOGO_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDER_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { CALL_RECORDER_BOT_IMAGE_BACKGROUND_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-bot-image-background-env-var-name';
import { CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS } from 'src/logic-functions/constants/call-recorder-everyone-left-timeout-seconds';
import { CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-everyone-left-timeout-seconds-env-var-name';
@@ -20,6 +24,9 @@ import { CALL_RECORDER_JOIN_EARLY_MINUTES_ENV_VAR_NAME } from 'src/logic-functio
import { CALL_RECORDER_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-name-env-var-name';
import { CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS } from 'src/logic-functions/constants/call-recorder-noone-joined-timeout-seconds';
import { CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-noone-joined-timeout-seconds-env-var-name';
+import { CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name';
+import { CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH } from 'src/logic-functions/constants/call-recorder-recording-notice-max-length';
+import { CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name';
import { CALL_RECORDER_RECORDING_RETENTION_HOURS_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-retention-hours-env-var-name';
import { CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-additional-summary-prompt-env-var-name';
import { CALL_RECORDER_SUMMARY_ENABLED_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-summary-enabled-env-var-name';
@@ -30,6 +37,8 @@ import { CALL_RECORDER_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/log
import { DEFAULT_CALL_RECORDER_BOT_IMAGE_BACKGROUND } from 'src/logic-functions/constants/default-call-recorder-bot-image-background';
import { DEFAULT_CALL_RECORDER_JOIN_EARLY_MINUTES } from 'src/logic-functions/constants/default-call-recorder-join-early-minutes';
import { DEFAULT_CALL_RECORDER_NAME } from 'src/logic-functions/constants/default-call-recorder-name';
+import { DEFAULT_CALL_RECORDER_RECORDING_NOTICE_ENABLED } from 'src/logic-functions/constants/default-call-recorder-recording-notice-enabled';
+import { DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE } from 'src/logic-functions/constants/default-call-recorder-recording-notice-message';
import { DEFAULT_CALL_RECORDER_RECORDING_RETENTION_HOURS } from 'src/logic-functions/constants/default-call-recorder-recording-retention-hours';
import { DEFAULT_CALL_RECORDER_SUMMARY_ENABLED } from 'src/logic-functions/constants/default-call-recorder-summary-enabled';
import { DEFAULT_CALL_RECORDER_TRANSCRIPT_PROVIDER } from 'src/logic-functions/constants/default-call-recorder-transcript-provider';
@@ -56,6 +65,25 @@ export default defineApplication({
type: FieldType.TEXT,
value: DEFAULT_CALL_RECORDER_NAME,
},
+ [CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME]: {
+ universalIdentifier:
+ CALL_RECORDER_RECORDING_NOTICE_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ label: 'Send recording notice',
+ description:
+ 'Whether the bot sends a recording notice in supported meeting chats when it joins.',
+ isSecret: false,
+ type: FieldType.BOOLEAN,
+ value: DEFAULT_CALL_RECORDER_RECORDING_NOTICE_ENABLED,
+ },
+ [CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME]: {
+ universalIdentifier:
+ CALL_RECORDER_RECORDING_NOTICE_MESSAGE_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ label: 'Recording notice message',
+ description: `Message sent in supported meeting chats. Limited to ${CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH} characters for Google Meet compatibility; longer values are truncated.`,
+ isSecret: false,
+ type: FieldType.TEXT,
+ value: DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE,
+ },
[CALL_RECORDER_JOIN_EARLY_MINUTES_ENV_VAR_NAME]: {
universalIdentifier:
CALL_RECORDER_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
diff --git a/packages/twenty-apps/public/call-recorder/src/command-menu-items/generate-call-recording-summary.ts b/packages/twenty-apps/public/call-recorder/src/command-menu-items/generate-call-recording-summary.ts
index 1275c3ce249..9a826f092af 100644
--- a/packages/twenty-apps/public/call-recorder/src/command-menu-items/generate-call-recording-summary.ts
+++ b/packages/twenty-apps/public/call-recorder/src/command-menu-items/generate-call-recording-summary.ts
@@ -4,8 +4,10 @@ import {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';
-import { GENERATE_CALL_RECORDING_SUMMARY_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER } from 'src/constants/generate-call-recording-summary-command-menu-item-universal-identifier';
-import { GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from 'src/constants/generate-call-recording-summary-front-component-universal-identifier';
+import {
+ GENERATE_CALL_RECORDING_SUMMARY_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER,
+ GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
export default defineCommandMenuItem({
universalIdentifier:
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/__tests__/call-recording-field-universal-identifiers.test.ts b/packages/twenty-apps/public/call-recorder/src/constants/__tests__/call-recording-field-universal-identifiers.test.ts
index 78d6c1b7998..482ff697ce3 100644
--- a/packages/twenty-apps/public/call-recorder/src/constants/__tests__/call-recording-field-universal-identifiers.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/constants/__tests__/call-recording-field-universal-identifiers.test.ts
@@ -1,8 +1,10 @@
import { STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-sdk/define';
import { describe, expect, it } from 'vitest';
-import { CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-audio-field-universal-identifier';
-import { CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-video-field-universal-identifier';
+import {
+ CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
// This test is nothing more than a sanity check to ensure that the universal identifiers for the call recording media fields are correct.
describe('call recording field universal identifiers', () => {
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/application-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/application-universal-identifier.ts
deleted file mode 100644
index b88164429bd..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/application-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const APPLICATION_UNIVERSAL_IDENTIFIER =
- '8da4b8b5-5edf-4880-b51f-ab6e679ec617';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-attempted-at-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-attempted-at-field-universal-identifier.ts
deleted file mode 100644
index 0fc768d532c..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-attempted-at-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const BOT_SCHEDULE_ATTEMPTED_AT_FIELD_UNIVERSAL_IDENTIFIER =
- 'ca1d0179-f611-46bd-ba8a-b503ea9d024e';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-idempotency-key-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-idempotency-key-field-universal-identifier.ts
deleted file mode 100644
index a1e694e897f..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/bot-schedule-idempotency-key-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const BOT_SCHEDULE_IDEMPOTENCY_KEY_FIELD_UNIVERSAL_IDENTIFIER =
- '6f00ea4d-1c5a-47ac-8c18-baacf5ee7c3f';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/calendar-event-reconciliation-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/calendar-event-reconciliation-logic-function-universal-identifier.ts
deleted file mode 100644
index b9f7a2ee813..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/calendar-event-reconciliation-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALENDAR_EVENT_RECONCILIATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '1f28c477-6423-4911-85bf-2296ef112be9';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-additional-summary-prompt-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-additional-summary-prompt-app-variable-universal-identifier.ts
deleted file mode 100644
index 69ada219f68..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-additional-summary-prompt-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '587ead10-c514-468c-944f-17050c88dcc1';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-bot-image-background-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-bot-image-background-app-variable-universal-identifier.ts
deleted file mode 100644
index 12734e69039..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-bot-image-background-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_BOT_IMAGE_BACKGROUND_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'fd0d9495-29ae-443e-84f9-4ec4d1f2d16a';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-everyone-left-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index 91afdbaf24d..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'c866ddd4-fb7b-4cb4-8ad1-5599755e495c';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-failure-reason-on-call-recording-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-failure-reason-on-call-recording-field-universal-identifier.ts
deleted file mode 100644
index 756ac5b8f1e..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-failure-reason-on-call-recording-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_FAILURE_REASON_ON_CALL_RECORDING_FIELD_UNIVERSAL_IDENTIFIER =
- '33a577e4-02f5-48bd-8bed-d365949caa72';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-join-early-minutes-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-join-early-minutes-app-variable-universal-identifier.ts
deleted file mode 100644
index 7d8c6d1e82e..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-join-early-minutes-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '0568ebb2-3f64-47de-8c0d-d367dfbb7462';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-name-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-name-app-variable-universal-identifier.ts
deleted file mode 100644
index 7fa1191e9eb..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-name-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'c54cbacd-ad10-40b4-9056-7aaf23846d64';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-noone-joined-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index 84353d31b48..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '241180e8-d864-4160-ad02-db44a9e8d395';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-preference-on-calendar-event-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-preference-on-calendar-event-field-universal-identifier.ts
deleted file mode 100644
index 11332c398b4..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-preference-on-calendar-event-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_PREFERENCE_ON_CALENDAR_EVENT_FIELD_UNIVERSAL_IDENTIFIER =
- '8ee9444a-2437-4def-8e61-6e493862a4fd';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-summary-enabled-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-summary-enabled-app-variable-universal-identifier.ts
deleted file mode 100644
index e7e5236f282..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-summary-enabled-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_SUMMARY_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '1d7bf052-4338-44da-b373-23f6d291a50c';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-transcript-provider-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-transcript-provider-app-variable-universal-identifier.ts
deleted file mode 100644
index 9fc807dc0cc..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-transcript-provider-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_TRANSCRIPT_PROVIDER_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '598c1003-2767-4ccf-bc95-c251e6b92189';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-use-workspace-logo-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-use-workspace-logo-app-variable-universal-identifier.ts
deleted file mode 100644
index 21036d8ac33..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-use-workspace-logo-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_USE_WORKSPACE_LOGO_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'fc06a41c-d1f3-4c51-a64b-d71ed77374c1';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-waiting-room-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index fc87a724129..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recorder-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDER_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '12e4e14d-d539-4d07-b477-4773539dd20b';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-artifacts-import-claimed-at-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recording-artifacts-import-claimed-at-field-universal-identifier.ts
deleted file mode 100644
index 7f0233edbdf..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-artifacts-import-claimed-at-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDING_ARTIFACTS_IMPORT_CLAIMED_AT_FIELD_UNIVERSAL_IDENTIFIER =
- 'bf8ebf7e-4d52-4a7b-8d41-337c53d478ab';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-audio-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recording-audio-field-universal-identifier.ts
deleted file mode 100644
index 6d17dc45d95..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-audio-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER =
- '2eafc2d0-8fec-430c-a939-65ca5fbc0f08';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-summarizer-agent-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recording-summarizer-agent-universal-identifier.ts
deleted file mode 100644
index 119dd5286b1..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-summarizer-agent-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER =
- '388543f3-ec85-4905-ad7d-99801337ed5c';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-video-field-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/call-recording-video-field-universal-identifier.ts
deleted file mode 100644
index ff4ebcf5fa3..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/call-recording-video-field-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER =
- 'bb9523d3-457e-4f4b-8c79-27a77afb87da';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bot-on-call-recording-delete-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bot-on-call-recording-delete-logic-function-universal-identifier.ts
deleted file mode 100644
index 8343018c3a3..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bot-on-call-recording-delete-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CANCEL_RECALL_BOT_ON_CALL_RECORDING_DELETE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '84981386-881f-4123-a2dd-82e0932ba663';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bots-on-uninstall-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bots-on-uninstall-logic-function-universal-identifier.ts
deleted file mode 100644
index d3eae980898..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/cancel-recall-bots-on-uninstall-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CANCEL_RECALL_BOTS_ON_UNINSTALL_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '8f00ec95-38f0-4dc7-816a-78374affa32a';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/cleanup-orphaned-recall-bots-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/cleanup-orphaned-recall-bots-logic-function-universal-identifier.ts
deleted file mode 100644
index 944d51f1f6e..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/cleanup-orphaned-recall-bots-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- 'fa394597-dc73-4fee-9758-dea7401b0b8f';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/default-role-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/default-role-universal-identifier.ts
deleted file mode 100644
index 1c23dd519d9..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/default-role-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER =
- '5fcf4d3a-0aca-42d9-9beb-7387f43ec180';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/enqueue-orphaned-recall-bot-cleanup-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/enqueue-orphaned-recall-bot-cleanup-logic-function-universal-identifier.ts
deleted file mode 100644
index b5785d46878..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/enqueue-orphaned-recall-bot-cleanup-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const ENQUEUE_ORPHANED_RECALL_BOT_CLEANUP_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '455458ce-bbc3-4b39-a3f2-950540c9eda7';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summaries-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summaries-logic-function-universal-identifier.ts
deleted file mode 100644
index e6f9f013540..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summaries-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const GENERATE_CALL_RECORDING_SUMMARIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '3467c68d-5d81-4f16-8234-b4182cb17f19';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-command-menu-item-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-command-menu-item-universal-identifier.ts
deleted file mode 100644
index abb6b1c7737..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-command-menu-item-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const GENERATE_CALL_RECORDING_SUMMARY_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER =
- '6b7b0989-2946-413b-9b6a-08336b418788';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-front-component-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-front-component-universal-identifier.ts
deleted file mode 100644
index 223a07d0ce3..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/generate-call-recording-summary-front-component-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =
- '4b81fd8f-5626-4d5a-a97e-0543436bb555';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/import-call-recording-artifacts-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/import-call-recording-artifacts-logic-function-universal-identifier.ts
deleted file mode 100644
index ff1d52cd911..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/import-call-recording-artifacts-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '6b975429-7f0d-4a08-8e5e-5a830e6dc621';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/pending-call-recording-requests-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/pending-call-recording-requests-logic-function-universal-identifier.ts
deleted file mode 100644
index 55210023a8b..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/pending-call-recording-requests-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const PENDING_CALL_RECORDING_REQUESTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- 'd7d1170f-abb1-4c9b-8258-13219a611b03';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/process-recall-webhook-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/process-recall-webhook-logic-function-universal-identifier.ts
deleted file mode 100644
index fa502af2305..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/process-recall-webhook-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '13d9c427-447e-494a-8d3c-1af5d0bacb82';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/recall-webhook-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/recall-webhook-logic-function-universal-identifier.ts
deleted file mode 100644
index 98e5e559bea..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/recall-webhook-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '9215afe6-1497-4149-a49d-e608e239bbaf';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier.ts
deleted file mode 100644
index cb28e05b3f9..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '06fafff7-c722-41d1-869d-9554736f4c53';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/schedule-recall-bot-on-call-recording-update-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/schedule-recall-bot-on-call-recording-update-logic-function-universal-identifier.ts
deleted file mode 100644
index 1ddd4102bd3..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/schedule-recall-bot-on-call-recording-update-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const SCHEDULE_RECALL_BOT_ON_CALL_RECORDING_UPDATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- 'fad4b1b5-8b6e-48c7-a8c7-3aecae2672c1';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/stale-bot-state-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/stale-bot-state-logic-function-universal-identifier.ts
deleted file mode 100644
index 79ea9ad293c..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/stale-bot-state-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const STALE_BOT_STATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- 'e362aa9b-52c6-4b7e-bb20-927e0e8d7cbe';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/start-post-install-backfills-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/start-post-install-backfills-logic-function-universal-identifier.ts
deleted file mode 100644
index 8aa18debf41..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/start-post-install-backfills-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const START_POST_INSTALL_BACKFILLS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '53e0acb4-b761-40c9-8aaf-554d2a5da00f';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/summarize-call-recording-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/summarize-call-recording-logic-function-universal-identifier.ts
deleted file mode 100644
index 49d2c652eaf..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/summarize-call-recording-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const SUMMARIZE_CALL_RECORDING_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- 'c7a59e9c-935d-45ae-ae95-ded8d327f581';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier.ts b/packages/twenty-apps/public/call-recorder/src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier.ts
deleted file mode 100644
index 9187ad5f49e..00000000000
--- a/packages/twenty-apps/public/call-recorder/src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
- '05ab984e-c6ad-4b1c-800f-8f029dc7aac8';
diff --git a/packages/twenty-apps/public/call-recorder/src/constants/universal-identifiers.ts b/packages/twenty-apps/public/call-recorder/src/constants/universal-identifiers.ts
new file mode 100644
index 00000000000..68c75cba453
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/constants/universal-identifiers.ts
@@ -0,0 +1,119 @@
+export const APPLICATION_UNIVERSAL_IDENTIFIER =
+ '8da4b8b5-5edf-4880-b51f-ab6e679ec617';
+
+export const BOT_SCHEDULE_ATTEMPTED_AT_FIELD_UNIVERSAL_IDENTIFIER =
+ 'ca1d0179-f611-46bd-ba8a-b503ea9d024e';
+
+export const BOT_SCHEDULE_IDEMPOTENCY_KEY_FIELD_UNIVERSAL_IDENTIFIER =
+ '6f00ea4d-1c5a-47ac-8c18-baacf5ee7c3f';
+
+export const CALENDAR_EVENT_RECONCILIATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '1f28c477-6423-4911-85bf-2296ef112be9';
+
+export const CALL_RECORDER_ADDITIONAL_SUMMARY_PROMPT_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '587ead10-c514-468c-944f-17050c88dcc1';
+
+export const CALL_RECORDER_BOT_IMAGE_BACKGROUND_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'fd0d9495-29ae-443e-84f9-4ec4d1f2d16a';
+
+export const CALL_RECORDER_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'c866ddd4-fb7b-4cb4-8ad1-5599755e495c';
+
+export const CALL_RECORDER_FAILURE_REASON_ON_CALL_RECORDING_FIELD_UNIVERSAL_IDENTIFIER =
+ '33a577e4-02f5-48bd-8bed-d365949caa72';
+
+export const CALL_RECORDER_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '0568ebb2-3f64-47de-8c0d-d367dfbb7462';
+
+export const CALL_RECORDER_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'c54cbacd-ad10-40b4-9056-7aaf23846d64';
+
+export const CALL_RECORDER_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '241180e8-d864-4160-ad02-db44a9e8d395';
+
+export const CALL_RECORDER_PREFERENCE_ON_CALENDAR_EVENT_FIELD_UNIVERSAL_IDENTIFIER =
+ '8ee9444a-2437-4def-8e61-6e493862a4fd';
+
+export const CALL_RECORDER_RECORDING_NOTICE_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'fbf5f1ef-34c7-4411-b392-e314f6d064d0';
+
+export const CALL_RECORDER_RECORDING_NOTICE_MESSAGE_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '7103451a-2c46-4c16-bc2c-a9f28b329ee5';
+
+export const CALL_RECORDER_SUMMARY_ENABLED_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '1d7bf052-4338-44da-b373-23f6d291a50c';
+
+export const CALL_RECORDER_TRANSCRIPT_PROVIDER_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '598c1003-2767-4ccf-bc95-c251e6b92189';
+
+export const CALL_RECORDER_USE_WORKSPACE_LOGO_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'fc06a41c-d1f3-4c51-a64b-d71ed77374c1';
+
+export const CALL_RECORDER_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '12e4e14d-d539-4d07-b477-4773539dd20b';
+
+export const CALL_RECORDING_ARTIFACTS_IMPORT_CLAIMED_AT_FIELD_UNIVERSAL_IDENTIFIER =
+ 'bf8ebf7e-4d52-4a7b-8d41-337c53d478ab';
+
+export const CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER =
+ '2eafc2d0-8fec-430c-a939-65ca5fbc0f08';
+
+export const CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER =
+ '388543f3-ec85-4905-ad7d-99801337ed5c';
+
+export const CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER =
+ 'bb9523d3-457e-4f4b-8c79-27a77afb87da';
+
+export const CANCEL_RECALL_BOT_ON_CALL_RECORDING_DELETE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '84981386-881f-4123-a2dd-82e0932ba663';
+
+export const CANCEL_RECALL_BOTS_ON_UNINSTALL_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '8f00ec95-38f0-4dc7-816a-78374affa32a';
+
+export const CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ 'fa394597-dc73-4fee-9758-dea7401b0b8f';
+
+export const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER =
+ '5fcf4d3a-0aca-42d9-9beb-7387f43ec180';
+
+export const ENQUEUE_ORPHANED_RECALL_BOT_CLEANUP_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '455458ce-bbc3-4b39-a3f2-950540c9eda7';
+
+export const GENERATE_CALL_RECORDING_SUMMARIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '3467c68d-5d81-4f16-8234-b4182cb17f19';
+
+export const GENERATE_CALL_RECORDING_SUMMARY_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER =
+ '6b7b0989-2946-413b-9b6a-08336b418788';
+
+export const GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =
+ '4b81fd8f-5626-4d5a-a97e-0543436bb555';
+
+export const IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '6b975429-7f0d-4a08-8e5e-5a830e6dc621';
+
+export const PENDING_CALL_RECORDING_REQUESTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ 'd7d1170f-abb1-4c9b-8258-13219a611b03';
+
+export const PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '13d9c427-447e-494a-8d3c-1af5d0bacb82';
+
+export const RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '9215afe6-1497-4149-a49d-e608e239bbaf';
+
+export const RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '06fafff7-c722-41d1-869d-9554736f4c53';
+
+export const SCHEDULE_RECALL_BOT_ON_CALL_RECORDING_UPDATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ 'fad4b1b5-8b6e-48c7-a8c7-3aecae2672c1';
+
+export const STALE_BOT_STATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ 'e362aa9b-52c6-4b7e-bb20-927e0e8d7cbe';
+
+export const START_POST_INSTALL_BACKFILLS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '53e0acb4-b761-40c9-8aaf-554d2a5da00f';
+
+export const SUMMARIZE_CALL_RECORDING_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ 'c7a59e9c-935d-45ae-ae95-ded8d327f581';
+
+export const SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =
+ '05ab984e-c6ad-4b1c-800f-8f029dc7aac8';
diff --git a/packages/twenty-apps/public/call-recorder/src/default-role.ts b/packages/twenty-apps/public/call-recorder/src/default-role.ts
index c0b9a0d01cf..4a7ce104c46 100644
--- a/packages/twenty-apps/public/call-recorder/src/default-role.ts
+++ b/packages/twenty-apps/public/call-recorder/src/default-role.ts
@@ -5,7 +5,7 @@ import {
} from 'twenty-sdk/define';
import { APP_DISPLAY_NAME } from 'src/constants/app-display-name';
-import { DEFAULT_ROLE_UNIVERSAL_IDENTIFIER } from 'src/constants/default-role-universal-identifier';
+import { DEFAULT_ROLE_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineApplicationRole({
universalIdentifier: DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,
diff --git a/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-attempted-at-on-call-recording.field.ts b/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-attempted-at-on-call-recording.field.ts
index 4966e968fd7..5e7187f1689 100644
--- a/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-attempted-at-on-call-recording.field.ts
+++ b/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-attempted-at-on-call-recording.field.ts
@@ -4,7 +4,7 @@ import {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';
-import { BOT_SCHEDULE_ATTEMPTED_AT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/bot-schedule-attempted-at-field-universal-identifier';
+import { BOT_SCHEDULE_ATTEMPTED_AT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineField({
universalIdentifier: BOT_SCHEDULE_ATTEMPTED_AT_FIELD_UNIVERSAL_IDENTIFIER,
diff --git a/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-idempotency-key-on-call-recording.field.ts b/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-idempotency-key-on-call-recording.field.ts
index 8957d54a48c..9638b2c7b87 100644
--- a/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-idempotency-key-on-call-recording.field.ts
+++ b/packages/twenty-apps/public/call-recorder/src/fields/bot-schedule-idempotency-key-on-call-recording.field.ts
@@ -4,7 +4,7 @@ import {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';
-import { BOT_SCHEDULE_IDEMPOTENCY_KEY_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/bot-schedule-idempotency-key-field-universal-identifier';
+import { BOT_SCHEDULE_IDEMPOTENCY_KEY_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineField({
universalIdentifier: BOT_SCHEDULE_IDEMPOTENCY_KEY_FIELD_UNIVERSAL_IDENTIFIER,
diff --git a/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-failure-reason-on-call-recording.field.ts b/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-failure-reason-on-call-recording.field.ts
index b7e03ede640..70296b05043 100644
--- a/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-failure-reason-on-call-recording.field.ts
+++ b/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-failure-reason-on-call-recording.field.ts
@@ -4,7 +4,7 @@ import {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';
-import { CALL_RECORDER_FAILURE_REASON_ON_CALL_RECORDING_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-failure-reason-on-call-recording-field-universal-identifier';
+import { CALL_RECORDER_FAILURE_REASON_ON_CALL_RECORDING_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineField({
universalIdentifier:
diff --git a/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-preference-on-calendar-event.field.ts b/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-preference-on-calendar-event.field.ts
index fd9c4badbba..1af5e46bf3f 100644
--- a/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-preference-on-calendar-event.field.ts
+++ b/packages/twenty-apps/public/call-recorder/src/fields/call-recorder-preference-on-calendar-event.field.ts
@@ -7,7 +7,7 @@ import {
import { CallRecorderPreference } from 'src/constants/call-recorder-preference';
import { CALL_RECORDER_PREFERENCE_OFF_OPTION_ID } from 'src/constants/call-recorder-preference-off-option-id';
import { CALL_RECORDER_PREFERENCE_ON_OPTION_ID } from 'src/constants/call-recorder-preference-on-option-id';
-import { CALL_RECORDER_PREFERENCE_ON_CALENDAR_EVENT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recorder-preference-on-calendar-event-field-universal-identifier';
+import { CALL_RECORDER_PREFERENCE_ON_CALENDAR_EVENT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineField({
universalIdentifier:
diff --git a/packages/twenty-apps/public/call-recorder/src/fields/call-recording-artifacts-import-claimed-at-on-call-recording.field.ts b/packages/twenty-apps/public/call-recorder/src/fields/call-recording-artifacts-import-claimed-at-on-call-recording.field.ts
index 876ddd26f2c..6ae8738a2fa 100644
--- a/packages/twenty-apps/public/call-recorder/src/fields/call-recording-artifacts-import-claimed-at-on-call-recording.field.ts
+++ b/packages/twenty-apps/public/call-recorder/src/fields/call-recording-artifacts-import-claimed-at-on-call-recording.field.ts
@@ -4,7 +4,7 @@ import {
STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';
-import { CALL_RECORDING_ARTIFACTS_IMPORT_CLAIMED_AT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-artifacts-import-claimed-at-field-universal-identifier';
+import { CALL_RECORDING_ARTIFACTS_IMPORT_CLAIMED_AT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
export default defineField({
universalIdentifier:
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/generate-call-recording-summary-effect.front-component.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/generate-call-recording-summary-effect.front-component.tsx
index 0f4eba7353e..aa86df7ac0d 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/generate-call-recording-summary-effect.front-component.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/generate-call-recording-summary-effect.front-component.tsx
@@ -1,7 +1,7 @@
import { defineFrontComponent } from 'twenty-sdk/define';
import { Command, useSelectedRecordIds } from 'twenty-sdk/front-component';
-import { GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from 'src/constants/generate-call-recording-summary-front-component-universal-identifier';
+import { GENERATE_CALL_RECORDING_SUMMARY_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { requestCallRecordingSummaryGeneration } from 'src/front-components/utils/request-call-recording-summary-generation.util';
const GenerateCallRecordingSummary = () => {
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/recall-webhook.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/recall-webhook.test.ts
index dc63a7f0cdf..afacaeea5cf 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/recall-webhook.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/recall-webhook.test.ts
@@ -2,7 +2,7 @@ import { createHmac } from 'crypto';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-import { PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/process-recall-webhook-logic-function-universal-identifier';
+import { PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import recallWebhookLogicFunction, {
recallWebhookRouteHandler,
} from 'src/logic-functions/recall-webhook';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/start-post-install-backfills.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/start-post-install-backfills.test.ts
index cee6a1324e6..743ba66fdad 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/start-post-install-backfills.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/start-post-install-backfills.test.ts
@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, it, vi } from 'vitest';
-import { SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier';
+import { SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { ENQUEUED_JOB_RETRY_LIMIT } from 'src/logic-functions/constants/enqueued-job-retry-limit';
import postInstallLogicFunction, {
startPostInstallBackfillsHandler,
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/sweep-upcoming-calendar-events.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/sweep-upcoming-calendar-events.test.ts
index 3ffe56a43f8..f73e35127b5 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/sweep-upcoming-calendar-events.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/__tests__/sweep-upcoming-calendar-events.test.ts
@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, it, vi } from 'vitest';
-import { RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier';
+import { RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { ENQUEUED_JOB_RETRY_LIMIT } from 'src/logic-functions/constants/enqueued-job-retry-limit';
import { UPCOMING_CALENDAR_EVENT_RECONCILIATION_BATCH_SIZE } from 'src/logic-functions/constants/upcoming-calendar-event-reconciliation-batch-size';
import sweepLogicFunction, {
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bot-on-call-recording-delete.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bot-on-call-recording-delete.ts
index 581c253aa2a..d33018991d2 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bot-on-call-recording-delete.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bot-on-call-recording-delete.ts
@@ -4,7 +4,7 @@ import {
type ObjectRecordBaseEvent,
} from 'twenty-sdk/define';
-import { CANCEL_RECALL_BOT_ON_CALL_RECORDING_DELETE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/cancel-recall-bot-on-call-recording-delete-logic-function-universal-identifier';
+import { CANCEL_RECALL_BOT_ON_CALL_RECORDING_DELETE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { cancelOrEjectRecallBot } from 'src/logic-functions/recall-api/cancel-or-eject-recall-bot.util';
import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bots-on-uninstall.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bots-on-uninstall.ts
index 51b9291c7c4..6166213dc20 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bots-on-uninstall.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/cancel-recall-bots-on-uninstall.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineUninstallLogicFunction } from 'twenty-sdk/define';
-import { CANCEL_RECALL_BOTS_ON_UNINSTALL_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/cancel-recall-bots-on-uninstall-logic-function-universal-identifier';
+import { CANCEL_RECALL_BOTS_ON_UNINSTALL_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { RECALL_API_MAX_IN_PROCESS_RETRY_WAIT_MS } from 'src/logic-functions/constants/recall-api-max-in-process-retry-wait-ms';
import { cancelOpenScheduledCallRecordingRequests } from 'src/logic-functions/data/cancel-open-scheduled-call-recording-requests.util';
import { findOpenScheduledCallRecordings } from 'src/logic-functions/data/find-open-scheduled-call-recordings.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/cleanup-orphaned-recall-bots.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/cleanup-orphaned-recall-bots.ts
index 53c5019987b..c03557ecc7e 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/cleanup-orphaned-recall-bots.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/cleanup-orphaned-recall-bots.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/cleanup-orphaned-recall-bots-logic-function-universal-identifier';
+import { CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import {
cleanupOrphanedRecallBots,
type CleanupOrphanedRecallBotsResult,
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name.ts
new file mode 100644
index 00000000000..d24dc8ae80f
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name.ts
@@ -0,0 +1,2 @@
+export const CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME =
+ 'CALL_RECORDER_RECORDING_NOTICE_ENABLED';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-max-length.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-max-length.ts
new file mode 100644
index 00000000000..63245a86809
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-max-length.ts
@@ -0,0 +1 @@
+export const CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH = 500;
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name.ts
new file mode 100644
index 00000000000..cd806bc68f1
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name.ts
@@ -0,0 +1,2 @@
+export const CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME =
+ 'CALL_RECORDER_RECORDING_NOTICE_MESSAGE';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-enabled.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-enabled.ts
new file mode 100644
index 00000000000..08f56cf1fde
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-enabled.ts
@@ -0,0 +1 @@
+export const DEFAULT_CALL_RECORDER_RECORDING_NOTICE_ENABLED = true;
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-message.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-message.ts
new file mode 100644
index 00000000000..1da146380fe
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/default-call-recorder-recording-notice-message.ts
@@ -0,0 +1,2 @@
+export const DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE =
+ '👋 This meeting is being recorded and transcribed to create notes and a summary. If you prefer not to be recorded, please tell the host now. Powered by Twenty · twenty.com';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/is-workspace-logo-bot-image-enabled.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/is-workspace-logo-bot-image-enabled.ts
index 7aff87a868f..6f9d4b00557 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/is-workspace-logo-bot-image-enabled.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/constants/is-workspace-logo-bot-image-enabled.ts
@@ -1,29 +1,9 @@
import { CALL_RECORDER_USE_WORKSPACE_LOGO_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-use-workspace-logo-env-var-name';
import { DEFAULT_CALL_RECORDER_USE_WORKSPACE_LOGO } from 'src/logic-functions/constants/default-call-recorder-use-workspace-logo';
-import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
-import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
+import { getBooleanApplicationVariableValue } from 'src/logic-functions/utils/get-boolean-application-variable-value.util';
-const TRUTHY_VALUES = new Set(['true', '1', 'yes', 'on']);
-const FALSY_VALUES = new Set(['false', '0', 'no', 'off']);
-
-export const isWorkspaceLogoBotImageEnabled = (): boolean => {
- const rawValue = getApplicationVariableValue(
- CALL_RECORDER_USE_WORKSPACE_LOGO_ENV_VAR_NAME,
- );
-
- if (!isNonEmptyString(rawValue)) {
- return DEFAULT_CALL_RECORDER_USE_WORKSPACE_LOGO;
- }
-
- const normalizedValue = rawValue.trim().toLowerCase();
-
- if (TRUTHY_VALUES.has(normalizedValue)) {
- return true;
- }
-
- if (FALSY_VALUES.has(normalizedValue)) {
- return false;
- }
-
- return DEFAULT_CALL_RECORDER_USE_WORKSPACE_LOGO;
-};
+export const isWorkspaceLogoBotImageEnabled = (): boolean =>
+ getBooleanApplicationVariableValue({
+ applicationVariableName: CALL_RECORDER_USE_WORKSPACE_LOGO_ENV_VAR_NAME,
+ defaultValue: DEFAULT_CALL_RECORDER_USE_WORKSPACE_LOGO,
+ });
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/data/__tests__/enqueue-call-recording-artifacts-import.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/data/__tests__/enqueue-call-recording-artifacts-import.test.ts
index 3984881a5d6..89dbacd1fc6 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/data/__tests__/enqueue-call-recording-artifacts-import.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/data/__tests__/enqueue-call-recording-artifacts-import.test.ts
@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, it, vi } from 'vitest';
-import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/import-call-recording-artifacts-logic-function-universal-identifier';
+import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { ENQUEUED_JOB_RETRY_LIMIT } from 'src/logic-functions/constants/enqueued-job-retry-limit';
import { enqueueCallRecordingArtifactsImport } from 'src/logic-functions/data/enqueue-call-recording-artifacts-import.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/data/enqueue-call-recording-artifacts-import.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/data/enqueue-call-recording-artifacts-import.util.ts
index 80363c3c995..972fb284f35 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/data/enqueue-call-recording-artifacts-import.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/data/enqueue-call-recording-artifacts-import.util.ts
@@ -1,4 +1,4 @@
-import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/import-call-recording-artifacts-logic-function-universal-identifier';
+import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { enqueueLogicFunctionJobs } from 'src/logic-functions/data/enqueue-logic-function-jobs.util';
export const enqueueCallRecordingArtifactsImport = async ({
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/enqueue-orphaned-recall-bot-cleanup.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/enqueue-orphaned-recall-bot-cleanup.ts
index d876abb426f..d193eaa7d09 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/enqueue-orphaned-recall-bot-cleanup.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/enqueue-orphaned-recall-bot-cleanup.ts
@@ -4,8 +4,10 @@ import {
} from 'twenty-sdk/logic-function';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/cleanup-orphaned-recall-bots-logic-function-universal-identifier';
-import { ENQUEUE_ORPHANED_RECALL_BOT_CLEANUP_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/enqueue-orphaned-recall-bot-cleanup-logic-function-universal-identifier';
+import {
+ CLEANUP_ORPHANED_RECALL_BOTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+ ENQUEUE_ORPHANED_RECALL_BOT_CLEANUP_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { CLEANUP_ORPHANED_RECALL_BOTS_CRON_PATTERN } from 'src/logic-functions/constants/cleanup-orphaned-recall-bots-cron-pattern';
import { ENQUEUED_JOB_RETRY_LIMIT } from 'src/logic-functions/constants/enqueued-job-retry-limit';
import { computeOrphanedRecallBotCleanupDelay } from 'src/logic-functions/domain/compute-orphaned-recall-bot-cleanup-delay.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/__tests__/import-call-recording-media.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/__tests__/import-call-recording-media.test.ts
index 4dd99142f88..ac79c10ad82 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/__tests__/import-call-recording-media.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/__tests__/import-call-recording-media.test.ts
@@ -3,7 +3,7 @@ import { PassThrough, Readable } from 'node:stream';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-import { CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-video-field-universal-identifier';
+import { CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { importCallRecordingMedia } from 'src/logic-functions/flows/import-call-recording-media.util';
const mutationMock = vi.hoisted(() => vi.fn());
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/generate-call-recording-summary.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/generate-call-recording-summary.util.ts
index 7312280a82b..e75ea894130 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/generate-call-recording-summary.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/generate-call-recording-summary.util.ts
@@ -1,7 +1,7 @@
import { type CoreApiClient } from 'twenty-client-sdk/core';
import { runAgent } from 'twenty-sdk/logic-function';
-import { CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-summarizer-agent-universal-identifier';
+import { CALL_RECORDING_SUMMARIZER_AGENT_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { findCallRecordingForSummary } from 'src/logic-functions/data/find-call-recording-for-summary.util';
import { updateCallRecording } from 'src/logic-functions/data/update-call-recording.util';
import { buildCallRecordingSummaryPrompt } from 'src/logic-functions/domain/build-call-recording-summary-prompt.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/import-call-recording-media.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/import-call-recording-media.util.ts
index 26cfa9ce987..25a6fe4d105 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/import-call-recording-media.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/flows/import-call-recording-media.util.ts
@@ -1,8 +1,10 @@
import { isNull, isUndefined } from '@sniptt/guards';
import { MetadataApiClient } from 'twenty-client-sdk/metadata';
-import { CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-audio-field-universal-identifier';
-import { CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/call-recording-video-field-universal-identifier';
+import {
+ CALL_RECORDING_AUDIO_FIELD_UNIVERSAL_IDENTIFIER,
+ CALL_RECORDING_VIDEO_FIELD_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { CALL_RECORDER_MAX_MEDIA_FILE_SIZE_BYTES } from 'src/logic-functions/constants/call-recorder-max-media-file-size-bytes';
import {
AUDIO_FILE_TOO_LARGE_FAILURE_REASON,
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/generate-call-recording-summaries.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/generate-call-recording-summaries.ts
index 4db0794258b..ee711d44c3c 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/generate-call-recording-summaries.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/generate-call-recording-summaries.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction, type RoutePayload } from 'twenty-sdk/define';
-import { GENERATE_CALL_RECORDING_SUMMARIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/generate-call-recording-summaries-logic-function-universal-identifier';
+import { GENERATE_CALL_RECORDING_SUMMARIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { GENERATE_CALL_RECORDING_SUMMARIES_ROUTE_PATH } from 'src/constants/generate-call-recording-summaries-route-path';
import { findCallRecordingIdsForCalendarEvents } from 'src/logic-functions/data/find-call-recording-ids-for-calendar-events.util';
import { generateCallRecordingSummariesForIds } from 'src/logic-functions/flows/generate-call-recording-summaries-for-ids.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/import-call-recording-artifacts.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/import-call-recording-artifacts.ts
index 6a22285decb..55be3fc132a 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/import-call-recording-artifacts.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/import-call-recording-artifacts.ts
@@ -2,7 +2,7 @@ import { isUndefined } from '@sniptt/guards';
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/import-call-recording-artifacts-logic-function-universal-identifier';
+import { IMPORT_CALL_RECORDING_ARTIFACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import {
importCallRecordingArtifacts,
type ImportCallRecordingArtifactsResult,
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/process-pending-call-recording-requests.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/process-pending-call-recording-requests.ts
index 87c635814a7..80ff9aa6689 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/process-pending-call-recording-requests.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/process-pending-call-recording-requests.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { PENDING_CALL_RECORDING_REQUESTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/pending-call-recording-requests-logic-function-universal-identifier';
+import { PENDING_CALL_RECORDING_REQUESTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { PENDING_CALL_RECORDING_REQUESTS_CRON_PATTERN } from 'src/logic-functions/constants/pending-call-recording-requests-cron-pattern';
import {
retryFailedRecallCancellations,
@@ -23,8 +23,10 @@ const processPendingCallRecordingRequestsHandler =
const pendingCallRecordingScheduleResult =
await scheduleRecallBotsForPendingCallRecordingsSafely(client, now);
- const failedCancellationResult =
- await retryFailedRecallCancellationsSafely(client, now);
+ const failedCancellationResult = await retryFailedRecallCancellationsSafely(
+ client,
+ now,
+ );
return {
pendingCallRecordingScheduleResult,
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/process-recall-webhook.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/process-recall-webhook.ts
index 94b506fa4b4..d2252324226 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/process-recall-webhook.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/process-recall-webhook.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/process-recall-webhook-logic-function-universal-identifier';
+import { PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { handleRecallWebhook } from 'src/logic-functions/flows/handle-recall-webhook.util';
import { type RecallWebhookBody } from 'src/logic-functions/recall-api/parse-recall-webhook-event.util';
import { buildRetryableStepFailure } from 'src/logic-functions/utils/build-step-failure.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/__tests__/recall-bot-api.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/__tests__/recall-bot-api.test.ts
index 8b24085c2bf..368529cc462 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/__tests__/recall-bot-api.test.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/__tests__/recall-bot-api.test.ts
@@ -14,8 +14,12 @@ import { rescheduleRecallBot } from 'src/logic-functions/recall-api/reschedule-r
import { retrieveRecallTranscript } from 'src/logic-functions/recall-api/retrieve-recall-transcript.util';
import { scheduleRecallBot } from 'src/logic-functions/recall-api/schedule-recall-bot.util';
import { CALL_RECORDER_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-name-env-var-name';
+import { CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name';
+import { CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH } from 'src/logic-functions/constants/call-recorder-recording-notice-max-length';
+import { CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name';
import { CALL_RECORDER_RECORDING_RETENTION_HOURS_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-retention-hours-env-var-name';
import { CALL_RECORDER_TRANSCRIPT_PROVIDER_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-transcript-provider-env-var-name';
+import { DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE } from 'src/logic-functions/constants/default-call-recorder-recording-notice-message';
import { RECALL_API_KEY_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-api-key-env-var-name';
import { RECALL_REGION_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-region-env-var-name';
@@ -30,6 +34,8 @@ const ENV_VAR_NAMES = [
RECALL_API_KEY_ENV_VAR_NAME,
RECALL_REGION_ENV_VAR_NAME,
CALL_RECORDER_NAME_ENV_VAR_NAME,
+ CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME,
+ CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME,
CALL_RECORDER_RECORDING_RETENTION_HOURS_ENV_VAR_NAME,
CALL_RECORDER_TRANSCRIPT_PROVIDER_ENV_VAR_NAME,
] as const;
@@ -44,6 +50,8 @@ describe('recall bot api', () => {
vi.useFakeTimers();
vi.setSystemTime(NOW);
delete process.env[CALL_RECORDER_RECORDING_RETENTION_HOURS_ENV_VAR_NAME];
+ delete process.env[CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME];
+ delete process.env[CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME];
delete process.env[CALL_RECORDER_TRANSCRIPT_PROVIDER_ENV_VAR_NAME];
process.env[RECALL_API_KEY_ENV_VAR_NAME] = 'recall-api-key';
process.env[RECALL_REGION_ENV_VAR_NAME] = 'ap-northeast-1';
@@ -92,6 +100,12 @@ describe('recall bot api', () => {
meeting_url: 'https://meet.google.com/abc-defg-hij',
join_at: '2026-01-01T13:00:00.000Z',
bot_name: 'Call Recorder',
+ chat: {
+ on_bot_join: {
+ send_to: 'everyone',
+ message: DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE,
+ },
+ },
automatic_leave: {
bot_detection: {
using_participant_names: {
@@ -118,6 +132,54 @@ describe('recall bot api', () => {
});
});
+ it('uses a custom recording notice when the bot joins', async () => {
+ process.env[CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME] =
+ 'Acme records this meeting to prepare notes.';
+
+ await scheduleRecallBot({
+ meetingUrl: 'https://zoom.us/j/123456789',
+ meetingStartsAt: MEETING_STARTS_AT,
+ joinAt: '2026-01-01T13:00:00.000Z',
+ metadata: RECALL_ROUTING_METADATA,
+ });
+
+ expect(JSON.parse(fetchMock.mock.calls[0][1].body).chat).toEqual({
+ on_bot_join: {
+ send_to: 'everyone',
+ message: 'Acme records this meeting to prepare notes.',
+ },
+ });
+ });
+
+ it('omits chat configuration when recording notices are disabled', async () => {
+ process.env[CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME] = 'false';
+
+ await scheduleRecallBot({
+ meetingUrl: 'https://meet.google.com/abc-defg-hij',
+ meetingStartsAt: MEETING_STARTS_AT,
+ joinAt: '2026-01-01T13:00:00.000Z',
+ metadata: RECALL_ROUTING_METADATA,
+ });
+
+ expect(JSON.parse(fetchMock.mock.calls[0][1].body).chat).toBeUndefined();
+ });
+
+ it('truncates custom recording notices without splitting grapheme clusters', async () => {
+ process.env[CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME] =
+ `${'a'.repeat(CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH - 1)}🇫🇷extra`;
+
+ await scheduleRecallBot({
+ meetingUrl: 'https://meet.google.com/abc-defg-hij',
+ meetingStartsAt: MEETING_STARTS_AT,
+ joinAt: '2026-01-01T13:00:00.000Z',
+ metadata: RECALL_ROUTING_METADATA,
+ });
+
+ expect(
+ JSON.parse(fetchMock.mock.calls[0][1].body).chat.on_bot_join.message,
+ ).toBe('a'.repeat(CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH - 1));
+ });
+
it('uses the configured Recall recording retention hours when scheduling a bot', async () => {
process.env[CALL_RECORDER_RECORDING_RETENTION_HOURS_ENV_VAR_NAME] = '240';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/get-recall-bot-chat-config.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/get-recall-bot-chat-config.util.ts
new file mode 100644
index 00000000000..1a4ced85b4e
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/get-recall-bot-chat-config.util.ts
@@ -0,0 +1,73 @@
+import { CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-enabled-env-var-name';
+import { CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH } from 'src/logic-functions/constants/call-recorder-recording-notice-max-length';
+import { CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-recording-notice-message-env-var-name';
+import { DEFAULT_CALL_RECORDER_RECORDING_NOTICE_ENABLED } from 'src/logic-functions/constants/default-call-recorder-recording-notice-enabled';
+import { DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE } from 'src/logic-functions/constants/default-call-recorder-recording-notice-message';
+import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
+import { getBooleanApplicationVariableValue } from 'src/logic-functions/utils/get-boolean-application-variable-value.util';
+import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
+
+type RecallBotChatConfig = {
+ on_bot_join: {
+ send_to: 'everyone';
+ message: string;
+ };
+};
+
+const recordingNoticeGraphemeSegmenter = new Intl.Segmenter(undefined, {
+ granularity: 'grapheme',
+});
+
+export const getRecallBotChatConfig = (): RecallBotChatConfig | undefined => {
+ if (!isRecordingNoticeEnabled()) {
+ return undefined;
+ }
+
+ const message = getRecordingNoticeMessage();
+
+ return {
+ on_bot_join: {
+ send_to: 'everyone',
+ message,
+ },
+ };
+};
+
+const isRecordingNoticeEnabled = (): boolean =>
+ getBooleanApplicationVariableValue({
+ applicationVariableName:
+ CALL_RECORDER_RECORDING_NOTICE_ENABLED_ENV_VAR_NAME,
+ defaultValue: DEFAULT_CALL_RECORDER_RECORDING_NOTICE_ENABLED,
+ });
+
+const getRecordingNoticeMessage = (): string => {
+ const configuredMessage = getApplicationVariableValue(
+ CALL_RECORDER_RECORDING_NOTICE_MESSAGE_ENV_VAR_NAME,
+ )?.trim();
+ const message = isNonEmptyString(configuredMessage)
+ ? configuredMessage
+ : DEFAULT_CALL_RECORDER_RECORDING_NOTICE_MESSAGE;
+
+ return truncateRecordingNoticeMessage(message);
+};
+
+const truncateRecordingNoticeMessage = (message: string): string => {
+ let truncatedMessage = '';
+ let unicodeCodePointCount = 0;
+
+ for (const { segment } of recordingNoticeGraphemeSegmenter.segment(message)) {
+ const segmentUnicodeCodePointCount = Array.from(segment).length;
+
+ if (
+ unicodeCodePointCount + segmentUnicodeCodePointCount >
+ CALL_RECORDER_RECORDING_NOTICE_MAX_LENGTH
+ ) {
+ break;
+ }
+
+ truncatedMessage += segment;
+ unicodeCodePointCount += segmentUnicodeCodePointCount;
+ }
+
+ return truncatedMessage;
+};
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/reschedule-recall-bot.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/reschedule-recall-bot.util.ts
index f6b98607538..d70342b3dda 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/reschedule-recall-bot.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/reschedule-recall-bot.util.ts
@@ -1,3 +1,5 @@
+import { isUndefined } from '@sniptt/guards';
+
import { getRecallBotAutomaticLeave } from 'src/logic-functions/constants/recall-bot-automatic-leave';
import { getRecallBotRecordingConfig } from 'src/logic-functions/constants/recall-bot-recording-config';
import { type RecallBotScheduleResult } from 'src/logic-functions/types/recall-bot-operation-result.type';
@@ -7,6 +9,7 @@ import {
} from 'src/logic-functions/recall-api/extract-recall-bot-id.util';
import { computeRecallBotDetectionActivateAfterSeconds } from 'src/logic-functions/domain/compute-recall-bot-detection-activate-after-seconds.util';
import { getRecallApiConfig } from 'src/logic-functions/recall-api/get-recall-api-config.util';
+import { getRecallBotChatConfig } from 'src/logic-functions/recall-api/get-recall-bot-chat-config.util';
import { recallBotApiRequest } from 'src/logic-functions/recall-api/recall-bot-api-request.util';
import { type ScheduleRecallBotArgs } from 'src/logic-functions/recall-api/schedule-recall-bot.util';
import { computeMaximumJoinAt } from 'src/logic-functions/recall-api/compute-maximum-join-at.utils';
@@ -37,6 +40,7 @@ export const rescheduleRecallBot = async ({
}),
botName: configResult.config.botName,
});
+ const chat = getRecallBotChatConfig();
const result = await recallBotApiRequest<RecallBotResponse>({
config: configResult.config,
@@ -47,6 +51,7 @@ export const rescheduleRecallBot = async ({
join_at: effectiveJoinAt,
bot_name: configResult.config.botName,
automatic_leave: automaticLeave,
+ ...(isUndefined(chat) ? {} : { chat }),
recording_config: getRecallBotRecordingConfig(),
metadata,
},
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/schedule-recall-bot.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/schedule-recall-bot.util.ts
index 06290161425..308baba709c 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/schedule-recall-bot.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-api/schedule-recall-bot.util.ts
@@ -13,6 +13,7 @@ import {
} from 'src/logic-functions/recall-api/extract-recall-bot-id.util';
import { computeRecallBotDetectionActivateAfterSeconds } from 'src/logic-functions/domain/compute-recall-bot-detection-activate-after-seconds.util';
import { getRecallApiConfig } from 'src/logic-functions/recall-api/get-recall-api-config.util';
+import { getRecallBotChatConfig } from 'src/logic-functions/recall-api/get-recall-bot-chat-config.util';
import { recallBotApiRequest } from 'src/logic-functions/recall-api/recall-bot-api-request.util';
import { computeMaximumJoinAt } from 'src/logic-functions/recall-api/compute-maximum-join-at.utils';
@@ -52,6 +53,7 @@ export const scheduleRecallBot = async ({
}),
botName: configResult.config.botName,
});
+ const chat = getRecallBotChatConfig();
const result = await recallBotApiRequest<RecallBotResponse>({
config: configResult.config,
@@ -63,6 +65,7 @@ export const scheduleRecallBot = async ({
join_at: effectiveJoinAt,
bot_name: configResult.config.botName,
automatic_leave: automaticLeave,
+ ...(isUndefined(chat) ? {} : { chat }),
...(isUndefined(automaticVideoOutput)
? {}
: { automatic_video_output: automaticVideoOutput }),
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-webhook.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-webhook.ts
index 9a320f9098b..a65b600aa01 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-webhook.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/recall-webhook.ts
@@ -1,8 +1,10 @@
import { isNull, isUndefined } from '@sniptt/guards';
import { defineLogicFunction, type RoutePayload } from 'twenty-sdk/define';
-import { PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/process-recall-webhook-logic-function-universal-identifier';
-import { RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-webhook-logic-function-universal-identifier';
+import {
+ PROCESS_RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+ RECALL_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { RECALL_WEBHOOK_SECRET_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-webhook-secret-env-var-name';
import { extractTwentyWorkspaceIdFromRecallWebhook } from 'src/logic-functions/recall-api/extract-twenty-workspace-id-from-recall-webhook.util';
import { type RecallWebhookBody } from 'src/logic-functions/recall-api/parse-recall-webhook-event.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-call-recorder-calendar-event.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-call-recorder-calendar-event.ts
index e095fb3dfcf..9d323553330 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-call-recorder-calendar-event.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-call-recorder-calendar-event.ts
@@ -6,7 +6,7 @@ import {
type ObjectRecordBaseEvent,
} from 'twenty-sdk/define';
-import { CALENDAR_EVENT_RECONCILIATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/calendar-event-reconciliation-logic-function-universal-identifier';
+import { CALENDAR_EVENT_RECONCILIATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { type RemovedCallRecorderOccurrence } from 'src/logic-functions/types/removed-call-recorder-occurrence.type';
import { computeRealMeetingKey } from 'src/logic-functions/domain/compute-real-meeting-key.util';
import { getUniqueSortedIds } from 'src/logic-functions/utils/get-unique-sorted-ids.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-stale-bot-state.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-stale-bot-state.ts
index 25814f5d07c..c5ecf3ce9b1 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-stale-bot-state.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-stale-bot-state.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { STALE_BOT_STATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/stale-bot-state-logic-function-universal-identifier';
+import { STALE_BOT_STATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { STALE_BOT_STATE_CRON_PATTERN } from 'src/logic-functions/constants/stale-bot-state-cron-pattern';
import { convergeDivergedCallRecordings } from 'src/logic-functions/flows/converge-diverged-call-recordings.util';
import { type ConvergeDivergedCallRecordingsResult } from 'src/logic-functions/flows/converge-diverged-call-recordings-result.type';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-upcoming-calendar-events.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-upcoming-calendar-events.ts
index 64329e31192..ed3348dfec8 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-upcoming-calendar-events.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/reconcile-upcoming-calendar-events.ts
@@ -1,7 +1,7 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier';
+import { RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { countReconciliationActions } from 'src/logic-functions/domain/count-reconciliation-actions.util';
import { reconcileCallRecorderForCalendarEventIds } from 'src/logic-functions/flows/reconcile-call-recorder.util';
import { type CallRecorderReconciliationActionCounts } from 'src/logic-functions/types/call-recorder-reconciliation-action-counts.type';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/schedule-recall-bot-on-call-recording-update.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/schedule-recall-bot-on-call-recording-update.ts
index be852fb9417..f25729fe34c 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/schedule-recall-bot-on-call-recording-update.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/schedule-recall-bot-on-call-recording-update.ts
@@ -6,7 +6,7 @@ import {
type ObjectRecordBaseEvent,
} from 'twenty-sdk/define';
-import { SCHEDULE_RECALL_BOT_ON_CALL_RECORDING_UPDATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/schedule-recall-bot-on-call-recording-update-logic-function-universal-identifier';
+import { SCHEDULE_RECALL_BOT_ON_CALL_RECORDING_UPDATE_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { CallRecordingRequestStatus } from 'src/logic-functions/constants/call-recording-request-status';
import { CallRecordingStatus } from 'src/logic-functions/constants/call-recording-status';
import {
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/start-post-install-backfills.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/start-post-install-backfills.ts
index b2888922d8e..74159298bf9 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/start-post-install-backfills.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/start-post-install-backfills.ts
@@ -1,7 +1,9 @@
import { definePostInstallLogicFunction } from 'twenty-sdk/define';
-import { START_POST_INSTALL_BACKFILLS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/start-post-install-backfills-logic-function-universal-identifier';
-import { SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier';
+import {
+ START_POST_INSTALL_BACKFILLS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+ SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { enqueueLogicFunctionJobs } from 'src/logic-functions/data/enqueue-logic-function-jobs.util';
import { buildRetryableStepFailure } from 'src/logic-functions/utils/build-step-failure.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/summarize-call-recording.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/summarize-call-recording.ts
index f461b07feb5..959829dd02b 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/summarize-call-recording.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/summarize-call-recording.ts
@@ -5,7 +5,7 @@ import {
type ObjectRecordBaseEvent,
} from 'twenty-sdk/define';
-import { SUMMARIZE_CALL_RECORDING_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/summarize-call-recording-logic-function-universal-identifier';
+import { SUMMARIZE_CALL_RECORDING_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
import { generateCallRecordingSummary } from 'src/logic-functions/flows/generate-call-recording-summary.util';
import { buildRetryableStepFailure } from 'src/logic-functions/utils/build-step-failure.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/sweep-upcoming-calendar-events.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/sweep-upcoming-calendar-events.ts
index a37983bded9..304bf5aaa7b 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/sweep-upcoming-calendar-events.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/sweep-upcoming-calendar-events.ts
@@ -1,8 +1,10 @@
import { CoreApiClient } from 'twenty-client-sdk/core';
import { defineLogicFunction } from 'twenty-sdk/define';
-import { RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/reconcile-upcoming-calendar-events-logic-function-universal-identifier';
-import { SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from 'src/constants/sweep-upcoming-calendar-events-logic-function-universal-identifier';
+import {
+ RECONCILE_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+ SWEEP_UPCOMING_CALENDAR_EVENTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,
+} from 'src/constants/universal-identifiers';
import { UPCOMING_CALENDAR_EVENT_RECONCILIATION_BATCH_SIZE } from 'src/logic-functions/constants/upcoming-calendar-event-reconciliation-batch-size';
import { UPCOMING_CALENDAR_EVENTS_SWEEP_CRON_PATTERN } from 'src/logic-functions/constants/upcoming-calendar-events-sweep-cron-pattern';
import { enqueueLogicFunctionJobs } from 'src/logic-functions/data/enqueue-logic-function-jobs.util';
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/__tests__/get-boolean-application-variable-value.test.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/__tests__/get-boolean-application-variable-value.test.ts
new file mode 100644
index 00000000000..8125dabb71f
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/__tests__/get-boolean-application-variable-value.test.ts
@@ -0,0 +1,71 @@
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+
+import { getBooleanApplicationVariableValue } from 'src/logic-functions/utils/get-boolean-application-variable-value.util';
+
+const BOOLEAN_APPLICATION_VARIABLE_NAME = 'TEST_BOOLEAN_APPLICATION_VARIABLE';
+
+describe('getBooleanApplicationVariableValue', () => {
+ beforeEach(() => {
+ delete process.env[BOOLEAN_APPLICATION_VARIABLE_NAME];
+ });
+
+ afterEach(() => {
+ delete process.env[BOOLEAN_APPLICATION_VARIABLE_NAME];
+ });
+
+ it('returns the default when unset', () => {
+ expect(
+ getBooleanApplicationVariableValue({
+ applicationVariableName: BOOLEAN_APPLICATION_VARIABLE_NAME,
+ defaultValue: true,
+ }),
+ ).toBe(true);
+ });
+
+ it.each(['', ' '])('returns the default for an empty value', (value) => {
+ process.env[BOOLEAN_APPLICATION_VARIABLE_NAME] = value;
+
+ expect(
+ getBooleanApplicationVariableValue({
+ applicationVariableName: BOOLEAN_APPLICATION_VARIABLE_NAME,
+ defaultValue: false,
+ }),
+ ).toBe(false);
+ });
+
+ it.each([' TrUe ', '1', 'yes', 'on'])('returns true for %s', (value) => {
+ process.env[BOOLEAN_APPLICATION_VARIABLE_NAME] = value;
+
+ expect(
+ getBooleanApplicationVariableValue({
+ applicationVariableName: BOOLEAN_APPLICATION_VARIABLE_NAME,
+ defaultValue: false,
+ }),
+ ).toBe(true);
+ });
+
+ it.each([' FaLsE ', '0', 'no', 'off'])('returns false for %s', (value) => {
+ process.env[BOOLEAN_APPLICATION_VARIABLE_NAME] = value;
+
+ expect(
+ getBooleanApplicationVariableValue({
+ applicationVariableName: BOOLEAN_APPLICATION_VARIABLE_NAME,
+ defaultValue: true,
+ }),
+ ).toBe(false);
+ });
+
+ it.each([true, false])(
+ 'returns the %s default for an unrecognized value',
+ (defaultValue) => {
+ process.env[BOOLEAN_APPLICATION_VARIABLE_NAME] = 'maybe';
+
+ expect(
+ getBooleanApplicationVariableValue({
+ applicationVariableName: BOOLEAN_APPLICATION_VARIABLE_NAME,
+ defaultValue,
+ }),
+ ).toBe(defaultValue);
+ },
+ );
+});
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/get-boolean-application-variable-value.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/get-boolean-application-variable-value.util.ts
new file mode 100644
index 00000000000..e7480a97d0f
--- /dev/null
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/get-boolean-application-variable-value.util.ts
@@ -0,0 +1,31 @@
+import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
+import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
+
+const TRUTHY_VALUES = new Set(['true', '1', 'yes', 'on']);
+const FALSY_VALUES = new Set(['false', '0', 'no', 'off']);
+
+export const getBooleanApplicationVariableValue = ({
+ applicationVariableName,
+ defaultValue,
+}: {
+ applicationVariableName: string;
+ defaultValue: boolean;
+}): boolean => {
+ const rawValue = getApplicationVariableValue(applicationVariableName);
+
+ if (!isNonEmptyString(rawValue)) {
+ return defaultValue;
+ }
+
+ const normalizedValue = rawValue.trim().toLowerCase();
+
+ if (TRUTHY_VALUES.has(normalizedValue)) {
+ return true;
+ }
+
+ if (FALSY_VALUES.has(normalizedValue)) {
+ return false;
+ }
+
+ return defaultValue;
+};
diff --git a/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/is-call-recording-summary-enabled.util.ts b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/is-call-recording-summary-enabled.util.ts
index 71037ac96cb..3ac80924cee 100644
--- a/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/is-call-recording-summary-enabled.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/logic-functions/utils/is-call-recording-summary-enabled.util.ts
@@ -1,29 +1,9 @@
import { CALL_RECORDER_SUMMARY_ENABLED_ENV_VAR_NAME } from 'src/logic-functions/constants/call-recorder-summary-enabled-env-var-name';
import { DEFAULT_CALL_RECORDER_SUMMARY_ENABLED } from 'src/logic-functions/constants/default-call-recorder-summary-enabled';
-import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
-import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
+import { getBooleanApplicationVariableValue } from 'src/logic-functions/utils/get-boolean-application-variable-value.util';
-const TRUTHY_VALUES = new Set(['true', '1', 'yes', 'on']);
-const FALSY_VALUES = new Set(['false', '0', 'no', 'off']);
-
-export const isCallRecordingSummaryEnabled = (): boolean => {
- const rawValue = getApplicationVariableValue(
- CALL_RECORDER_SUMMARY_ENABLED_ENV_VAR_NAME,
- );
-
- if (!isNonEmptyString(rawValue)) {
- return DEFAULT_CALL_RECORDER_SUMMARY_ENABLED;
- }
-
- const normalizedValue = rawValue.trim().toLowerCase();
-
- if (TRUTHY_VALUES.has(normalizedValue)) {
- return true;
- }
-
- if (FALSY_VALUES.has(normalizedValue)) {
- return false;
- }
-
- return DEFAULT_CALL_RECORDER_SUMMARY_ENABLED;
-};
+export const isCallRecordingSummaryEnabled = (): boolean =>
+ getBooleanApplicationVariableValue({
+ applicationVariableName: CALL_RECORDER_SUMMARY_ENABLED_ENV_VAR_NAME,
+ defaultValue: DEFAULT_CALL_RECORDER_SUMMARY_ENABLED,
+ });
diff --git a/packages/twenty-apps/public/call-recorder/tsconfig.json b/packages/twenty-apps/public/call-recorder/tsconfig.json
index f71645f97ac..18c32171a53 100644
--- a/packages/twenty-apps/public/call-recorder/tsconfig.json
+++ b/packages/twenty-apps/public/call-recorder/tsconfig.json
@@ -18,7 +18,7 @@
"strictBindCallApply": false,
"target": "es2018",
"module": "esnext",
- "lib": ["es2020", "dom"],
+ "lib": ["es2020", "es2022.intl", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"resolveJsonModule": true,