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 m.parent_entity_type, m.parent_entity_id FROM agent_session s\n JOIN comms_messages m ON m.id = s.thread_id\n JOIN comms_message_threads t ON t.root_id = m.id\n WHERE s.id = $1 AND m.parent_entity_type IN ('document', 'call')\n AND t.deleted_at IS NULL",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "parent_entity_type",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "parent_entity_id",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false
]
},
"hash": "607dccef6a8b083509bbd391184c7ac131c66ff783bf333b53474be0084ffb4f"
}