In the next post, we will explain how to call Power Automate from a power application. The combination of both technologies enables development with a range of complex operations.
For this, we have created the following tutorial, that by collecting the name and language of the user through a Power App, displays the confirmation message for an order generated by Power Automate. Thus, at the same time to see the call, we can see how Power Automate is able to send parametersThe "parameters" are variables or criteria that are used to define, measure or evaluate a phenomenon or system. In various fields such as statistics, Computer Science and Scientific Research, Parameters are critical to establishing norms and standards that guide data analysis and interpretation. Their proper selection and handling are crucial to obtain accurate and relevant results in any study or project.... response to Power App.
Power Automate Development
A flow is created whose trigger is a Power App call.
We add the following variables:
- Potato: is initialized with the name obtained from the Power application.
- Idiom: initializes in the language obtained from the Power App call.
- Message: is variableIn statistics and mathematics, a "variable" is a symbol that represents a value that can change or vary. There are different types of variables, and qualitative, that describe non-numerical characteristics, and quantitative, representing numerical quantities. Variables are fundamental in experiments and studies, since they allow the analysis of relationships and patterns between different elements, facilitating the understanding of complex phenomena.... will contain the order confirmation. Therefore, we will not add anything as a value when initializing this variable.
To initialize a variable with the parameter value obtained from the Power App, we place the cursor in the field “Value” of the variable to initialize and click on Ctrl + space. Once this is done, The following will appear panelA panel is a group of experts that meets to discuss and analyze a specific topic. These forums are common at conferences, seminars and public debates, where participants share their knowledge and perspectives. Panels can address a variety of areas, from science to politics, and its objective is to encourage the exchange of ideas and critical reflection among the attendees.....
Then, you can see how the Power App tag is put as part of its name, the name of the action where you clicked “Ask in PowerApps”.
Depending on the language received, we add the order confirmation in one language or another, including name received. In conclusion, we add the action “Respond to a PowerApp or Flow”, including the variables to send to the Power App. In this circumstance, “Message” containing the order confirmation message.
Once saved, we have our Power Automate ready to be called from the Power application.
Development of energy applications
We create an energy application with a screen, containing the name, language (drop-down menu containing all available languages) and the message fields. And a button whose name is “Send request”.
We click on the button, and on the property “OnSelect” we add the newly created Power Automate. To do this, we add the cursor to the property “OnSelect” button and click “Action” Y “Power Automate”. Then, a panel will appear with all available flows.
By clicking on the respective cursor, code like the following will be added: ‘flow_name.Run (”. Once this is done, we just have to add the corresponding parameters.
To get the parameter values returned by Power Automate, we add “.” at the end of the function “Run” and a list with all the available parameters will be displayed to return.
In the example, we are passing on the values of the text boxThe "text box" It is a common tool in design and word processing programs, that allows you to insert and edit textual content independently. This functionality makes it easier to organize information, improving the visual presentation of documents and graphics. Text boxes can be adjusted in size, Form and style, making them a versatile resource for designers, educators and professionals in various areas.... Name and Language drop-down menu. And we are storing in the variable “varMessage” the value of the variable “message” returned by the PowerAutomate.
To show the order confirmation, returned by Power Automate. We have created a multi-line text box, which contains the value of the variable “varMessage”.
The result when executing when the button is clicked “Send request”, with the Name and language field completed is as follows.
I hope it has been useful to you.
Happy day!


