When you create a flow, you can specify which users should be able to trigger it. This is useful if you only want certain users to be able to start the flow, or if you want to limit the number of times the flow is started. To do this, click the “Trigger flow” button in the Flow Builder, and then select the “Only allow specific users” option.
You can then specify the email addresses of the users who should be able to trigger the flow. Once you’ve done this, only those users will be able to start the flow.
If you need to get the email address of the user who triggered the flow, you can use the “triggerBody()” function. This function returns a JSON object that contains information about the trigger, including the email address of the user who started it.
For example, if your flow is triggered by a “Create Item” action, you can use the following code to get the email address of the user who created the item:
triggerBody()?[‘CreatedBy’]?[‘Email’]
Other related questions:
How do I get user information in Power Automate?
There are a few ways to get user information in Power Automate. One way is to use the Office 365 Users connector. This connector has a number of actions that can be used to get information about users in your organization, including their name, email address, and job title. Another way to get user information is to use the SharePoint Get User Profile action. This action will return information about the user that is currently logged into SharePoint, including their name, email address, and job title.
How do you get a username from Power Automate flow?
There is no specific action to get a username from Power Automate flow. However, you can use the “Get a user” action from the Office 365 Users connector to get the current user’s profile, which will include the username.
How do you trigger a Power Automate flow from PowerApps?
From your PowerApps app, select the Flow tab.
Select the Power Automate flow you want to trigger.
In the Trigger Flow dialog box, select the trigger you want to use, and then select Run Flow.
How do you trigger flow in Power Automate?
There are many ways to trigger a flow in Power Automate. The most common way is to use a trigger, which is an event that starts the flow. Triggers can be manual or automatic, and they can be configured to run on a schedule.
Bibliography
- Solved: Get executing user in Flow – Power Platform Community
- Current User (Who triggered Flow) – Power Platform Community
- Power Automate and the Power Apps trigger – part 3 – About365
- How to get email address from name in Power Automate
- Microsoft Power Automate Flow Trigger Conditions – XRM Vision
- Create a user-triggered flow – Microsoft Power Platform …
- Types of flows in Microsoft Power Automate – Pragmatiq