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
{
"db_name": "PostgreSQL",
"query": "SELECT c.id, c.name as \"name!\", COUNT(*) OVER () as \"total_count!\"\n FROM comms_channels c\n JOIN comms_channel_participants p ON p.channel_id = c.id\n WHERE p.user_id = $1 AND p.left_at IS NULL\n AND (($4::uuid IS NULL AND c.channel_type IN ('team', 'public', 'private'))\n OR (c.channel_type = 'team' AND c.team_id = $4))\n AND strpos(lower(c.name), lower($2)) > 0\n ORDER BY lower(c.name), c.id\n LIMIT $3",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "name!",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "total_count!",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Int8",
"Uuid"
]
},
"nullable": [
false,
true,
null
]
},
"hash": "1afcc912c33b24f25d2f5da5b5ea3d8645f530094ceaa7ae8a35c8361c9e564d"
}