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": "WITH due AS (\n SELECT id FROM calendar_event_replacements WHERE result IS NULL\n AND (next_step>0 OR command IS NOT NULL) AND updated_at<now()-interval '30 seconds'\n ORDER BY updated_at,id LIMIT $1 FOR UPDATE SKIP LOCKED)\n UPDATE calendar_event_replacements operation SET updated_at=now() FROM due\n WHERE operation.id=due.id RETURNING operation.user_id,operation.id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Int8"
]
},
"nullable": [
false,
false
]
},
"hash": "8dbf561156974f9b02c3743962845d085e1b7b4961c5aed9f6ff09a93c81bd7c"
}