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 / How to create an XML f...
Power Automate
Answered

How to create an XML file and attach to an email

(1) ShareShare
ReportReport
Posted on by 20

I'm inthe middle of changing my flow from using OneDrive to create an xml file and then attach it to an email and send.

 

i want to create and attach the file on the fly without storing it anywhere, I can't seem to figure out how to do this?

 

Thanks

Categories:
  • Verified answer
    Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hi @365-Giovanni,

     

    Just put/add the XML information into a compose file and then use that for the file content:

     

    Heartholme_0-1651421421962.png

     

    And then add the outputs from the compose as file content and put .xml in the file name.

     

    I hope this helps you out, but let me know if you have any further questions 😄

     

    { If I have answered your question, please Accept the post as a solution. ✔ }
    { If you like my response, please give it a Thumbs Up. }

    Best Regards
    Heartholme

  • 365-Giovanni Profile Picture
    20 on at

    many thanks, didnt realise how simple that was

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    @365-Giovanni 

    You're very welcome. I had the exact same issue a while back, it get's a lot easier once you get more accustomed to more of the functionality of PowerAutomate 😊

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard