Saltar al contenido
Notificado

Registrar lo que decidió el juzgado

Anotar si el juzgado aceptó o rechazó una notificación, o si se pidió la nulidad. No es evidencia.

Esta es la receta que el servidor MCP entrega a los asistentes de IA, tal cual. Está en inglés porque los modelos la siguen mejor así; el asistente le responde en su idioma.

Un asistente la lee con docs({uri:"docs://recipes/report-a-court-outcome"})

docs://recipes/report-a-court-outcome
docs://recipes/report-a-court-outcome — record what the juzgado decided about a notification

Use when the lawyer tells you the juzgado accepted the notification, rejected it, or a nulidad
was requested against it. The report is the firm's own record for its panel and Notificado's
statistics. It is NOT evidence: it never enters the hash chain and changes no constancia.

1. whoami({})
   → orgId, scopes
   scopes lack "notifications:write"? Stop: you can read outcomes only (step 2).
   skip if you already hold orgId

2. manage_resource({resource:"court-outcomes", action:"notificationCourtOutcomes", params:{orgId:"<orgId>", notificationId:"<notification.id>"}})
   → reports newest first: outcome, court, decidedOn, reason, who reported it and when
   The first row is the current answer. Already says what the lawyer told you? Stop: nothing to do.
   No notification.id? docs://recipes/check-a-notification-status step 2.

3. Ask the lawyer, and never guess:
   - outcome: accepted | rejected | nulidad_requested
   - decidedOn: the date of the court's decision, YYYY-MM-DD (America/Bogota)
   - reason: the court's words — required unless the outcome is accepted
   - court: only if it is not the case's own juzgado
   The court's auto as a PDF? Upload it first (requestUpload then confirmUpload with kind "otro",
   docs://recipes/send-an-article-8-notification step 4) and add attachmentUploadId:"<document.id>".

4. manage_resource({resource:"court-outcomes", action:"reportCourtOutcome", params:{orgId:"<orgId>", notificationId:"<notification.id>", outcome:"rejected", decidedOn:"<YYYY-MM-DD>", reason:"<reason>"}})
   → the report
   outcome is ONE of accepted | rejected | nulidad_requested; for accepted, leave reason out.
   Refused because the notification was never sent? Only sent notifications take a report.

Done when step 2 shows the new report first.

Tips
- Insert-only: a wrong report is corrected by reporting again; the newest wins and the old one
  stays in the history. Never report twice "to be sure".
- Every notification of a case with its current outcome:
  manage_resource({resource:"court-outcomes", action:"caseCourtOutcomes", params:{orgId:"<orgId>", caseId:"<case.id>"}})
- A rejection is often about the address or the proof of where it came from: re-notifying goes
  through a new draft (docs://recipes/send-an-article-8-notification), sworn again by the lawyer.

Todas las recetas · Conectar un asistente