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 / Sending Attachments in...
Power Automate
Suggested Answer

Sending Attachments in an Email from ArcGIS / Survery123

(0) ShareShare
ReportReport
Posted on by
I am trying to create a flow that takes a Survey123 survey, generates a report, and emails the report and any attachments included in the survey. So far, I have found a couple avenues but each time the flow either spins forever and the email never sends or the attachments pdf comes corrupt. 
 
I have two methods right now. If anyone sees why they are not working or has a functioning flow, please comment below
 
The first flow I am trying to put both pdfs into one attachment to send in one email. The report from survery123 comes through but the attachment comes corrupt.
 
Append to array variable 1 has $content as body('HTTP')?['$content'].
 
The screenshot below is the output from the email.
 
 
 
The Attachments comes broken. And this is the Adobe Acrobat error message.
 
 
 
The second flow sends two separate emails, but the attachment email never sends or fails. It just spins. 
 
 
 
 
 
This is a failed output from the second flow. 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    12,033 Super User 2026 Season 1 on at
     
    First check and fix:
     

    If that fails to fix it: for the append to array action, you can try this alternative format and expressions:


     
     
    You may be able to copy-and-paste the following, or enter the expressions in the Expressions tab:
    {
      "contentBytes": {
        "$content-type": @{body('Get_attachment_from_URL_1')?['$content-type']},
        "$content": @{body('Get_attachment_from_URL_1')?['$content']}
      },
      "name": "filename.pdf"
    }
     
     
     
    For more info about this see:
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 516

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard