Hello every one ,
I have the following flow set up:
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 !
Solved! Go to Solution.
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 🙂
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
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.
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
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 🙂
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
6 | |
5 | |
2 | |
2 | |
2 |