Route Clio draft pre-bill review and escalation emails with SMTP
Ready for 3.0What this workflow does
This workflow has 27 nodes and runs on a schedule (cron 0 8 25 * *) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 8 25 * *) (plus 1 other trigger).
- Fetch Draft Pre-Bills From Clio API (HTTP Request): calls an HTTP API (GET)
- Fetch Outstanding Draft Pre-Bills (HTTP Request): calls an HTTP API (GET)
- Group Draft Pre-Bills By Attorney (Code): runs custom JavaScript code
- Compute Ages And Filter Due Pre-Bills (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Split Draft Pre-Bills By Attorney (Code): runs custom JavaScript code
- Split Due Pre-Bills Into Items (Code): runs custom JavaScript code
- Build Priority Insight Prompt (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
…plus 13 more steps. See the full node list below.
HTTP calls to: api.anthropic.com
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 (7)
- 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 - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow pulls draft pre-bills from Clio, sends monthly grouped review emails to responsible attorneys, and runs daily checks to nudge or escalate stale drafts via email while logging each internal notification to a separate audit…