Skip to main content

Notifications

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 ?

(0) ShareShare
ReportReport
Posted on 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
    chandra1 106 on at
    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
    BCBuizer 21,809 on at
    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
    chandra1 106 on at
    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
    BCBuizer 21,809 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard