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 AS action_id, owner, enabled, configuration_revision,\n event_filters AS \"event_filters!\", event_activated_at AS \"event_activated_at!\"\n FROM scheduled_action\n WHERE enabled AND event_filters IS NOT NULL\n AND ($1::uuid IS NULL OR id > $1)\n AND event_activated_at <= $2\n AND (event_filters @> jsonb_build_array(jsonb_build_object('events', jsonb_build_array($3::text)))\n OR ($6::text IS NOT NULL AND event_filters @> jsonb_build_array(jsonb_build_object('events', jsonb_build_array($6::text)))))\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', $3::text, 'general', $6::text, 'id', $4::text, 'github_event', $7::text))\n ORDER BY id\n LIMIT $5\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "action_id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "owner",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "enabled",
"type_info": "Bool"
},
{
"ordinal": 3,
"name": "configuration_revision",
"type_info": "Int8"
},
{
"ordinal": 4,
"name": "event_filters!",
"type_info": "Jsonb"
},
{
"ordinal": 5,
"name": "event_activated_at!",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Timestamptz",
"Text",
"Text",
"Int8",
"Text",
"Text"
]
},
"nullable": [
false,
false,
false,
false,
true,
true
]
},
"hash": "04a082e528cb65df106848f3ae183e7049998696865ba36054f1ca4a41f02d5b"
}