cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Trigger Request Email subject with exclusion

Hello,

I have two adress : mine and an noreplu
when I have a new request by email from a existing or new customer, i would like the noreply adress to reply a setence to make customer wait.
I know the email subject would be specific words like Chocolate, Tea, Coffee.
I would like to exclude the email replied.
Exclude : Aw, Re, Fwd, Fw, .... Not too repeat stupidly same email

Purpose is to temporasize and redirect the request.
Have an automatic message saying I will revert later and by the way tell customer if they need this they can contact another colleague, for this it is me, etc.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Trigger Request Email subject with exclusion

Hi @Autopilot,

 

You could create a flow as screenshor below:

Capture.PNG

 

And the expression in the Condition should as below:

@and(
or(contains(triggerBody()?['Subject'], 'Chocolate'),contains(triggerBody()?['Subject'], 'Tea'),contains(triggerBody()?['Subject'], 'Coffee')),
not(contains(triggerBody()?['Subject'], 'Aw')),
not(contains(triggerBody()?['Subject'], 'Re')),
not(contains(triggerBody()?['Subject'], 'Fwd')),
not(contains(triggerBody()?['Subject'], 'Fw'))
)

Best regards,

Alice

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Trigger Request Email subject with exclusion

Hi @Autopilot,

 

You could create a flow as screenshor below:

Capture.PNG

 

And the expression in the Condition should as below:

@and(
or(contains(triggerBody()?['Subject'], 'Chocolate'),contains(triggerBody()?['Subject'], 'Tea'),contains(triggerBody()?['Subject'], 'Coffee')),
not(contains(triggerBody()?['Subject'], 'Aw')),
not(contains(triggerBody()?['Subject'], 'Re')),
not(contains(triggerBody()?['Subject'], 'Fwd')),
not(contains(triggerBody()?['Subject'], 'Fw'))
)

Best regards,

Alice

View solution in original post

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (10,646)