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 id, agent_correlation_id, actor_id, action, action_payload, subject_id, entity_type, entity_id, occurred_at\n FROM activity_events WHERE entity_type = $1 AND entity_id = $2 AND (occurred_at, id) < ($3, $4)\n ORDER BY occurred_at DESC, id DESC LIMIT $5",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "agent_correlation_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "actor_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "action",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "action_payload",
"type_info": "Jsonb"
},
{
"ordinal": 5,
"name": "subject_id",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "entity_type",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "entity_id",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "occurred_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Timestamptz",
"Uuid",
"Int8"
]
},
"nullable": [
false,
true,
false,
false,
true,
false,
false,
false,
false
]
},
"hash": "696f790558ba0b27d243b5c9f39cdae05524fbee2a97a1b9a6f3f2e4775e35e0"
}