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,163 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard