Implementing a link tracking and user click logging system.Implementing a link tracking and user click logging system.

This commit is contained in:
2026-10-01 15:59:18 +03:30
parent ae21d9bbc7
commit 5d5b3a3213
20 changed files with 978 additions and 8211 deletions
@@ -13,6 +13,7 @@ export const MESSAGE_AUTOMATION_TRIGGERS = [
'invoice_paid',
'activity_created',
'activity_done',
'sms_link_clicked',
] as const;
export const MAX_MESSAGE_REPEAT = 10;
@@ -32,6 +32,9 @@ export type MessageAutomationContext = {
dealId?: string | null;
ownerId?: string | null;
assigneeId?: string | null;
sourceId?: string | null;
sourceType?: string | null;
clickCount?: number | null;
};
type Trigger = MessageAutomationTrigger;