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

Library / AI Agents & Assistants

AI Agents & Assistants

Draft and approve Clio time entries from Google Calendar events with Claude

Each morning reads the previous day's billable calendar events, drafts time-entry narratives with Claude, emails an approval digest, and posts approved entries to Clio.

What it does

## Time-Entry Draft from Calendar ### How it works 1. The workflow triggers every morning to fetch and filter billable calendar events from the previous day. 2. It fetches related Clio matters and generates narrative prompts for time entries using an AI service. 3. The generated narratives are validated and a digest including approval links is compiled and emailed. 4. Webhook triggers handle approval link visits and confirmation of time entries with further validation. 5. Approved time entries are posted to Clio, logged, and confirmation pages are served. 6. Errors during confirmation are captured and responded to appropriately. ### Setup steps - [ ] Configure Google Calendar API credentials for event fetching. - [ ] Set up Clio API credentials and base URL variables. - [ ] Set up AI service credentials for narrative generation. - [ ] Configure email sending credentials for daily digest emails. - [ ] Configure webhook URLs and ensure public access for approval and confirmation links.

The steps

  1. Trigger Every Morning at 7am
  2. Build Yesterday UTC Date Range
  3. Fetch Calendar Events From Yesterday
  4. Extract Billable Events With Matter Ref
  5. If Events Are Billable
  6. Skip Non-Billable Events
  7. Split Billable Events Into Items
  8. Fetch Clio Matters By Reference
  9. Filter Exact Clio Matter Match
  10. If Clio Matter Found
  11. Build Note For Unmatched Matter
  12. Build Narrative Prompt For Entry
  13. Post Narrative Generation Request
  14. Parse And Validate Narrative Response

32 steps in total.

Similar automations