Run legal deadline dockets with attorney escalations using Forms, Google Sheets, Gmail, and DeepSeek
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when someone submits an n8n form (“Docket a Legal Deadline”) (plus 2 other triggers). Along the way it connects Google Sheets, Gmail and OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Docket a Legal Deadline”) (plus 2 other triggers).
- Validate Docket Entry (Code): runs custom JavaScript code
- Read Open Docket (Google Sheets): read
- Read Docket For Review (Google Sheets): read
- Docket Entry Complete? (If): checks a condition and branches into true / false
- Plan Reminder Tiers (Code): runs custom JavaScript code
- Summarize Week Ahead (Code): runs custom JavaScript code
- Read Docket For Duplicates (Google Sheets): uses Google Sheets
- Log Docket Error (Google Sheets): append
- Deadlines On A Tier Today? (If): checks a condition and branches into true / false
- Write Weekly Docket Memo (AI Agent): runs an AI agent, with model: Brief Model
…plus 25 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch
From the author
A docket lives or dies on the reminder ladder, and a spreadsheet plus a tickler file usually means at least one tier gets missed. This workflow takes a deadline from a form, applies the firm service rule, blocks duplicate entries, writes a checked docket…