web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : sC3TIPOjii/a0pRX1YalqZ
Power Apps - Building Power Apps
Answered

Passing values from PowerApp to PowerAutomate and backwards

Like (0) ShareShare
ReportReport
Posted on 23 Aug 2023 13:17:13 by 78

Hi Community,

 

I would like to write a program that does some more complex string manipulation. The way strings shall be manipulated is depending on 2 different values, stored in formulars as below:

 

Power App:

  1. has a textfield, containing value 1
  2. has a slider, containing value 2
  3. has a button to start the programm (the power automate flow)
  4. has another textfield, where the manipulated string shall appear in the end

Power Automate:

  1. Shall do the string manipulation
  2. And give the result back to Power App into a textfield (as per point 4 above)

I am aware how to pass values to a Power-Automate Flow, but I would know how Power-Automate can give results back to the Power-App, so that these are stored in the textfield.

 

Is that possible in general and is there some documentation somewhere ?

 

Thank you in advance

I have the same question (0)
  • BCBuizer Profile Picture
    22,315 Super User 2025 Season 2 on 25 Aug 2023 at 14:52:00
    Re: Passing values from PowerApp to PowerAutomate and backwards

    HI @DarkTrinity ,

     

    Good to see this is working. Line breaks and indents do not affect how formulas are evaluated in Power FX, similar to HTML. I actually use those a lot to improve the readability of the formulas.

     

    However, Power FX is case sensitive so it was case mismatches (text vs. Text and hash vx. Hash) that were causing the issues at the end.

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 13:43:58
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Yes, it seems to work this way:

    Set( varHash; Generate.Run( fld_word.Text; Slider1.Value ).hash )

    All in one line, no linebreaks, etc...

     

    However... I think I also start watching some videos...

  • Verified answer
    BCBuizer Profile Picture
    22,315 Super User 2025 Season 2 on 25 Aug 2023 at 13:37:22
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Hi @DarkTrinity ,

     

    This one then?

     

    Set(
     varHash;
     Generate.Run(
     fld_word.Text; 
     Slider1.Value
     ).hash
    )

     

    Please include the formula that's giving the errors as well in your posts, since some things don't seem to add up.

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 13:30:25
    Re: Passing values from PowerApp to PowerAutomate and backwards

    If I look into the flow's hisstory, I see it's not even being started anymore ^^

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 13:10:10
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Now I am having 5 issues .... The targetfield, where the value shall flow in, has now an error too. 

     

    5errors.JPG

  • BCBuizer Profile Picture
    22,315 Super User 2025 Season 2 on 25 Aug 2023 at 13:00:12
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Hi @DarkTrinity ,

     

    Apologies, made a typo:

     

    Set(
     varHash;
     Generate.Run(
     fld_word.Text; 
     Slider1.Value
     ).Hash
    )

     

    In my case the knowledge comes mainly from watching videos, making lots of apps and this community.

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 12:51:50
    Re: Passing values from PowerApp to PowerAutomate and backwards

    I have 2 issues here:

     

    2.JPGUnbenannt.JPG

     

    Beside: I am wondering where you guys have all this knowledge from... I am really no newbie when it comes to scripts and coding. I mean - is there maybe somewhere a compendium I missed to find (beside the MS docs, which are in my oppinion in most cases not that helpful)...

     

    And regarding "Hash" and "hash" - i have overwritten "Hash" into "hash" 10 times now and saved. But still it is saying "Hash"....

  • BCBuizer Profile Picture
    22,315 Super User 2025 Season 2 on 25 Aug 2023 at 12:47:42
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Hi @DarkTrinity ,

     

    Can you please share the Error text you are receiving? So far the only thing I can see is a case mismatch (hash vs. Hash).

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 12:46:27
    Re: Passing values from PowerApp to PowerAutomate and backwards

    Its still not working. I could send the generated value by email to the user as a workaround - but that is not waht we really want. we like the value in the app.

     

    but it just not working.

     

    Here the app:

     

    button.JPG

     

    Here the flow:

    flow1.JPGflow2.JPG

  • DarkTrinity Profile Picture
    78 on 25 Aug 2023 at 12:44:50
    Re: Passing values from PowerApp to PowerAutomate and backwards

     .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 688 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 499 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading started
Loading complete