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

Community site session details

Session Id : HSrB8D0ru7SfEJwvuk3qZZ
Power Automate - Building Flows
Unanswered

Problem with send email with options

Like (0) ShareShare
ReportReport
Posted on 27 Oct 2021 11:36:06 by 2

Hi,

 

I created a Power App form linked to a sharepoint list. I would like to create an approval flow by email which allow the approver to approve or reject the Attachment file. 

 

When I submit my form , the attachment file appear on Sharepoint but not in the approval email. 

User26_2-1635334200568.png

 

A problem appear when I run the formula on PowerAPP : flowRun(Form.Lastsubmit.Attachments) they told me that it's a table and it has to be a text. 

 

Thanks for your help. 

 

 

I have the same question (0)
  • User26 Profile Picture
    2 on 01 Nov 2021 at 10:28:37
    Re: Problem with send email with options

    Hi, 

     

    Thanks for your answer. 

     

    But I really have to start from my Power Apps because the users will upload the files on the powerapps and after the approval by mail the files will be uploaded on the SharePoint. 

     

    I saw that it was possible to do it with this formula but I don't really know how to use it : base64tobinary

  • v-qiaqi@microsoft.com Profile Picture
    on 28 Oct 2021 at 05:47:30
    Re: Problem with send email with options

    Hi @User26,

    Do you want to create an approval to attach files within the Email?

    Could you please share a bit more about your scenario?

     

    Actually, I don't think you need this Power Apps trigger since you submit form to save record to SP list. You just need to use the When an item is created or modified.

     

    Here I made a simple test for you, please take a try as below:

    vqiaqimsft_0-1635400002608.png

    Get attachment content and append them to array.

    vqiaqimsft_1-1635400002646.png

    vqiaqimsft_2-1635400002788.png

    vqiaqimsft_3-1635400002311.png

    The following is the complete configuration of the flow.

    vqiaqimsft_4-1635400002313.png

    Here is the test result.

    vqiaqimsft_5-1635400002791.png

     

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on 28 Oct 2021 at 00:17:15
    Re: Problem with send email with options

    Hi @User26 

     

    You have to use Sharepoint Get file content to get the attachment like below from Power Automate

     

    StalinPonnusamy_0-1635380211657.png

     


    Thanks,
    Stalin - Learn To Illuminate

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 783 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 515 Moderator

#3
trice602 Profile Picture

trice602 299 Super User 2025 Season 2

Last 30 days Overall leaderboard