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 bots\n SET name = COALESCE($2, name),\n handle = COALESCE($3, handle),\n description = COALESCE($4, description),\n avatar_url = COALESCE($5, avatar_url),\n has_agent = COALESCE($6, has_agent),\n updated_at = now()\n WHERE id = $1\n AND deleted_at IS NULL\n RETURNING\n id,\n kind,\n owner_user_id,\n team_id,\n name,\n handle,\n description,\n avatar_url,\n created_by,\n created_at,\n updated_at,\n deleted_at,\n has_agent\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "kind",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "owner_user_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "team_id",
"type_info": "Uuid"
},
{
"ordinal": 4,
"name": "name",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "handle",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "description",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "avatar_url",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "created_by",
"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"
},
{
"ordinal": 12,
"name": "has_agent",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid",
"Text",
"Text",
"Text",
"Text",
"Bool"
]
},
"nullable": [
false,
false,
true,
true,
false,
false,
true,
true,
true,
false,
false,
true,
false
]
},
"hash": "9a40ec0b7b576db4194a6a1c8dab550bce0aa53d0099f9e7e3574be42bd2b8ce"
}