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": "SELECT id, user_id, chat_id, payload, state, message_id, error_code, created_at FROM whatsapp_send\n WHERE chat_id = $1 AND user_id = $2 AND state IN ('pending', 'sending', 'unknown', 'failed')\n AND created_at > now() - interval '7 days'\n ORDER BY created_at DESC LIMIT 50",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "user_id",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "chat_id",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "payload",
"type_info": "Jsonb"
},
{
"ordinal": 4,
"name": "state",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "message_id",
"type_info": "Uuid"
},
{
"ordinal": 6,
"name": "error_code",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "created_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Text"
]
},
"nullable": [
false,
false,
false,
false,
false,
true,
true,
false
]
},
"hash": "b88436c062823450eb58981d51fe7b2dc44060c9f54516b7bec457e2b8817dd7"
}