cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Autopilot
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 326 members 5,772 guests
Please welcome our newest community members: