Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import type { NotificationType } from '@core/types';
export const NOTIFICATION_LABEL_BY_TYPE: Record<NotificationType, string> = {
channel_mention: 'MENTION',
channel_message_send: 'MESSAGE',
channel_message_reaction: 'REACTION',
channel_message_reply: 'REPLY',
document_mention: 'MENTION',
mentioned_in_document_comment: 'MENTION',
replied_to_document_comment_thread: 'REPLY',
commented_on_document: 'COMMENT',
entity_access_requested: 'ACCESS REQUEST',
entity_access_granted: 'ACCESS GRANTED',
initiative_discussion: 'COMMENT',
crm_discussion: 'COMMENT',
channel_invite: 'INVITE',
channel_access_requested: 'JOIN REQUEST',
new_email: 'EMAIL',
external_chat_message: 'EXTERNAL',
invite_to_team: 'INVITE',
task_assigned: 'ASSIGNED',
ai_response: 'AI',
github_pr_status_changed: 'GITHUB',
github_pr_check_run: 'CHECK',
github_review_requested: 'REVIEW',
github_pr_comment: 'COMMENT',
github_pr_mention: 'MENTION',
github_pr_review: 'REVIEW',
call_started: 'CALL',
reminder: 'REMINDER',
calendar_event_reminder: 'EVENT',
calendar_event_join_request: 'JOIN REQUEST',
inbox_reauth_required: 'EMAIL',
agent_session_settled: 'AGENT',
agent_session_waiting_for_input: 'ASKING',
agent_session_mentioned: 'MENTION',
routine_run_finished: 'ROUTINE',
} as const;