Templates / Escalate process serving attempts and draft affidavits with OpenAI and Slack

Escalate process serving attempts and draft affidavits with OpenAI and Slack

Ready for 3.0

by Swapnil Mandloi ✓ · 1 views · created 2026-09-24 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 16 nodes and runs when someone submits an n8n form (“Service Attempt Log”). Along the way it connects OpenAI Chat Model, Slack and Google Drive. It also calls efile.courts.example over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Service Attempt Log”).

  1. Get Case Record (Data table): get
  2. Compute Attempt Count & SOL Countdown (Code): runs custom JavaScript code
  3. Classify Attempt Outcome (Text Classifier): classifies text into categories with AI, with model: GPT-4o-mini for Outcome Classification
  4. Is Alt-Service Eligible? (If): checks a condition and branches into true / false
  5. Request Alt-Service Approval (Slack): send and wait for a reply
  6. Finalize Case Status (Edit Fields (Set)): sets 2 fields: case_status, alt_service_authorized
  7. Was It Approved? (If): checks a condition and branches into true / false
  8. Update Case Record (Data table): create or update
  9. Is Case Ready to Close? (If): checks a condition and branches into true / false
  10. Generate Affidavit of Service Draft (Code): runs custom JavaScript code

…plus 4 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelSlackGoogle Drive

HTTP calls to: efile.courts.example

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This workflow collects process-server attempt logs via an n8n form, updates a case tracker in n8n Data Tables, classifies field notes with OpenAI, escalates eligible cases for attorney approval in Slack, and drafts an affidavit saved to Google…

Excerpt from Swapnil Mandloi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.