Schedule client data retention reviews with Clio and Google Sheets
Ready for 3.0Ready 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-10-19.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Send Email
n8n-nodes-base.emailSend - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook
What it does
Quick Overview This workflow schedules and tracks client-matter retention reviews from Clio in a Google Sheets ledger, sends escalating retention reminder emails, and records attorney decisions (confirm deletion authorization, extend, or legal hold) via a webhook link. How it works 1. Runs daily and pulls the firm user directory and all Closed matters from the Clio API. 2. Computes a retention deadline per matter based on practice area, deduplicates already-scheduled matters, and appends new retention rows to a Google Sheets “Retention” ledger. 3. Runs daily and reads the Google Sheets retention ledger, keeping only entries still marked as scheduled. 4. Calculates escalation tiers (90/30/7 days before, plus overdue) and builds a color-coded retention reminder email with one-click Confirm/Extend/Hold links. 5. Logs each reminder to a separate compliance-audit workflow and sends the email via SMTP to the responsible attorney (or a fallback firm email). 6. Receives webhook clicks from the email links, validates the request, updates the matching Google Sheets ledger row with the decision (and a new deadline for extensions), and returns an HTML confirmation or error page. Setup 1. Create a Clio OAuth2 credential, set the CLIOBASEURL variable, and ensure the workflow can read users and matters from Clio. 2. Create a Google Sheets OAuth2 credential, set RETENTIONLEDGERSHEETID, and create a “Retention” sheet with the required column headers (including status, lastaction, and lastactionat). 3. Add an SMTP email credential and set FIRMFROMEMAIL, FIRMNAME, and FIRMEMAIL variables for reminder delivery and fallback routing. 4. Activate the workflow, copy the webhook Production URL from the retention-decision webhook, and save it as RETENTIONDECISIONWEBHOOKURL. 5. Set GUARDRAILWORKFLOWID to your compliance audit workflow (or update/remove the audit logging step) and adjust DEFAULTRETENTIONYEARS and the practice-area retention map as needed.