Templates / Orchestrate M365 employee onboarding with SharePoint, OneDrive, Teams, Outlook and Claude

Orchestrate M365 employee onboarding with SharePoint, OneDrive, Teams, Outlook and Claude

Needs changes

by Mychel Garzon ✓ · 418 views · created 2026-05-11 · HR, AI Chatbot

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: Item Lists (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs on Microsoft Agent 365 events (plus 1 other trigger). Along the way it connects Microsoft SharePoint, Microsoft OneDrive, Microsoft Teams and Anthropic Chat Model and 1 more.

How it runs

Trigger: On Microsoft Agent 365 events (plus 1 other trigger).

  1. Parse New Hire + Config (Code): runs custom JavaScript code
  2. Build Error Alert Card (Code): runs custom JavaScript code
  3. SharePoint: Create Onboarding Entry (Microsoft SharePoint): uses Microsoft SharePoint
  4. OneDrive: Create Employee Folder (Microsoft OneDrive): create folder
  5. Teams: Create Onboarding Channel (Microsoft Teams): uses Microsoft Teams
  6. AI: Generate Welcome Email (AI Agent): runs an AI agent, with model: Claude Sonnet
  7. Teams: Post Error Alert (Microsoft Teams): post
  8. Wait: SP & OneDrive (Merge): merges the data from its input branches
  9. Build SubFolder Paths (Code): runs custom JavaScript code
  10. Wait: Teams & Email (Merge): merges the data from its input branches

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

Services it uses

Microsoft SharePointMicrosoft OneDriveMicrosoft TeamsAnthropic Chat ModelMicrosoft Outlook

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Item Lists (legacy) in Limit SubFolders Array: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).
  • AI Agent v1 (old agent modes) in AI: Generate Welcome Email (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Item Lists (legacy)
Limit SubFolders Array
Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used)
AI Agent v1 (old agent modes)
AI: Generate Welcome Email (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rarely used nodes in this template: @n8n/n8n-nodes-langchain.microsoftAgent365Trigger

Nodes used (11)

From the author

Stop managing onboarding as a checklist. Let automation handle the infrastructure so you can focus on the people. Manually provisioning a new hire's digital workspace is a recipe for human error and "Day 1" friction. This workflow orchestrates the entire…

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.