CloudEmail & Graph APIAutomated

Auto-Reply Demo

Demo flow showing how to set up a configurable Outlook auto-reply that triggers on inbound mail matching defined criteria (sender domain, subject keywords, time-of-day window) and sends a templated response.

Members OnlySign in or create a free account to download this solution.

Overview

Triggers on every new Outlook email in the connection owner's inbox, checks whether the subject contains a configured keyword, and sends a templated auto-reply when it matches. Minimal pattern for keyword-gated auto-responders.

**Flow ID:** 2bccfa67-3f2a-f111-8341-6045bd0052fe • **State:** Off

Use Case

Mailboxes occasionally need a contextual auto-reply that fires only on specific subject keywords. Outlook's native rules can't compose with downstream automation. This is the simplest cloud-flow shape for that pattern.

**Key Benefits:** keyword filter keeps replies targeted; reply body in Set Variable for easy edits; one connector for trivial deployment.

Flow Architecture

Trigger: **When a new email arrives (V3)** (Office 365 Outlook).

1. Set Subject Keyword Filter (literal in InitVar)
2. Set Auto-Reply Message Body (literal in InitVar)
3. Check Subject Contains Keyword (If)
   - True: Send Auto-Reply via Reply to email V3
   - False: no-op

*Sender domain matching, time window, and audit log left as customizations.*

Connectors & Connections

ConnectorAPI NameConnection FormatUsage
Office 365 Outlookshared_office365new_sharedoffice365_ac201OnNewEmailV3 trigger + ReplyToEmailV3

Customization Guide

1. Import solution; update Outlook connection ref.
2. Edit keyword + reply body InitVar literals.
3. Turn on.

**Common Modifications:** promote keyword/body to env vars; restrict to sender domain via endsWith(); add time-of-day window via hour(utcNow()); log replies to SharePoint; multi-keyword via Filter Array; switch to shared mailbox trigger.

Key Expressions

- @contains(toLower(triggerOutputs()?['body/subject']), toLower(variables('varSubjectKeyword'))) — match check
- @triggerOutputs()?['body/id'] — reply target message ID
- @variables('varAutoReplyBody') — reply body

Auto-Reply Demo — FlowLibs | FlowLibs