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 INSERT INTO comms_channel_access_request (id, channel_id, requester_id, status, created_at)\n VALUES ($1, $2, $3, 'pending', $4)\n ON CONFLICT (channel_id, requester_id) WHERE status = 'pending' DO NOTHING\n RETURNING id, channel_id, requester_id, status, created_at, resolved_at, resolved_by\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "channel_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "requester_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "status",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 5,
"name": "resolved_at",
"type_info": "Timestamptz"
},
{
"ordinal": 6,
"name": "resolved_by",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Text",
"Timestamptz"
]
},
"nullable": [
false,
false,
false,
false,
false,
true,
true
]
},
"hash": "5f56c5ff8bf9a846e180094f61b3150d9dd92d9e4a15d15b2539ee39972e5e7d"
}