Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Автоматизация эл. почты

Автоматизация эл. почты

Ежедневная рассылка писем с приоритетными делами из Clio адвокатам фирмы

Запускается каждое утро: получает открытые задачи Clio, ближайшие записи календаря и пользователей фирмы, группирует их по адвокатам и отправляет каждому персонализированную сводку приоритетов по SMTP.

Что делает

## Daily Case Priorities Digest ### How it works 1. The workflow triggers every morning to fetch open tasks, upcoming calendar entries, and firm user data from Clio. 2. It processes and filters these data streams separately, sorting tasks by due date and calendar entries by start date. 3. The filtered tasks and calendar entries are merged and grouped by attorney to prepare daily priorities and deadlines. 4. If any attorney has digest items, the workflow generates personalized morning digest emails for each attorney. 5. Each email send event is logged, and the digest emails are sent out to corresponding attorneys. ### Setup steps - [ ] Configure the Clio API base URL and provide API credentials in environment variables or n8n credentials. - [ ] Set up an email sending service in n8n with valid SMTP credentials for the "Send Morning Digest Email" node. - [ ] Ensure the "Log Digest Send Event" node workflow is correctly linked to log send events as required. ### Customization The grouping and formatting of the digest emails can be customized in the "Build Morning Digest Email" node's code. Filters and data requests can also be tailored by adjusting HTTP request query parameters.

Шаги

  1. When Morning Digest Runs at 7am
  2. Fetch Open Tasks From Clio API
  3. Fetch Upcoming Calendar Entries From Clio
  4. Fetch Firm Users From Clio API
  5. Split Task Records From Response
  6. Split Calendar Entries From Response
  7. Filter Tasks With Assignee And Due Date
  8. Filter Calendar Entries With Attendee And Date
  9. Sort Tasks By Due Date Ascending
  10. Sort Calendar Entries By Start Date
  11. Merge Tasks And Calendar Entries Lists
  12. Group Digest Items By Attorney
  13. If Digest Items Exist For Any Attorney
  14. Skip When No Items To Digest

Всего шагов: 18.

Похожие автоматизации