πŸ”¬ Extract meeting decisions and tasks with Outlook, GPT-4o, SharePoint, and To Do

⚑ 155 views Β· πŸ”¬ Document Extraction & Analysis

Description

Quick overview

This workflow polls Outlook for meeting summary emails, uses GPT-4o to extract strategic decisions and action items from the transcript, logs decisions to a SharePoint list, creates Microsoft To Do tasks with normalized due dates, and sends failure alerts via Outlook email if any node errors occur.

How it works

  1. An Outlook trigger polls for new emails from a configured bot sender address every 15 minutes and passes matching messages downstream.
  2. A deduplication node checks each email’s conversation ID against a rolling in-memory list and drops any threads already processed in a previous run. The list is capped at 100 entries and rotates automatically.
  3. The HTML body of each email is stripped of markup and converted to clean plain text before being passed to the AI node.
  4. GPT-4o analyzes the plain text transcript and returns a structured JSON object containing two arrays: Strategic_Decisions and Action_Items.
  5. A parse node strips any markdown fences from the AI output, splits the two arrays, and routes them to separate output branches β€” decisions to SharePoint, action items to the due date normalizer.
  6. Each strategic decision is logged as a new item in the configured SharePoint list for permanent team-level record keeping.
  7. Action item due dates are normalized from YYYY-MM-DD to the dateTimeTimeZone format Microsoft Graph requires, then each action item is created as a dated Microsoft To Do task with assignee and deadline included

Setup

  1. Replace bot@yourcompany.com in the Outlook Trigger sender filter with the actual address your meeting bot uses to send transcript emails.
  2. Connect your Microsoft Outlook OAuth2 credential to both the Outlook Trigger node and the Send Error Email node. Replace admin@yourcompany.com in the error node with your actual admin address.
  3. Connect your OpenAI credential to the Extract Insights via AI node. The prompt expects the AI to return a JSON object with Strategic_Decisions and Action_Items arrays β€” adjust the prompt if your meeting bot structures summaries differently.
  4. Connect your Microsoft SharePoint credential to the Log to SharePoint List node and configure the target site ID and list ID where decisions should be stored.
  5. Connect your Microsoft To Do credential to the Create To Do Tasks node and replace YOUR_TODO_LIST_ID with your actual task list ID. In the Parse & Route Arrays node settings, set the number of outputs to 2 so the split routing works correctly.

Requirements

Customization

Additional info

πŸ”— Nodes Used

Microsoft Outlook, Microsoft To Do, OpenAI, Microsoft Outlook Trigger, Microsoft SharePoint

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup