Turn flagged Outlook emails into Microsoft Planner tasks

By General Input

Every 15 minutes, Geni checks your Outlook inbox for newly flagged emails and files each one as a clean, due-dated task in your Planner board.

Integrations

  • Microsoft Outlook
  • Microsoft Planner

Type

Agentic Task

Categories

  • Personal Productivity
  • Operations

Build an agent workflow that turns my newly flagged Outlook emails into Microsoft Planner tasks. Trigger: cron, every 15 minutes. Integrations: microsoft-outlook and microsoft-planner.

On each run, use Microsoft Outlook List Messages on my inbox to fetch messages where flag.flagStatus eq 'flagged'. Also constrain to messages I have flagged since the workflow last ran, using a persisted last-checked timestamp on flag.completedDateTime/startDateTime (or receivedDateTime as a fallback) so we only process new flags and never re-process the same email twice. Cap the page size with a sensible $top and use $select to keep the payload small.

For each newly flagged message, call Microsoft Outlook Get Message to load the subject and body. Then use the agent's reasoning to: (1) propose a concise task title (under ~80 chars) that names the actual ask, not just the email subject; (2) write a short task description that captures the ask, who sent it, and the key context; (3) infer a due date from any deadline language in the email ("by Friday", "end of next week", "before our 1:1", explicit dates, etc.) and default to two business days from now when nothing is stated. Skip messages that are pure FYIs, newsletters, or where the action is obviously trivial.

On the first run of each session, call Microsoft Planner List Buckets in Plan once for my designated plan and find the bucket named "From Inbox". Cache the bucket id for the rest of the run so we do not list buckets per message. Then for each surviving email call Microsoft Planner Create Task with the proposed title, the bucket id, the inferred dueDateTime, and write the description into the task notes via the standard Create Task flow.

At the end of the run, persist the new last-checked timestamp so the next run only picks up flags added after this one. Log a one-line summary per processed email (title, due date, decision: created or skipped-as-FYI) so I can audit what the agent did.

Configuration the user should be able to edit: the cron schedule (default every 15 minutes), the Planner plan id, the bucket name (default "From Inbox"), and the default due date offset (default two business days).

Related prompts

Explore more prompts
Turn stalled HubSpot deals into Microsoft Planner tasksTurn Granola meeting action items into Microsoft Planner tasksOn-demand product planning partner for briefs and specsAnswer Slack questions from every tool you connectCampaign copy generator for emails, ads, and landing pagesDraft customer support replies grounded in your appsDaily sales assistant briefing for your pipelineDaily Chief of Staff brief from schedule, inbox, and team chatWeekly Planner task digest in SlackMirror GitHub bug issues into Microsoft Planner