Of course. This is a perfect use case for Power Automate. It combines a trigger, conditions, a delay, and an escalation path.
Here is a detailed, step-by-step guide to building this exact workflow. I'll use the "Start and wait for an approval" action, as it's the most robust and clear way to handle the "wait for a response" requirement.
Automated Email Alert & Escalation Flow in Power Automate
Overview of the Logic
- Trigger: The flow starts when a new email arrives.
- Filter: It checks if the email body contains "pre-alert" AND if the sender is external (our definition of a "client").
- Initial Alert: If the conditions are met, it immediately sends an Approval request via Teams and Email to the subordinate. This acts as the initial alert and a way to track acknowledgement.
- Wait & Timeout: The flow waits for the subordinate to click "Acknowledge" on the approval. It will only wait for a maximum of 8 hours.
- Escalation: If the 8-hour timeout is reached without the subordinate responding, the flow automatically sends a reminder email to the subordinate and CCs their manager.
Step-by-Step Implementation Guide
1. Create the Flow and Set the Trigger
- Go to Power Automate and click + Create > Automated cloud flow.
- Give your flow a name, like
Client Pre-Alert Escalation.
- For the trigger, search for and select "When a new email arrives (V3)" from the Outlook 365 connector. Click Create.
- Configure the trigger action:
- Folder:
Inbox (or a specific subfolder if you have rules moving these emails).
- Click Show advanced options.
- Include Attachments:
Yes
- Only with Attachments:
No
2. Add a Condition to Filter Emails
- Click + New step.
- Search for and add a Condition control.
- Configure the first condition row to check the body:
- Choose a value: Search for Body from the dynamic content of the trigger.
- Operator:
contains
- Choose a value:
pre-alert
- Click + Add > + Add row to add a second condition. This will check if the sender is external.
- Choose a value: Search for From from the dynamic content.
- Operator:
does not contain
- Choose a value: Your own company's domain (e.g.,
@yourcompany.com). This is a simple way to filter for external clients.
- Make sure the conditions are joined with AND.
3. Define the Actions for a Matching Email (The "If yes" branch)
Now, all subsequent steps will go inside the green "If yes" box.
Step 3a: Get the Manager's Profile
To CC the manager later, we first need to find who they are.
- Inside the "If yes" branch, click Add an action.
- Search for the "Office 365 Users" connector and select the action "Get manager (V2)".
- In the User (UPN) field, you need to specify whose manager to get. For this example, we'll get the manager of the subordinate.
- Enter the subordinate's email address here. Note: For a more dynamic flow, you could have this subordinate assigned based on the email content, but for now, we'll hardcode it.
Step 3b: Send the Initial Alert and Wait for Acknowledgement
This is the key step. We will use an "Approval" action that has a built-in timeout.
- Click Add an action inside the "If yes" branch.
- Search for Approvals and select the action "Start and wait for an approval".
- Configure it as follows:
4. Add the Escalation Logic (Check for Timeout)
- After the "Start and wait for an approval" action, click + New step.
- Add another Condition control.
- This condition will check if the approval timed out.
- Choose a value: Search for Outcome from the dynamic content of the "Start and wait for an approval" action.
- Operator:
is equal to
- Choose a value:
Acknowledge (This MUST match the custom response option you created in Step 3b).
5. Configure the Escalation Email (The "If no" branch)
The logic here is reversed. If the Outcome is NOT "Acknowledge", it means the action either timed out or was rejected. This is our escalation path. All of the following actions go in the red "If no" box.
- Inside the "If no" branch, click Add an action.
- Search for Outlook 365 and select "Send an email (V2)".
- Configure the escalation email:
Final Flow Diagram
Your completed flow should look conceptually like this:
- When a new email arrives
- Condition: (Body contains 'pre-alert') AND (From is external)
- If Yes:
- Get manager (V2) (of the subordinate)
- Start and wait for an approval (Assigned to subordinate, with an 8-hour timeout)
- Condition: (Approval Outcome is 'Acknowledge')
- If Yes: (Do nothing, the subordinate responded in time).
- If No: (This means it timed out).
- Send an email (V2) (To: Subordinate, Cc: Manager)
- If No: (Do nothing, the email didn't match the criteria).
Save your flow and test it! You can test it by sending yourself an email from a personal account (like Gmail) with the words "pre-alert" in the body.