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
INSERT INTO public."macro_user" ("id", "username", "email", "stripe_customer_id")
(SELECT 'a1111111-1111-1111-1111-111111111111', '[email protected]', '[email protected]', 'stripe_id');
INSERT INTO public."User" ("id","email","stripeCustomerId","macro_user_id")
(SELECT 'macro|[email protected]', '[email protected]','stripe_id', 'a1111111-1111-1111-1111-111111111111');
INSERT INTO public."Project" ("id", "name", "userId", "deletedAt")
(SELECT 'p1', 'a', 'macro|[email protected]', '2019-10-16 00:00:00');
INSERT INTO public."Project" ("id", "name", "userId", "parentId", "deletedAt")
(SELECT 'p2', 'b', 'macro|[email protected]', 'p1', '2019-10-16 00:00:01');
INSERT INTO public."Project" ("id", "name", "userId", "parentId", "deletedAt")
(SELECT 'p3', 'c', 'macro|[email protected]', 'p2', '2019-10-16 00:00:02');
INSERT INTO public."Document" ("id", "name", "fileType", "owner", "deletedAt", "projectId")
(SELECT 'd1', 'd1', 'docx', 'macro|[email protected]', '2019-10-16 00:00:03', 'p1');
INSERT INTO public."DocumentBom" ("id", "documentId")
(SELECT 1, 'd1');
INSERT INTO public."Document" ("id", "name", "fileType", "owner", "deletedAt", "projectId")
(SELECT 'd2', 'd2', 'pdf', 'macro|[email protected]', '2019-10-16 00:00:04', 'p2');
INSERT INTO public."DocumentInstance" ("id", "documentId", "sha")
(SELECT 2, 'd2', 'sha');
INSERT INTO public."Chat" ("id", "name", "userId", "deletedAt", "projectId")
(SELECT 'c1', 'c1', 'macro|[email protected]', '2019-10-16 00:00:05', 'p1');
INSERT INTO public."Chat" ("id", "name", "userId", "deletedAt", "projectId")
(SELECT 'c2', 'c2', 'macro|[email protected]', '2019-10-16 00:00:06', 'p2');