Templates / Convert Outlook emails to Planner tasks and monitor Secure Score with Teams alerts in M365

Convert Outlook emails to Planner tasks and monitor Secure Score with Teams alerts in M365

Ready for 3.0

by Mychel Garzon ✓ · 373 views · created 2026-05-18 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 31 nodes and runs on a schedule (every 30 minutes) (plus 2 other triggers). Along the way it connects Microsoft Outlook and Microsoft Teams. It also calls graph.microsoft.com over HTTP.

How it runs

Trigger: On a schedule (every 30 minutes) (plus 2 other triggers).

  1. Get Unread Emails (Microsoft Outlook): get many
  2. Get Latest Secure Score (HTTP Request): calls graph.microsoft.com
  3. Send Error Notification Email (HTTP Request): calls an HTTP API (POST)
  4. Any Emails? (If): checks a condition and branches into true / false
  5. Calculate Security Score Percentage (Code): runs custom JavaScript code
  6. One Email at a Time (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Is Score Below 80%? (If): checks a condition and branches into true / false
  8. Extract Task from Email (Code): runs custom JavaScript code
  9. Get Existing Planner Tasks (HTTP Request): calls an HTTP API
  10. Post Security Teams Summary (Microsoft Teams): work with channel message

…plus 16 more steps. See the full node list below.

Services it uses

Microsoft OutlookMicrosoft Teams

HTTP calls to: graph.microsoft.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.

Nodes used (10)

From the author

Keep your IT operations moving, every action email becomes a tracked task, and every security alert lands where it belongs, automatically. Every IT team deals with the same two problems: important emails that should become tasks but don't, and security…

Excerpt from Mychel Garzon's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.