cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Frequent Visitor

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
Microsoft
Microsoft

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

Frequent Visitor

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.

Microsoft
Microsoft

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

Frequent Visitor

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

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

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (62,540)