I have created a flow using Power Automate in MS Teams. When an upcoming event in my Outlook starts in the next 20 mins, then "When an upcoming event is starting soon (V3)" trigger will get triggered and send me an adaptive card (created by me) in teams.
It works fine. No issues.
But the problem is, this flow gets triggered even when an event is canceled. I don't want the flow to get triggered if an event is canceled.
Is there any dynamic field supplied by "When an upcoming event is starting soon (V3)" trigger that can help me to filter out the canceled events? so that I can create an "if" condition to trigger flow based on the value of that field.
Or is there any other way to not triggering the flow when an event is canceled?
My flow card that is received on cancellation of an event is attached below:
Can anyone help me out with that?
Thanks in advance
Solved! Go to Solution.
Hello @Anonymous,
You could insert a Condition action that checks if the subject of your upcoming meeting does not contain "Canceled":
You could then create your card if the statement is true (or false, depending on your condition).
Hi @Anonymous,
You could add a trigger condition to the settings of the trigger action:
@not(startsWith(triggerOutputs()?['body/subject'], 'Canceled: '))
Hello @Anonymous,
You could insert a Condition action that checks if the subject of your upcoming meeting does not contain "Canceled":
You could then create your card if the statement is true (or false, depending on your condition).
Hi @Anonymous,
You could add a trigger condition to the settings of the trigger action:
@not(startsWith(triggerOutputs()?['body/subject'], 'Canceled: '))
Hi @Anonymous
Please take a try with @Expiscornovus and @joe_hannes_col 's solution and please feel free to ask here if you have any problems.
If your issue is solved, please consider Accept it as the solution to help the other members find it more quickly.
Best Regards
User | Count |
---|---|
89 | |
41 | |
22 | |
20 | |
16 |
User | Count |
---|---|
138 | |
56 | |
47 | |
36 | |
26 |