cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Carolinama
New Member

Can i create a Flow with more than one trigger?

For example, I have a Flow that is to connect Planner with outlook. So each time I 'flag' an email it goes directly to the selected Plan ID. 

To do so, I used:

  • 'when an email is flagged' trigger: 
    • Binder/Folder Selected: Inbox*
  • Planner "Create a task" action (linking the Plan ID and Group ID)

 

*Here is where I need help! I would like to know if there is any way to select for the same flow a second Binder/Folder (e.g. Inbox and sent items). I thought it would be easy (adding both separated by a comma, but it seems that's not possible). 

As an alternative, I tried to create a second trigger (clone of the original) just changing the selected folder, meaning: 1 trigger for Inbox and 1 for Sent Items and below the same action, but the following error appears: "WorkflowRunAction Type Unsupported" 

 

So, I have two questions: 

  1. Is it possible to include a 2nd trigger in the same hierarchy and below the same shared action for both?
  2. Is it possible to include in 1 trigger two outlook folders to look for? (Both folders affected by the same trigger and action). 

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

@Carolinama  you can use this documentation as starting point https://learn.microsoft.com/en-us/power-automate/create-child-flows . Let me know if you feel stuck or have questions.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
annajhaveri
Community Champion
Community Champion

@Carolinama  you can create your flows in a solution, then create a flow instant flow manual trigger, which will act as a child flow which has the main logic of your flow, then create different flows with different triggers which will call the child flow. This way all your common logic resides in the child flow, using "Run a Child Flow" action in parent flows child flow will be triggered, the parent flows will have the outlook triggers. 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Thank you Ana!

I understand that Child Flow is a trigger that depends of another trigger, therefore there are not in the same level of hierarchy. Does Child flow equation commands as an 'OR'? because It makes sense that a Child flow is more an 'AND'.. 

 

All im trying to do is to connect Inbox and Sent Items to the same flow. Its the same trigger, I just wanted to select two folders for it. isnt there any other simpler solution to do so?

 

Thank you!

@Carolinama no i dont think you can select two folders in the trigger, and flow cant have multiple triggers.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Thank you so much for your answers, your been really helpful. Do you know where I can find a setp by step for your previous solution?

@Carolinama  you can use this documentation as starting point https://learn.microsoft.com/en-us/power-automate/create-child-flows . Let me know if you feel stuck or have questions.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,242)