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 c.id as \"channel_id\",\n c.name as \"name\",\n c.channel_type AS \"channel_type: ChannelType\",\n c.org_id as \"org_id\",\n m.id as \"message_id\",\n m.thread_id as \"thread_id\",\n m.sender_id as \"sender_id\",\n m.imported_author,\n m.content as \"content\",\n m.created_at as \"created_at\",\n m.updated_at as \"updated_at\",\n m.deleted_at::timestamptz as \"deleted_at\"\n FROM\n comms_messages m\n JOIN\n comms_channels c on m.parent_entity_type = 'channel' AND m.parent_entity_id = c.id::text\n WHERE\n m.id = $1\n AND c.id = $2\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "channel_id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "channel_type: ChannelType",
"type_info": {
"Custom": {
"name": "comms_channel_type",
"kind": {
"Enum": [
"public",
"private",
"direct_message",
"team"
]
}
}
}
},
{
"ordinal": 3,
"name": "org_id",
"type_info": "Int8"
},
{
"ordinal": 4,
"name": "message_id",
"type_info": "Uuid"
},
{
"ordinal": 5,
"name": "thread_id",
"type_info": "Uuid"
},
{
"ordinal": 6,
"name": "sender_id",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "imported_author",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "content",
"type_info": "Text"
},
{
"ordinal": 9,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 10,
"name": "updated_at",
"type_info": "Timestamptz"
},
{
"ordinal": 11,
"name": "deleted_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
true,
false,
true,
false,
true,
false,
true,
false,
false,
false,
null
]
},
"hash": "266f4903b439c5748e2da6049871337bdc4d7a7ebba4859783d5624251eddaa3"
}