cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
365-Giovanni
Frequent Visitor

How to create an XML file and attach to an email

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

1 ACCEPTED SOLUTION

Accepted Solutions
Heartholme
Super User
Super User

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

View solution in original post

3 REPLIES 3
Heartholme
Super User
Super User

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
Frequent Visitor

many thanks, didnt realise how simple that was

Heartholme
Super User
Super User

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

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,131)