Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How to extract images and files in attachments of Infopath form in PowerAutomate

(1) ShareShare
ReportReport
Posted on by 124

I have written one PowerAutomate flow which is fetching xml data of InfoPath form and then creating item with that data in new SharePoint list. Now i want to fetch Images and attachments that are attached inside attachment control of InfoPath form. Is there any way i can achieve that with XPath?

 

uiit3155_0-1659106773308.png

Below is the format in which xml data is coming for this attachment.

 "my:group1": {
 "my:group2": {
 "my:field3": "x0lGQRQAAAABAAAAAAAAAOGAAQAYAAAAVwByAGkAdABlAE8ARgBGAFMAYwByAGEAcABlAHYAYQBsAHUAZQAuAHAAZABmAAAAJVBERi0xLjQNJeLjz9MNCjYgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTg1MjkvTyA4L0UgOTIwMDYvTiAxL1QgOTgyOTAvSCBbIDU1NiAxNTFdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgDQp4cmVmDQo2IDEzDQowMDAwMDAwMDE2IDAwMDAwIG4NCjAwMDAwMDA3MDcgMDAwMDAgbg0KMDAwMDAwMDc4NyAwMDAwMCBuDQowMDAwMDAxMDY2IDAwMDAwIG4NCjAwMDAwMDExNDMgMDAwMDAgbg0KMDAwMDAwMTQwOCAwMDAwMCBuDQowMDAwMDA0NzUzIDAwMDAwIG4NCjAwMDAwNzUxNDMgMDAwMDAgbg0KMDAwMDA3ODk1OSAwMDAwMCBuDQowMDAwMDg0OTIxIDAwMDAwIG4NCjAwMDAwOTA5NDcgMDAwMDAgbg0KMDAwMDA5MTE0NyAwMDAwMCBuDQowMDAwMDAwNT"
}
}

 

  • Rockie Profile Picture
    9 on at
    Re: How to extract images and files in attachments of Infopath form in PowerAutomate

    Unfortunately no easy way for April 2023.

     

    You can do it with paid connector+azure function or possibly webhook.. Had similar question here: https://sharepoint.stackexchange.com/questions/307104/sharepoint-power-automate-read-image-content-from-infopath-base64-string Best regards, Gennady

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1