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

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard