web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Building a workflow
Power Apps
Suggested Answer

Building a workflow

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I’m trying to build a flow in Power Automate and would really appreciate some help.

Here’s what I want to achieve:

  1. I flag an email in a shared mailbox.
  2. This should trigger a flow that prepares to create a Planner task.
  3. Before creating the task, I want a Teams message sent to me to confirm:
    • Task name
    • Assigned person
    • Option to approve or ignore 
  4. Only if I approve, the task gets created in the Planner under a Teams group.
  5. Then, every day at 5 PM, a message is sent to the Teams group chat showing all pending tasks.
if possible, that it works with my own email as well not just the shared mailbox - so two triggers 
 
I’ve tried building this but I’m running into issues, especially with the approval step and linking everything together.
 

Any guidance or sample flows would really help. Thanks in advance.

Categories:
I have the same question (0)
  • PowerDeveloperTP Profile Picture
    453 on at
    Hello,
     
    Could you please share details or screenshot on where you are struggling or facing errors while building the flow
     
    Thank you
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    If you are looking for guidance on how to structure a multi‑step Power Automate solution that combines email triggers, Teams approvals, conditional task creation in Planner, and a scheduled reminder then yes, you can build this workflow in Power Automate. 
     
    Below is the simplest, most reliable design pattern to achieve everything you want.
     
    1) Trigger when an email is flagged (shared mailbox + personal mailbox)
    You’ll need two separate triggers:
    For shared mailbox:
         Trigger: When a new email arrives in a shared mailbox (V2) --> add a condition “Flag status = Flagged”
    For your personal mailbox:
         Trigger: When a new email is flagged (V3)
    Both flows can point into the same processing flow using “Run a child flow”, or you can duplicate logic.
     
    2) Prepare Planner task details
    From the email, you can extract:
         Subject --> Task name
         To/From/Body --> Additoinal fields
         Manual mapping for "Assigned To"
    Store these in variables before sending for approval.
     
    3) Send Teams message asking for approval
    Use:
    Action: Post adaptive card and wait for a response (Teams)
    The card contains:
         Task title
         Assigned person
         Approve / Ignore buttons
    When the user clicks Approve, the flow continues.
    If Ignore, terminate the flow.
     
    4) Create the Planner task only after approval
    Use:
    Action: “Create a task (Planner)”
    Select the Team’s M365 Group --> select the Plan --> fill in Title, Assigned To, etc.
     
    5) Daily 5 PM reminder to the Teams group
    Create a separate scheduled flow:
         Trigger: Recurrence --> Daily --> 5 PM
         Action: List tasks --> Filter on “not completed”
         Action: Post message in a chat or channel --> send formatted list of pending tasks.
    This works best if you store:
         The Plan ID
         The Group ID
     
    This video might help you more: https://www.youtube.com/watch?v=2HpDjMKJ5mY
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard