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 c.id\n FROM \"Chat\" c\n WHERE c.id IN (\n SELECT ea.entity_id::text\n FROM entity_access ea\n WHERE ea.source_id = ANY($2)\n AND ea.entity_type = 'chat'\n )\n AND c.\"deletedAt\" IS NULL\n AND (NOT $3 OR c.\"userId\" != $1)\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text",
"TextArray",
"Bool"
]
},
"nullable": [
false
]
},
"hash": "7e6bf8c61219e907f25c233be0c8dfd8a02cd84b2ce6746d6a16823cb52ae7de"
}