You are helping me build the following AI agent workflow. ## Goal M365 Employee Onboarding: Triggers on an HR request to concurrently provision a new hire's M365 workspace and send a personalized welcome email. ## Specification - What it does: You get a fully ready digital workspace with your SharePoint lists, OneDrive folders, and Teams channel set up instantly when HR requests your onboarding. A personalized welcome email is sent to you while the system handles any setup errors so nothing stops your access. - Trigger: Triggered by an event (Event ยท on Teams mention or Outlook email) - Autonomy: Fully hands-off - Expected setup effort: a few focused days - Tools/services involved: - Microsoft SharePoint: Create HR master list entry - Microsoft OneDrive: Provision personal folder structure - Microsoft Teams: Create onboarding channel and status card - Microsoft Outlook: Send welcome email - Anthropic Chat Model: Draft personalized welcome message ## Known pitfalls, handle each one explicitly in your implementation 1. Teams channel creation can fail if a channel with the same name already exists so add a check to rename or skip conflicting channels. 2. OneDrive folder paths may exceed length limits for nested structures so validate and truncate path strings before provisioning. 3. Error handling must capture specific failure reasons per branch so the final Adaptive Card can report exactly which service failed. ## Reference implementation https://n8n.io/workflows/15628 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automate-m365-employee-onboarding/ via usecasesforagents.com