Set up new legal matters with Clio, Google Drive, and email alerts
Ready for 3.0What this workflow does
This workflow has 37 nodes and runs on a schedule (cron 0 * * * *). Along the way it connects Google Drive.
How it runs
Trigger: On a schedule (cron 0 * * * *).
- Fetch Open Matters From Clio API (HTTP Request): calls an HTTP API (GET)
- Filter New Matters Deduplicate (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Split New Matters Array (Code): runs custom JavaScript code
- Search Matter Folder In Drive (Google Drive): search (file folder)
- Check If Matter Folder Exists (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Build Standard Matter Subfolders (Code): runs custom JavaScript code
- Create Root Matter Folder (Google Drive): create (folder)
- Create Standard Matter Subfolder (Google Drive): create (folder)
…plus 22 more steps. See the full node list below.
Services it uses
Other Google Drive + Google Docs templates (100)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Google Drive
n8n-nodes-base.googleDrive - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs hourly to detect newly opened matters in Clio, create and organize a corresponding Google Drive folder structure, copy and merge Google Docs templates, create matter tasks and calendar deadlines in Clio, log the setup via an…