cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lefty
Impactful Individual
Impactful Individual

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
Lefty
Impactful Individual
Impactful Individual

@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.
Lefty
Impactful Individual
Impactful Individual

@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

 

 

Helpful resources

Announcements
 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 (1,238)