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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Passing User Inputs to...
Power Automate
Answered

Passing User Inputs to Expressions Functions

(1) ShareShare
ReportReport
Posted on by 11

Is it possible to pass a user input to a subsequent expression in Power Automate? 

 

In the attached example, the user is prompted to enter a number, which is stored in the Trigger as "UserInputHrs."

 

In the next "Create Event" step the addhours() expression is called, and I want to pass the user input to the addhours() expression as its second value, which is an integer.

 

It would look something like: addHours(utcNow(),'UserInputHrs'). Not sure if this is even possible to do. 

 

The "Update" button when pressed will only seem to accept the 'UserInputsHrs' variable if it is enclosed in single quotes. But it fails in actually passing any values to the addHours(). 

PassValueToExpression.png
Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,979 Most Valuable Professional on at

    Hi @CH_007 

     

    Once you add the comma (',') press escape key and click the Dynamic Content, Here you can see below the input field. Click the UserInputHrs and press Ok.

    image.png

  • CH_007 Profile Picture
    11 on at

    @abm Thank you!!!

     

    I would not have deduced that as the solution. I appreciate the pro-tip! Super nice. My flow works perfectly now.

     

    -CH_007 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard