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 a.uuid AS \"uuid!\", a.\"documentId\" AS \"document_id!\", a.owner AS \"owner!\", a.root_id AS \"thread_id?\", t.user_id AS thread_owner\n FROM \"PdfHighlightAnchor\" a LEFT JOIN comms_message_threads t ON t.root_id = a.root_id\n WHERE $2 AND a.uuid = $1 AND a.\"deletedAt\" IS NULL\n UNION ALL\n SELECT a.uuid, a.\"documentId\", a.owner, a.root_id, t.user_id\n FROM \"PdfPlaceableCommentAnchor\" a JOIN comms_message_threads t ON t.root_id = a.root_id\n WHERE NOT $2 AND a.uuid = $1 AND t.deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "uuid!",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "document_id!",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "owner!",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "thread_id?",
"type_info": "Uuid"
},
{
"ordinal": 4,
"name": "thread_owner",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Uuid",
"Bool"
]
},
"nullable": [
null,
null,
null,
null,
null
]
},
"hash": "ed259ca9fd69f7aaeecd586b8fc913da5d5454f11661093866a1ce6ee9569b37"
}