Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Send Clio draft pre-bill review and escalation emails via SMTP with Claude

Runs on monthly and daily schedules to fetch draft pre-bills from Clio, group them by attorney, add AI priority insights, and send review, reminder, or escalation emails.

What it does

## Monthly Pre-Bill Assembler ### How it works 1. The workflow triggers monthly and daily schedules to compile and nudge draft pre-bills from a legal billing system (Clio). 2. It fetches draft pre-bills and groups them by the responsible attorney for prioritization and review. 3. For monthly runs, it generates operational priority insights via an AI service and sends review emails to attorneys. 4. For daily nudges, it computes draft ages, filters due pre-bills, and conditionally sends reminder or escalation emails based on pre-bill tier status. 5. Each email sending action logs the workflow execution and uses sub-workflows for routing and notification. ### Setup steps - [ ] Configure credentials for Clio API access with appropriate API keys or tokens. - [ ] Provide authentication credentials for the AI service (Anthropic Claude) used for generating priority insights. - [ ] Set email sending service credentials (SMTP or integrated service) for sending notification emails. - [ ] Configure the scheduling triggers for monthly and daily runs according to your needs. ### Customization You can customize the AI-generated priority insight prompt content and email templates in the respective code nodes. Adjust filtering criteria and timing thresholds for nudges in the code node that computes ages and filtering.

The steps

  1. When Monthly Pre-Bill Runs
  2. Fetch Draft Pre-Bills From Clio API
  3. Group Draft Pre-Bills By Attorney
  4. If Draft Pre-Bills Exist
  5. Skip If No Draft Pre-Bills
  6. Split Draft Pre-Bills By Attorney
  7. Build Priority Insight Prompt
  8. Post Priority Insight Request
  9. Parse Priority Insight Response
  10. Build Pre-Bill Review Email
  11. Log Pre-Bill Routing Event
  12. Send Pre-Bill Review Email
  13. When Daily Pre-Bill Nudge Runs
  14. Fetch Outstanding Draft Pre-Bills

27 steps in total.

Similar automations