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 team_id, team_role as \"role!: TeamRole\"\n FROM team_user\n WHERE user_id = $1\n ORDER BY team_role DESC\n LIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "team_id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "role!: TeamRole",
"type_info": {
"Custom": {
"name": "team_role",
"kind": {
"Enum": [
"member",
"admin",
"owner"
]
}
}
}
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
false
]
},
"hash": "ecd16f9e0fd909784c5831fd73e705b6f12c716417f4d337aa68f73fb05a6dd1"
}