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 / Save excel as xml data
Power Automate
Unanswered

Save excel as xml data

(0) ShareShare
ReportReport
Posted on by 16

Hello! 

I'm trying to save a excel sheet as a XML data document with "Save excel" activity.

If "XML data" is selected it requires a XML map input - question: what type of data needs to be the input for this item?

As far as I know XML map is a .xsd document.

 

The above steps is my work around for bulk import excel data into SQL.

Any suggestions are welcome.

Thanks!

I have the same question (0)
  • Karlis Profile Picture
    23 on at

    Hi Bogdanf

    I do not think there is an option to save an excel file directly as XML because you have to have a very specific format structure.

    It is possible to set up a text variable and then keep appending lines to it in the format you would like your .xml files to be and then use the action to save this text variable as an XML document (a .xml extension is normally used - .xsd is a certain schema of an .xml document).

     

    I do not fully understand what your excel input looks like and what output you wish to achieve but I would read the data from the excel document and set the variables in a specific text format that fits with .xml requirements.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    So, I can get it to save as test.xml using the 'Save Excel As' action:

    MichaelAnnis_1-1640096473511.png

     

    But I don't even know if that is importable to anything.

     

    I found an article that addresses your topic; there may be more work to do:
    https://www.brainbell.com/excel/xml-export.html

     

    Best of luck!

  • bogdanf Profile Picture
    16 on at

    yeah, you can also choose XML Data

    my questions remains: what type of value / argument XML maps accepts for Save Excel activity? is it a string containing .xsd file?

    bogdanf_0-1640194512802.png

     

    Many thanks!

  • bogdanf Profile Picture
    16 on at

    of course, it's a nice work around - but is my second choice. 

    as I replied to @MichaelAnnis, my question remains about the nature of XML map: argument in Save Excel activity when Document format: XML Data.

     

    Thanks! 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I have never created an XML Map.  You will have to read this documentation:

     

    https://www.brainbell.com/excel/xml-export.html

     

    Best of luck!

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard