Skip to main content
Community site session details

Community site session details

Session Id : S1LxhiP62vngxjzefjL5cy
Power Apps - Building Power Apps
Answered

Is there a way i can send .txt file data from Power Apps app to flow and send back as json ?

Like (0) ShareShare
ReportReport
Posted on 8 Aug 2022 07:10:10 by 106

Dear Community member's my questions is simple and straight forward, 

 

Is there a way I can send .txt file data from Power Apps App to flow and send back as json ?

  • Verified answer
    chandra1 Profile Picture
    106 on 08 Aug 2022 at 11:18:35
    Re: Is there a way i can send .txt file data from Power Apps app to flow and send back as json ?

    Hi @BCBuizer ,

    I have tried Matthew method already, but right exactly when using below format it's sending empty string. there is no data at all for `.txt` file.

     

    chandra1_0-1659957261302.png

     

    as a workaround, have submitted the form to SharePoint list item and triggers flow on form submit then to get attachments actions to get .txt values.

     

    Thanks for your help.

    Have a great day to you.

     

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 2 on 08 Aug 2022 at 11:12:37
    Re: Is there a way i can send .txt file data from Power Apps app to flow and send back as json ?

    Hi @chandra1 ,

     

    This guide describes how to upload a file from PowerApps to a SharePoint library:

     

    https://www.matthewdevaney.com/power-apps-easiest-way-to-upload-files-to-a-sharepoint-document-library/#:~:text=upload%20a%20document.-,Connect%20The%20'Upload%20To%20SharePoint'%20Flow%20In%20Power%20Apps,connection%20in%20the%20data%20tab.

     

    Of course in your case the actions in the flow will be different, but you can use the same principle to pass files from PowerApps to Power Automate.

  • chandra1 Profile Picture
    106 on 08 Aug 2022 at 08:02:02
    Re: Is there a way i can send .txt file data from Power Apps app to flow and send back as json ?

    Thanks @BCBuizer for your response,

     

    I can handle from Power automate side decoding and stuff but could you show me example from Power Apps side how I can format attachment value for a SharePoint Attachment item to send to flow.

     

    Appreciate your Response.

  • BCBuizer Profile Picture
    22,262 Super User 2025 Season 2 on 08 Aug 2022 at 07:56:24
    Re: Is there a way i can send .txt file data from Power Apps app to flow and send back as json ?

    Hi @chandra1 ,

     

    Yes this will be possible, but how to perform the conversion in Power Automate is probably better asked in the Power Automate community: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete