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 id FROM scheduled_action\n WHERE id = $1 AND enabled AND event_filters IS NOT NULL\n AND configuration_revision = $2 AND event_activated_at <= $3\n AND jsonb_path_exists(event_filters,\n '$[*] ? ((@.events[*] == $event || @.events[*] == $general) && (!exists (@.ids) || @.ids == null || @.ids[*] == $id) && (!exists (@.github.events) || @.github.events[*] == $github_event))',\n jsonb_build_object('event', $4::text, 'general', $6::text, 'id', $5::text, 'github_event', $7::text))\n FOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Uuid",
"Int8",
"Timestamptz",
"Text",
"Text",
"Text",
"Text"
]
},
"nullable": [
false
]
},
"hash": "9172bc72a5ab95027cf20132ac1b27460a1bc82e941c2454dce521decd93ecff"
}