Hi I am using the "When a new email arrives to a group" trigger in my flow and would like to try implement some trigger conditions.
Although I am not sure of the syntax to use and the properties we can query against (i.e. subject, to, for etc)
I have noticed there is a limited amount of data in the outputs of the trigger and that it requires a longer process to get the subject and content of the "post".
This makes we wonder if it is even possible to set conditions based on the subject.
Ideally I would like to have it only triggered on specific triggers so I can use the group mail for multiple flows.
My current work around is to make a separate group mail for every flow that I make that needs to be triggered from a group mail so as to not trigger other flows.
I would greatly appreciate any examples of trigger conditions you have used and got to work, especially ones that work on the subject(topic) of the mail(post).
Thanks in advance.
Hi @VR-Scott
a trigger condition is like every other condition with the exception that it starts wit @
for example
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up
Thanks @Gericom I haven't had a chance to test this. We discovered an issue in a more crucial part of the process so I have been working on that once I have tried it out will let you know how it went.
Thanks again.
How do I set up when new email arrives? I can't find similar to office 365 version of "When new email arrives V3" which can filter the subject and return the body message.
Any example available?
I'm stuck here
Hi @phoon ,
Just to understand correctly.
You only want the body of the new email?
hi @VR-Scott ,
Thanks @phoon ,
So you want to have it trigger if the subject is a specific subject and then get the body?
So this is similar to my issue (which I haven't got right yet),
@Gericom gave a suggestion but I haven't got that working(not that I have spent much time on it)
My work around was to create a specific group mail that is only used to trigger my flow.
I realise this won't work for everyone.
The best I can suggest is have it always trigger but then the subject of the email and have a condition that only continues if the subject is correct. (This still means a lot of unnecessary triggering but like I said it's a work around not a solution.
If you have issue getting the subject and the body of the email, I am working on a post on this site to show how I did it and will post a link here when I have finished it.
@phoon
Here's the link to that post.
https://powerusers.microsoft.com/t5/Building-Flows/Get-triggering-email-s-body-from-quot-When-a-new-...
Hi,
I am having the same issue. I want to put a trigger, so only emails with a certain keyword in the subject line should run the flow, otherwise the flow is constantly running.
Seems there is no proper solution out there yet and MS didn't improve the connector to put an easy trigger configuration on this.
I would think that more people out there would need this.
BR
Daniel
User | Count |
---|---|
92 | |
45 | |
21 | |
18 | |
17 |
User | Count |
---|---|
144 | |
50 | |
43 | |
40 | |
31 |