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 DISTINCT n.session_id FROM agent_session_notification n JOIN agent_session s ON s.id = n.session_id WHERE n.delivered_at IS NULL AND (n.wake OR n.action_id IS NOT NULL) AND (n.lease_until IS NULL OR n.lease_until < now()) AND s.archived_by IS NULL AND ($1::uuid IS NULL OR n.session_id > $1) ORDER BY n.session_id LIMIT 100",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "session_id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "16755a353885af50fb42169f30ac8884a63e5c41e67dadb5030876993b4ccc9d"
}