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

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 II
Helper II

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 II
Helper II

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 II
Helper II

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

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,616)