Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Forms & Surveys

Forms & Surveys

Escalate process serving attempts and draft affidavits with OpenAI and Slack

When a form is submitted, it processes form answers with OpenAI / ChatGPT using Data Table, Google Drive, Slack.

What it does

📘 WORKFLOW DETAILS Process Serving Agency – Attempt Escalation & Affidavit-of-Service Builder VALUE PROP: Every field attempt logged by a process server is scored against jurisdiction attempt-count rules and the case's statute-of-limitations deadline, routed for attorney sendAndWait approval when alternate service becomes eligible, and closed out with a deterministic affidavit-of-service draft staged into the court's e-filing queue. WHO / PROBLEM: Process servers log attempts in the field; paralegals have to track attempt counts per case, catch SOL deadlines, and know exactly when a case qualifies for substitute/posted service — a rule that varies and is easy to miss under caseload pressure. A missed SOL deadline can get a case dismissed. WALKTHROUGH: 1. Field agent submits an attempt via form (case #, address, outcome notes). 2. Case state is pulled and attempt count / SOL countdown are computed (Code). 3. Outcome notes are classified into 5 categories by AI (multi-output, no If/Switch). 4. If alt-service-eligible and not yet authorized, the workflow pauses (Slack send-and-wait) for attorney approval. 5. Case status is finalized, case state is upserted (this run's watchdog state). 6. Closed cases get a template-filled affidavit, saved to Drive and staged in the court e-filing API. 7. Every attempt — closed or not — gets a Slack status update. NODE SUMMARY: Form Trigger, Data Table (x2), Code (x2), Text Classifier + Chat Model, If (x3), Slack sendAndWait, Set, Google Drive, HTTP Request, Merge (x2), Slack. EXPECTED I/O: In: one attempt-log form submission per attempt. Out: updated case row, Slack updates, and (on closure) an affidavit file + staged e-filing. STICKY COLOUR LEGEND: 1 trigger (blue) · 2 transform (grey) · 3 AI (purple) · 4 branch (yellow) · 5 storage (green) · 6 notify (red).

The steps

  1. New Service Attempt Submitted
  2. Get Case Record
  3. Compute Attempt Count & SOL Countdown
  4. GPT-4o-mini for Outcome Classification
  5. Classify Attempt Outcome
  6. Is Alt-Service Eligible?
  7. Request Alt-Service Approval
  8. Was It Approved?
  9. Finalize Case Status
  10. Update Case Record
  11. Is Case Ready to Close?
  12. Generate Affidavit of Service Draft
  13. Save Affidavit to Drive
  14. Submit to Court E-Filing API

16 steps in total.

Similar automations