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 holder.id, holder.status, holder.entity_id, holder.entity_type,\n EXISTS (\n SELECT 1 FROM import_run AS run\n WHERE run.user_id = holder.user_id AND run.source = $4\n AND run.status = 'importing' AND run.lease_expires_at > NOW()\n ) AS \"live!\"\n FROM import_entity AS holder\n WHERE holder.source = $4 AND holder.team_id = $2 AND holder.foreign_id = $3\n AND holder.status IN ('importing', 'imported') AND holder.user_id <> $1\n FOR UPDATE OF holder\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "status",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "entity_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "entity_type",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "live!",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text",
"Uuid",
"Text",
"Text"
]
},
"nullable": [
false,
false,
true,
true,
null
]
},
"hash": "a192707d31f54ecec004efc4dbdc15f0d868165871073fa4f0c8ebcf7c8c84c4"
}