cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CristianF
Helper III
Helper III

Automatic email generated at 6 Months

Hello every one , 

 

I have the following flow set up:

CristianF_0-1611321376034.png

This flow was set to send automatically emails with one 'pdf' attachment for each month.

All those 'pdf' files were uploaded in SharePoint and were named as every month of the year: 'January.pdf', 'February.pdf' etc... . This way the flow knows what 'pdf' file to pick up as attachment for each month.

 

Question: Is there a way for this flow to be set to also send other 2 'pdf' files but these files to be sent 2 times per year? One file in January and second file in June ?

Also these 2 files have to be sent to a different email address then the monthly files.

 

Thank you in advance for your kind support !

1 ACCEPTED SOLUTION

Accepted Solutions
CristianF
Helper III
Helper III

Hello,

 

I have found another solution which allows me to use files with the same name (since the file name is the main "functionality" of the flow).

Made two different folders into SharePoint and split the flow in two sections and basically copied the same flow, but changed files path accordingly 🙂

CristianF_0-1611570109666.png

 

View solution in original post

4 REPLIES 4
mobashee
Community Support
Community Support

Dear Partner,

Hope i understand the issue as below

 

You are trying to send another 2 files(pdf) via email only on January & June on the same flow ?

Answer:

Yes its possible, add one more condition below inside Apply to each check the current month like if current month = January or June, send 2 files via email.

Expression to get current month

formatDateTime(utcNow(), 'MMMM')

 

Did I answer your question? Please consider to mark my post as a solution to help others.

 

Regards,

Mohamed Sanuj Basheer

CristianF
Helper III
Helper III

Hello @mobashee ,

 

Thank you for your answer !

I also thought about this solution, but how will I differentiate the files ? Because I will have two January and 2 June into SharePoint folder.

mobashee
Community Support
Community Support

Dear Cristian,

When you get a file into sharepoint you need to have the right name, File with same name is not supported.

 

Did I answer your question? Please consider to mark my post as a solution to help others.

 

Regards,

Mohamed Sanuj Basheer

CristianF
Helper III
Helper III

Hello,

 

I have found another solution which allows me to use files with the same name (since the file name is the main "functionality" of the flow).

Made two different folders into SharePoint and split the flow in two sections and basically copied the same flow, but changed files path accordingly 🙂

CristianF_0-1611570109666.png

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,530)