cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michaelBurch
Frequent Visitor

Inserting a dynamic variable from a PowerApps Text Input into an HTTPS REST GET method URI

Hello all,

I would not consider myself a developer in any sense, so I’m sure this relates to my struggle(s) in PowerApps development. 

Use case:  We are being asked to create an app that can call the YouTube API and return specific information for review.  The UI will be from PowerApps and they want the ability to plug in certain keywords and pass those words to the Flows API query string. 

PowerApps Text Input:

michaelBurch_0-1594056118224.png

 

Flows:

michaelBurch_1-1594056118230.png

 

Any help would be greatly appreciated, and thank you for your understanding in my lack of development skills.

 

Michael

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @michaelBurch ,

Do you want to use dynamic value in the url of your http request and the dynamic value comes from powerapps?

If so, you just need to use "ask in powerapps" in that dynamic part.

1)In your flow:
Trigger: powerapps

action: http

The url in this action:
common data+ask in powerapps+common data

(use 'ask in powerapps' to replace 'and dynamic variable here')

77.PNG

 2)In powerapps, use data in that textinput to call this flow.

That data will be used as 'ask in powerapps' in your url of http action.

the call flow button's OnSelect:

test1.Run(TextInput1.Text)
//flowname.Run(parameter)

771.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yutliu-msft
Community Support
Community Support

Hi @michaelBurch ,

Do you want to use dynamic value in the url of your http request and the dynamic value comes from powerapps?

If so, you just need to use "ask in powerapps" in that dynamic part.

1)In your flow:
Trigger: powerapps

action: http

The url in this action:
common data+ask in powerapps+common data

(use 'ask in powerapps' to replace 'and dynamic variable here')

77.PNG

 2)In powerapps, use data in that textinput to call this flow.

That data will be used as 'ask in powerapps' in your url of http action.

the call flow button's OnSelect:

test1.Run(TextInput1.Text)
//flowname.Run(parameter)

771.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This worked fantastically!  Thank you, @v-yutliu-msft !!!  

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,316)