Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Email Automation

Email Automation

Categorize Outlook Emails Locally with Ollama

When you run it, it loops over unflagged, uncategorized Outlook emails and uses an Ollama model to assign each a category.

What it does

## Outlook Business with filters Filters: flag/flagStatus eq 'notFlagged' and not categories/any() These filters ensure we do not process flagged emails or email that already have a category set.

The steps

  1. When clicking ‘Test workflow’
  2. Ollama Chat Model1
  3. Microsoft Outlook10
  4. Microsoft Outlook12
  5. Loop Over Items1
  6. Microsoft Outlook13
  7. Microsoft Outlook15
  8. Microsoft Outlook16
  9. Microsoft Outlook17
  10. Microsoft Outlook18
  11. Microsoft Outlook19
  12. Markdown1
  13. varEmal1
  14. Microsoft Outlook20

26 steps in total.

Similar automations