cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lefty
Post Prodigy
Post Prodigy

When an email arrives, using subject and attachment name to drive where attachments are stored

Hi

I have a flow set up, when an email arrives to a mailbox, with a specific string in the subject the attachments from that email are saved into SPO folder and an email triggered to advise users.

The problem is one of the emails being recieved states 001.jpeg was added to SharePoint

Firstly it wasn't added and secondly the conditions are not checking for a jpeg, here i my flow:

 

 

Lefty_1-1593098640920.png

Lefty_2-1593098700856.png

 

any ideas why a jpeg email is firing in this, i know its the signature, but i dont know why its claiming to add attachment to SPO?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@v-bacao-msft 

 

I've managed to use the following expression:

last(split(items('Apply_to_each_2')?['name'],'.'))

is equal to

pdf

to fix my issue

 

 

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @Lefty ,

 

You could try to add rows to Condition to exclude signature.

144.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-bacao-msft 

 

I've managed to use the following expression:

last(split(items('Apply_to_each_2')?['name'],'.'))

is equal to

pdf

to fix my issue

 

 

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (38,776)