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 (occurred_at AT TIME ZONE $1)::date AS \"day!\",\n count(*)::bigint AS \"n!\"\n FROM activity_events\n WHERE subject_id = $2\n AND occurred_at >= ($3::date::timestamp AT TIME ZONE $1)\n - INTERVAL '26 hours'\n AND occurred_at < ($4::date::timestamp AT TIME ZONE $1)\n AND (occurred_at AT TIME ZONE $1)::date >= $3::date\n AND (occurred_at AT TIME ZONE $1)::date < $4::date\n GROUP BY 1\n ORDER BY 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "day!",
"type_info": "Date"
},
{
"ordinal": 1,
"name": "n!",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Date",
"Date"
]
},
"nullable": [
null,
null
]
},
"hash": "bd772154d590ed150779c016fc28ef225dd4ac8c678935a622be23febfbbe8ec"
}