Templates / Auto-file emailed documents to Clio matters in Google Drive with compliance logs

Auto-file emailed documents to Clio matters in Google Drive with compliance logs

Ready for 3.0

by Dele Tosh @ Protomated ✓ · 4 views · created 2026-08-18 · File Management

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-10-19.

What this workflow does

This workflow has 21 nodes and runs when a new email arrives over IMAP. Along the way it connects Google Drive.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Extract Metadata From Email (Code): runs custom JavaScript code
  2. If: checks a condition and branches into true / false
  3. Fetch Contact By Sender Email (HTTP Request): calls an HTTP API (GET)
  4. Filter Exact Contact Match (Code): runs custom JavaScript code
  5. If: checks a condition and branches into true / false
  6. Fetch Open Matters For Contact (HTTP Request): calls an HTTP API (GET)
  7. Build Manual Filing Alert (Code): runs custom JavaScript code
  8. Determine Relevant Matter (Code): runs custom JavaScript code
  9. Log Unmatched Filing Compliance (Execute Sub-workflow): calls another n8n workflow
  10. If: checks a condition and branches into true / false

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

Services it uses

Google Drive

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 (8)

From the author

Quick Overview This workflow monitors an IMAP intake mailbox, matches inbound email attachments to a Clio contact and open matter, and files the documents into the correct Google Drive matter folder while logging outcomes to a compliance audit sub-workflow…

Excerpt from Dele Tosh @ Protomated'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.