FeaturedPersonal Productivity#Outlook#Microsoft 365#Outlook Trigger#Flagged Email#Follow-up#Slack#OAuth2

Outlook Flagged Email Follow-ups

Flag an email in Outlook or Microsoft 365 and get a ready-made follow-up task in Slack, with a summary, a next step and a link back to the email.

Workflow at a glance

The full canvas, before you import it

Click any node to see its config.

#Outlook#Microsoft 365#Outlook Trigger#Flagged Email#Follow-up#Slack#OAuth2

Click a node to select it — same as the Heym editor; the panel shows its settings.

4 nodes · Free & source-available

Outlook Flagged Email Follow-ups

A flag in Outlook usually means "I need to do something about this". This workflow turns that flag into a follow-up task the moment you set it. The Outlook Trigger watches the inbox of the connected Outlook.com or Microsoft 365 mailbox with Flagged email only on, an LLM reads the flagged email and writes the task, and Slack receives it with a link that opens the email in Outlook on the web.

What this workflow does

  1. FlaggedOutlook starts one run each time you flag an email in the inbox, older email included. Email that arrives already flagged counts too; unflagging an email and flagging it again starts a new run.
  2. DraftFollowUp returns JSON with a short task title, a one-line summary, the concrete nextStep, a priority and a dueHint taken from the email.
  3. PostFollowUp posts the task to your Slack channel with the sender, the subject and the Outlook link.
  4. FollowUpResult returns the task, so it shows in Execution History.

Setup

  1. In the Microsoft Entra admin center, register an app, add the Web redirect URI https://your-heym-domain/api/credentials/outlook/oauth/callback and the Microsoft Graph delegated permissions Mail.ReadWrite, User.Read and offline_access. Create a client secret.
  2. In Heym Credentials, create Outlook Mail (OAuth2) with the Application (client) ID, the client secret and the tenant (common, or your organization's domain), click Connect and sign in with the mailbox. Select it on FlaggedOutlook.
  3. Select an LLM credential on DraftFollowUp and a Slack credential on PostFollowUp.
  4. Keep After the run starts on Mark as read, or choose No action to leave the email untouched. Heym never deletes mail permanently; Delete moves it to Deleted Items.

To follow up on flags anywhere in the mailbox, set Mailbox to All mail; for one folder, pick A folder. See the Outlook Trigger documentation for mailboxes, flagged email, aliases and the after-run actions.

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates
Heym
incident analysis · production AI
Observed across 100s of AI rollouts

AI workflows don't fail because of prompts.
They fail because of orchestration.

symptom · glue code01
5 tools
Scripts, vector DB, approval bot, tracing, browser runner — none of them talk.
symptom · visibility02
~0%
Observable behavior across the stack. Debugging is guesswork.
with heym · one runtime▲
1 canvas
Agents, RAG, HITL, MCP, traces & evals. Self-hosted. Observable.
AI-Native RuntimeProduction-Grade
github.com/heymrun/heym