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": "UPDATE whatsapp_send SET state = 'failed', error_code = 'send_expired', claimed_epoch = NULL, updated_at = now()\n WHERE id = $1 AND account_id = $2 AND state = 'sending' AND dispatch_started_at IS NULL\n AND created_at <= clock_timestamp() - make_interval(secs => $3)\n RETURNING chat_id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "chat_id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
"Float8"
]
},
"nullable": [
false
]
},
"hash": "6de4c6cedb12a590ecb7b269675b1e4bbf1e62515eeb13765f0cc551537f31ab"
}