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\n ca.id,\n ca.\"chatId\" as \"chat_id\",\n ca.\"entity_id\"::TEXT as \"attachment_id!\",\n ca.\"entity_type\" as \"attachment_type: AttachmentType\",\n ca.\"messageId\" as \"message_id\"\n FROM\n \"ChatAttachment\" ca\n WHERE ca.\"chatId\" = $1\n ORDER BY ca.id ASC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "chat_id",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "attachment_id!",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "attachment_type: AttachmentType",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "message_id",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
true,
null,
false,
true
]
},
"hash": "1ed8b097d0371b977eab7215aba09ffc9721b22d7e9d8ea5d80d285dcf65e152"
}