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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard