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 Automate
Unanswered

Base64 Image to Email

(0) ShareShare
ReportReport
Posted on by 59

Hello all, 

 

I have a column in my Sharepoint list with image info encoded as Base64. I then want to create a flow that sends an email with the form data stored in a sharepoint list including the picture but I cannot find a way to convert the data into an image file. 

 

So a user submits their name, email address, phone number, then captures a picture of themselves in a powerapp and that data is stored in a sharepoint list. 

 

Is this possible? 


Thanks in advance!

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @AmariBarino ,

     

    If you have a base64 string column in sp list, you could use base64tobinary function to create a file content.

    vxiaochenmsft_0-1647853357791.png

    vxiaochenmsft_1-1647853369488.png

    vxiaochenmsft_2-1647853382122.png

     

    Best Regards,

    Wearsky

  • AmariBarino Profile Picture
    59 on at

    Thank you for your response! I tried using this in my flow before and kept getting the following error: Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0'. The value cannot be decoded from base64 representation. I tried rebuilding the flow as I've seen suggested in other threads but I'm still getting the same error. 

  • v-xiaochen-msft Profile Picture
    on at

    Hi @AmariBarino ,

     

    Please provide details. 

     

    Best Regards,

    Wearsky

  • AmariBarino Profile Picture
    59 on at

    I attached images of my flow below. It fails on the compose step. error.PNG

     

     

     

     

     

    d247a34a-0f66-4951-bdbf-5fc8910949c3.png

    sharepoint column.PNG

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @AmariBarino ,

     

    This is a datauri . Please try the datauritobinary function instead of base64tobinary function.

     

    Best Regards,

    Wearsky

  • AmariBarino Profile Picture
    59 on at

    That worked! Thank you!

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard