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 UPDATE comms_channels\n SET name = COALESCE($2, name),\n channel_type = CASE\n WHEN $3 IS TRUE THEN 'team'::comms_channel_type\n WHEN $3 IS FALSE AND channel_type = 'team'::comms_channel_type\n THEN 'private'::comms_channel_type\n ELSE channel_type\n END,\n team_id = CASE\n WHEN $3 IS TRUE THEN $4\n WHEN $3 IS FALSE AND channel_type = 'team'::comms_channel_type THEN NULL\n ELSE team_id\n END,\n auto_join_team = CASE\n WHEN $3 IS FALSE AND channel_type = 'team'::comms_channel_type THEN FALSE\n ELSE COALESCE($5, auto_join_team)\n END,\n updated_at = NOW()\n WHERE id = $1\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Bool",
"Uuid",
"Bool"
]
},
"nullable": []
},
"hash": "87ea1f2739ad994c53e2694b4c1c82fcb58d02e4f94b909ddeb40d880320d889"
}