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": "INSERT INTO granola_sync_connections (id, user_id, account_id, scope, started_at, namespace)\n VALUES ($1, $2, $3, $4, $5, $6)\n ON CONFLICT (user_id) DO UPDATE SET id = EXCLUDED.id, account_id = EXCLUDED.account_id,\n scope = EXCLUDED.scope, started_at = EXCLUDED.started_at, enabled = false,\n endpoint_id = NULL, signing_secret = NULL, last_error = NULL, last_synced_at = NULL\n WHERE granola_sync_connections.endpoint_id IS NOT NULL\n OR granola_sync_connections.last_error IS NOT NULL\n OR granola_sync_connections.started_at < now() - interval '2 minutes'\n RETURNING id",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Uuid",
"Text",
"Text",
"Text",
"Timestamptz",
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "1e062d941073a48e2367624d929bcaca576834994e1e346a913d386818c94482"
}