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 COALESCE(SUM(amount_cents), 0)::bigint AS \"charged!\"\n FROM ai_overage_charge\n WHERE user_id = $1\n AND period_start = $2\n AND accounting_policy = 'legacy'\n AND (status <> 'failed' OR stripe_invoice_id IS NOT NULL)\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "charged!",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Timestamptz"
]
},
"nullable": [
null
]
},
"hash": "27289fa131cd5a458ef1f6f79b6424fcf6551590934d3201ce5ab67b2c750f6f"
}