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")
VALUES ('a1111111-1111-1111-1111-111111111111', 'user', '[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."Document" ("id","name","fileType", "owner")
(SELECT 'document-one', 'document two','pdf', 'macro|[email protected]');
INSERT INTO public."DocumentText" ("id", "content", "documentId", "tokenCount")
(SELECT 1, 'This is a test document', 'document-one', 1000);
INSERT INTO public."Document" ("id","name","fileType", "owner")
(SELECT 'document-two', 'document two','pdf', 'macro|[email protected]');
INSERT INTO public."DocumentText" ("id", "content", "documentId", "tokenCount")
(SELECT 2, 'This is a test document', 'document-two', 1000);
INSERT INTO public."Document" ("id","name","fileType", "owner")
(SELECT 'document-three', 'document three','pdf', 'macro|[email protected]');
INSERT INTO public."DocumentText" ("id", "content", "documentId", "tokenCount")
(SELECT 3, 'This is a test document', 'document-three', 0);
INSERT INTO public."Document" ("id","name","fileType", "owner")
(SELECT 'document-four', 'document two','pdf', 'macro|[email protected]');