Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to create an XML file and attach to an email

(1) ShareShare
ReportReport
Posted on by 18

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

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at
    Re: How to create an XML file and attach to an email

    @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 😊

  • 365-Giovanni Profile Picture
    18 on at
    Re: How to create an XML file and attach to an email

    many thanks, didnt realise how simple that was

  • Verified answer
    Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at
    Re: How to create an XML file and attach to an email

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 >