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": "\n SELECT EXISTS (\n SELECT 1\n FROM crm_contacts ct\n LEFT JOIN crm_companies co ON co.id = ct.company_id\n JOIN team_crm_settings tcs ON tcs.team_id = ct.team_id AND tcs.crm_enabled\n JOIN team_user tu ON tu.team_id = ct.team_id AND tu.user_id = $1\n WHERE ct.id = $2\n AND (NOT (ct.hidden OR co.hidden IS TRUE) OR tu.team_role <> 'member')\n ) AS \"visible!\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "visible!",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text",
"Uuid"
]
},
"nullable": [
null
]
},
"hash": "fa0e1fe299314fd853bd29eac8f54d1f41a0fa2594434bec847f7e60c07e1896"
}