Hi, I have a Sharepoint List called 'List' and a Sharepoint Document Library called 'Pictures'.
I have a flow that will send me an email each time when there is a new item in the 'List'.
I would like to add the following functionality - for each email, I would like all the pictures from today in the 'Pictures' Library added as an attachment. Is that possible?
I have a simple flow so far:
But I don't see any option like 'get library' and then filter today's inputs; it's just for items. Does anyone have an idea on how to make it?
Thank you!
Hi @pal95
You can use Get files Action to get the files in the library and filter out the files that meet the conditions.
Assume i have a library like this, I will filter date is equal to today's Pictures and send an email.
Flow in details:
After flow runs, I will receive an email with attachments as below:
Hope the content above may help you.
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
Looks good, I will try that and accept if that works fine!
Hi, I have the following issue:
The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: The API operation 'SendEmailV2' is missing required property 'emailMessage/Attachments/0/Name'.
Here we have some screenshots related to my flow:
Beginning of the code of the attachment:
Flow:
Could you please let me know what may be wrong there? Thank you!