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 Dataverse

(0) ShareShare
ReportReport
Posted on by 82

Hi, 

I have a PowerApps that is used to submit form to Dataverse and there's an attachment column in the form. I need to send email notification with the said attachment. I tried multiple workarounds but it doesn't seem to capture my attachment and send it out through email. 

Appreciate to get insights on the challenges I'm facing now. Below listed my trials as reference. Thank you in advanced! 

 

- Workaround 1: attach the Dynamic Content of 'Attachment' directly in the email template 

- Workaround 2: Initiate array variable with base64ToBinary(items('Apply_to_each_2')?['crf38_attachment']) in Each filename and content

Xinlin_0-1671129884272.png

Xinlin_1-1671129917772.png

Xinlin_2-1671130008230.png

- Workaround 3: Initiate array variable with array(triggerOutputs()?['body/crf38_attachment']) in Each filename and content. 

Xinlin_3-1671130236011.png

Xinlin_4-1671130323135.png

Xinlin_2-1671130008230.png

 

Here is the output of flow that didn't manage to capture my file attachment. 

Xinlin_5-1671130462922.png

 

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Xinlin 

     

    You will want to use the Dataverse action "Download a file or an image"

    Jcook_0-1671132136860.png

     

  • Xinlin Profile Picture
    82 on at

    I tried with Download a file or an image too and got an error 

    Xinlin_0-1671163592886.png

    Xinlin_1-1671163632036.png

     

     

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hi @Xinlin 

     

    This error and the Json you pasted indicate that there is no parent record (recordId).

    You should check the data in Dataverse.

  • Xinlin Profile Picture
    82 on at

    I think I might encounter with an issue in Dataverse that not manage to capture my attachment properly. Correct me if I'm wrong, the file name and type (eg.pdf) should be shown in the attachment column, right? But I'm just getting a 'file' instead. 

    Thank you. 

    Xinlin_0-1671247917093.png

     

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Xinlin 

     

    Could you please show the screenshot of your flow.

    I think this link will help you a lot:

    Get Files from File Column in Data Verse using Pow... - Power Platform Community (microsoft.com)

     

    Best Regards,

    Levi

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    @Xinlin 

     

    So, this picture is from Dataverse? The attachment column is not what your looking for. Dataverse has a file type column. Attachments are used for other scenarios (Not like SharePoint).

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard