Skip to main content

How to Add a Text Input to a Manually Triggered Flow in Power Automate

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

An instant flow can ask for a value every time someone starts it: a site address, a date, a name. You add the question to the Manually trigger a flow trigger as an input, and the rest of the flow uses the answer. This guide adds a text input and gives it a name and a description people understand.

Prerequisites​

The example is the setup flow from Part 11 of the Career Development Plan series. It asks for the address of the SharePoint site to create its lists on.

Step 1: Choose the Type of Input​

In the designer, select the Manually trigger a flow card. On its Parameters tab, select + Add an input. Power Automate asks what type of value you want:

Choose the type of user input, with Text outlined in red, followed by Yes/No, File, Email, Number and Date

Choose Text. The other types give the person a matching box, such as a date picker for Date.

Step 2: Name It and Describe It​

The new input has two boxes. The first is its name. When I added mine, the name was Input and the second box said Please enter your input. I added this input when the flow first opened in the classic designer. Microsoft says the steps are similar in both designers, and the new designer shows the same two boxes.

Replace both:

BoxExampleWhat it's for
NameSite URLThe label of the box when the flow starts, and the name of the value in later actions
DescriptionThe address of the SharePoint site, for example https://contoso.sharepoint.com/sites/CareerDevelopmentPlanThe hint under the box

The Manually trigger a flow trigger's Parameters tab with a text input named Site URL, its description starting The address of the SharePoint site, for example, and + Add an input below it

An example in the description saves people from guessing the format.

Step 3: Use the Value​

Later actions can use the value in two ways:

  • Dynamic content. Select a field, then the lightning button or / → Insert dynamic content, and pick Site URL under Manually trigger a flow. How to Use Send an HTTP Request to SharePoint uses it for Site Address.

  • An expression. The flow stores a text input under a generated name. I saw text for the first text input in Code view, so the expression is:

    Expression
    triggerBody()?['text']

Save the flow. When someone runs it, the Run flow panel shows a Site URL box with your description under it (How to Test a Cloud Flow Manually shows the panel).

Common Mistakes​

MistakeWhat happensDo this instead
Keeping the name InputPeople don't know what to type, and later actions show InputName it after the value
No example in the descriptionPeople type the wrong formatAdd an example
Choosing Text for a date or numberThe box accepts any textChoose the matching type

Troubleshooting​

SymptomLikely causeFix
triggerBody()?['text'] returns nothingThe input's internal name is differentRead the trigger in Code view
People type a site's page addressThe description doesn't show the formatPut an example address in the description

FAQ​

Is the person forced to fill it in?​

The input I added was required: the Run flow panel marked Site URL with an asterisk.

Can I ask for more than one value?​

Yes. Select + Add an input again for each value. Each one gets its own box in the Run flow panel.

Conclusion​

Select the trigger, + Add an input, pick a type, then give the input a clear name and a description with an example. Later actions use it as dynamic content, or as triggerBody()?['text'] in an expression.

Additional Resources​

Stay Updated

Subscribe to our newsletter for the latest tutorials, tech insights, and developer news.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.