Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Ubglvd205nK3Qny1tI0nKk
Power Automate - General Discussion
Answered

Calling Flow in Power Apps: Google Books API

Like (3) ShareShare
ReportReport
Posted on 12 Sep 2024 12:57:19 by 17
I have a flow I set up in Power Automate for my Power App that takes an ISBN number as it's input and makes a GET request to Google Books' API. The book information is stored in a variable in the Power App. This is what the flow looks like. 
 
When I test the flow using power automate, any ISBN I test with is passed to the HTTP request and I get the book information. When I try to run the power automate flow from the power app, the ISBN isn't passed to the HTTP request. 
 
Test with Power Automate
 
With Power Apps;
The number is obtained from the power app
 
but it's not passed to the ISBN. The field is blank when the request is made.
 
You get a result but just not the right one
 
The ISBN value isn't being passed to the HTTP request. Also, it's not because the data types are different (I ran a test to see whether it mattered although I can't see it among the many test flows I ran).
Categories:
  • Verified answer
    CU12091158-0 Profile Picture
    17 on 13 Sep 2024 at 06:56:11
    Calling Flow in Power Apps: Google Books API
    So I figured out the problem with FLMike's answer as a nudge in the right direction. I had already put code within my Power App to convert the ISBN number into text. Even my variables list showed that my ISBN variable was text. But when it got passed to power automate, the "text" was still a number. I decided to instead take in a number in the power automate flow instead of text. And now it works. 
  • Michael E. Gernaey Profile Picture
    41,952 Super User 2025 Season 1 on 12 Sep 2024 at 15:58:11
    Calling Flow in Power Apps: Google Books API
    HI
     
    As you can see in one place you pass it as a Text, from the App you are passing it as an Number.
     
    You need to make sure from the App you are sending it as Text, not a number.
  • Suggested answer
    Expiscornovus Profile Picture
    31,661 Most Valuable Professional on 12 Sep 2024 at 14:46:50
    Calling Flow in Power Apps: Google Books API
    Which formula did you use in your Power App? 
     
    And what is the reason you are using a response action and not the respond to a power app action?
     
    Below is an example how you could return a result.
     
    In the below fx the result is retrieved and stored in a Flowresult variable. The run uses the input from the TextInput1.
     
    Set(FlowResult, CallingFlowinPowerAppsGoogleBooksAPI.Run(TextInput1.Text).result)
     
     
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
David_MA Profile Picture

David_MA 8 Super User 2025 Season 1

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

Overall leaderboard
Loading complete