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 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 (($3::uuid IS NULL AND c.channel_type IN ('team', 'public', 'private'))\n OR (c.channel_type = 'team' AND c.team_id = $3))\n AND strpos(lower(c.name), lower($2)) > 0\n ORDER BY c.id FOR SHARE OF c, p",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "33b151c9b58164d8f91cf916f1505f564db920861622159549b4bfd38964bc04"
}