Orchestrate M365 employee onboarding with SharePoint, OneDrive, Teams, Outlook and Claude
Needs changesWhat 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).
- Parse New Hire + Config (Code): runs custom JavaScript code
- Build Error Alert Card (Code): runs custom JavaScript code
- SharePoint: Create Onboarding Entry (Microsoft SharePoint): uses Microsoft SharePoint
- OneDrive: Create Employee Folder (Microsoft OneDrive): create folder
- Teams: Create Onboarding Channel (Microsoft Teams): uses Microsoft Teams
- AI: Generate Welcome Email (AI Agent): runs an AI agent, with model: Claude Sonnet
- Teams: Post Error Alert (Microsoft Teams): post
- Wait: SP & OneDrive (Merge): merges the data from its input branches
- Build SubFolder Paths (Code): runs custom JavaScript code
- Wait: Teams & Email (Merge): merges the data from its input branches
…plus 6 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- Microsoft Agent 365 Trigger
@n8n/n8n-nodes-langchain.microsoftAgent365Trigger - Code
n8n-nodes-base.code - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Microsoft OneDrive
n8n-nodes-base.microsoftOneDrive - Item Lists
n8n-nodes-base.itemLists - Merge
n8n-nodes-base.merge - Microsoft Teams
n8n-nodes-base.microsoftTeams - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Error Trigger
n8n-nodes-base.errorTrigger
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…