web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send email with attach...
Power Automate
Unanswered

Send email with attachment from SPO - Ideas?

(0) ShareShare
ReportReport
Posted on by 6

2021-02-15_15-16-15.jpgHi, can anyone provide some guidance on how to send specific files (attachments) from SPO in the flow email? 

 

The specific file that needs to be attached is dictated by the selected options from the MS Form.   

 

MS Form --> Flow Trigger --> Get file content (SPO) --> Email with attachment. 

 

I have the overall flow working fine when I am not trying to attach a file to the email. 

I tested a flow to practice email user with SPO Attachment when new file is added to SPO (this was just a test to confirm I could email an attachment from SPO via flow email).

 

Do you have any suggestions on how to "get content from SPO" based on MS Forms response?

Categories:
I have the same question (0)
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @efowler99 

    Try to get the content of the file using Get attachment content for list or Get file content using path for library. Then you have to compose an array variable with the values in the below format. You can also add multiple values in the same format if you want to add multiple attachments.

    {
     "Name": <Filename>,
     "ContentBytes": <file content in binary>
    }

    Send the above variable to the email action. Please try it out and let me know.

     

  • efowler99 Profile Picture
    6 on at

    Sudharsan - Thank you for the info..  I do not see Compose an array variable as an option?  

     

    Variable Options.jpg

  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @efowler99 

    I think you are confused. I told you to initialize the variable with the value or you can also append to the array variable. Sorry for the confusion.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard