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

once a day forward emails that contain specific subject (scheduled flow)

Hi!

I would like to apply a rule that:

 - once a day in the end of the day

 - it sees all the emails sent by me today

 - that contain specific subject "ABC123"

 - and forward them to the email abc@outlook.com 

 

pleaseeee I tried EVERYTHINGGG 😓

tks 🙂

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @gapparicio,

 

You could combine a Get Emails (v3) action with a Filter Array action. With the Filter Array you can check if the items are sent today with a couple of expressions.

 

Below is an example of that approach.

 

1. Add a Recurrence action

a. Configure it with the 1x day frequency and to run at 23:00 or something similar

 

2. Add a Get emails (V3) action

a. Select the Sent Items folder

b. Make sure you fetch read and unread messages

c. Add a subject filter for ABC123

 

3. Add a Filter Array action

a. Use the value field in the From field

b. Use the following two expression to compare the dates. This is to check if an item is sent today

formatdatetime(item()?['receivedDateTime'], 'yyyy-MM-dd')

is equal to

utcNow('yyyy-MM-dd')

 

4. Add an Apply to each action

a. Use the body of the Filter Array

 

5. Add a Forward email action

a. Use the Message Id field of the Filter Array in the Message Id field

 

getsentitemstoday.png

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,701)