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 macro_user (id, username, email, stripe_customer_id)
VALUES
('b1111111-1111-1111-1111-111111111111', '[email protected]', '[email protected]', 'cus_team_scope'),
('b2222222-2222-2222-2222-222222222222', '[email protected]', '[email protected]', 'cus_public_scope'),
('b3333333-3333-3333-3333-333333333333', '[email protected]', '[email protected]', 'cus_off_scope'),
('b4444444-4444-4444-4444-444444444444', '[email protected]', '[email protected]', 'cus_no_team');
INSERT INTO "User" (id, email, name, macro_user_id)
VALUES
('macro|[email protected]', '[email protected]', 'Team Scope', 'b1111111-1111-1111-1111-111111111111'),
('macro|[email protected]', '[email protected]', 'Public Scope', 'b2222222-2222-2222-2222-222222222222'),
('macro|[email protected]', '[email protected]', 'Off Scope', 'b3333333-3333-3333-3333-333333333333'),
('macro|[email protected]', '[email protected]', 'No Team', 'b4444444-4444-4444-4444-444444444444');
INSERT INTO team (id, name, owner_id, seat_count, default_link_share)
VALUES
('c1111111-1111-1111-1111-111111111111', 'team-default-team', 'macro|[email protected]', 1, 'TEAM'),
('c2222222-2222-2222-2222-222222222222', 'team-default-public', 'macro|[email protected]', 1, 'PUBLIC'),
('c3333333-3333-3333-3333-333333333333', 'team-default-off', 'macro|[email protected]', 1, NULL);
INSERT INTO team_user (team_id, user_id, team_role)
VALUES
('c1111111-1111-1111-1111-111111111111', 'macro|[email protected]', 'owner'),
('c2222222-2222-2222-2222-222222222222', 'macro|[email protected]', 'owner'),
('c3333333-3333-3333-3333-333333333333', 'macro|[email protected]', 'member');