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

Create a XML

(0) ShareShare
ReportReport
Posted on by 132

Hi guys, i want to create a xml. which contains the table date which i get from my ai. How to do it? 

Zohaib1999_0-1696413623811.png

 

Categories:
I have the same question (0)
  • eliotcole Profile Picture
    4,390 Moderator on at

    Hi, @Zohaib1999 , just make a compose action and in there use the expression builder to call the following function:

    xml(SOURCE_DATA)

    Then within the brackets just choose the output from the previous step which you which to convert to XML (instead of "SOURCE_DATA").

     

    🙂

     

    For more see the Reference Guide, here:

    https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#xml

  • Zohaib1999 Profile Picture
    132 on at

    It results to an error 😕

  • eliotcole Profile Picture
    4,390 Moderator on at

    OK, well, I think that you have two choices going forward, @Zohaib1999 :

    1. Start messing around, and trying some stuff ... it's probably a learning thing that you might only ever really get to grips with this way 👍
    2. Perhaps help us all to help you a little better by adding some more information to the original question 🙂

    On the latter, perhaps just edit your original question with a screen shot of the error that you got.

     

    Plus (if you can) make a code block and include the response data from the previous step (just replace anything sensitive with garbage text) so that you can then point out which part you wish to make the XML from.

     

    To be clear, to convert to XML you must have a root node which contains another node with the data.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard