Hi @v-litu-msft
Thank you , finally i managed some success , i used get file content function for one drive for business . and it worked
Attached my flow .
Hi @imthiyaz,
There is a post that Get attachments content in SharePoint and send them in an Email, in the same way, you could get these files content, and following these steps in the post to structure an array variable and send it:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-litu-msft
Thanks for the help. I am still stuck with it . my logic is as bellow
List rows from excel , which will have email and corresponding file name to be send as an attachment
I am also connecting to one drive where actual files are stored , then list files in folder
in apply each loop I am pulling both values from excel and one drive
now I dont know how to move the actual file in to the variable then attach in send email action , file name I am getting from excel rows one by one in the loop .
I have gone through the example you have given still I could not make it work . kindly suggest some readings . thank you
Hi @imthiyaz,
OK, you could use the Filter query to find the filename exist in the Excel file:
After filter, merge these files into an array variable and put the variable into the attachment field of Send Email action:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-litu-msft
My excel file is as follows
xx@gmail.com 1.pdf
xy@gmail.com 2.pdf
I have stored my files in one drive folder https://ibb.co/KDtYmc1
Hi @imthiyaz,
What's the type of Email column in the Excel table? Is it the email message ID?
If it is, you could use Get email action to get the Email content.
If you want to get the file stored in One Drive, and you have these URL, you could use Get file content using path action:
Then append the file content into the field of attachment content in Send Email.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional