Now that Power Automate is connected (via the data gateway) to the on-premises SharePoint Server, its environment can be used in any part of a Power Automate workflow.
In this example, we'll use Power Automate to send an email when a new item gets added to an on-premises SharePoint list. To work with this example, you'll need a SharePoint list (you can also use a document library, but will have to update the flow accordingly). You can use these steps to configure a simple flow to work with on-premises SharePoint Server data:
- Navigate to the Power Automate web portal (https://flow.microsoft.com) and select + Create:
![](https://static.packt-cdn.com/products/9781800563735/graphics/assets/62336f34-6431-494d-a96b-4ff7fd50d641.png)
- Select Automated flow:
![](https://static.packt-cdn.com/products/9781800563735/graphics/assets/f59d7b44-97cb-49c1-b7b5-cbb94078cb9f.png)
- Add a descriptive name for the flow, and then select the When an item is created SharePoint trigger. Click Create:
![](https://static.packt-cdn.com/products/9781800563735/graphics/assets/06ed4c22-bba3-45be-a973-82ce76a2b6cc.png)
- In the Site Address field, select the name of the site that contains the list. If the list does not populate (which is likely in this scenario), you'll need to enter...