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 user_id FROM ai_credit_reload\n WHERE stripe_invoice_id = $1\n OR ($3 AND id = $2 AND stripe_invoice_id IS NULL)\n ORDER BY (stripe_invoice_id = $1) DESC NULLS LAST\n LIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_id",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text",
"Uuid",
"Bool"
]
},
"nullable": [
false
]
},
"hash": "e411635c4d819f0553dad54127c3364e31c6ed47256ea54ef37d82bc7b00651e"
}