cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Roger_Katsu
Helper II
Helper II

How can I create a text formatted JSON file in Power Automate from string passed from Power Apps call

Hi all,

 

I have been stuck in this issue for a while.

 

A flow will be called from Power Apps, the parameter was a string in correct JSON format.

I need to create a text file with extension of .json upon the input string, then send to user as attachment.

InputData:

{"Greeting":"Hello World"}

Roger_Katsu_0-1645102967352.png

 

Roger_Katsu_0-1645103467451.png

Roger_Katsu_0-1645106440140.png

 

Roger_Katsu_2-1645103298346.png

 

My question is what I should put into the File Content field of Send an email?

I checked the file generated in share folder, it is correct, exactly what I want, but after I checked the attachment, seems only file path in attached file.

 

Can any body advise what should I put in File Content of Send an email? Thanks.

 

Regards,

Roger

1 ACCEPTED SOLUTION

Accepted Solutions
Roger_Katsu
Helper II
Helper II

2 REPLIES 2
Roger_Katsu
Helper II
Helper II

I found another post, seems need to add a "get file content" after "create file" to get the file content, then use it for send an email to have a attachment. 

Roger_Katsu
Helper II
Helper II

Roger_Katsu_0-1645107058008.pngRoger_Katsu_1-1645107088714.png

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,506)