Summary
Microsoft Power Automate is a webhook service provided in the Microsoft Office 365 platform that can be used with ArcGIS applications to automate various workflows. When a record or attachment is created, updated, or deleted in ArcGIS Field Maps, automated email notifications can be received by leveraging the ArcGIS connector in a Microsoft Power Automate webhook. This method provides a low-code to no-code environment, which simplifies automated operations and reduces error. For more information, refer to ArcGIS for Microsoft 365: Get started with ArcGIS Connectors for Power Automate.
This article demonstrates the method to configure a Microsoft Power Automate webhook to generate automated email notifications after creating, updating, or deleting records or attachments in ArcGIS Field Maps.
Procedure
To perform this workflow, ensure the following requirements are met:
- The Microsoft Power Automate license is entitled to use premium connectors.
- The Enable editing option is enabled for the feature layer.
- The 'Keep track of changes to the data (add, update, delete features)' option is enabled for the feature layer.
- The 'Keep track of who edited the data (editor name, date and time)' option is enabled for the feature layer.
Note:
Microsoft Power Automate is a third-party service. Esri is not liable for positioning inaccuracies, subsequent updates, errors, or omissions of data.
- Sign in to Microsoft Power Automate with the ArcGIS organization credentials.
- Add the ArcGIS connector.
- On the left navigation pane, click Connections > New connection. Click More if the Connections tab is not pinned to the pane.
- In the search bar, search for and select the ArcGIS connector.
- Click Create when prompted.
- In the Request for Permission window, click Allow to add the ArcGIS connector to the list of connections.
- Create a flow with a trigger.
- On the left navigation pane, click My flows > New flow > Automated cloud flow.
- In the Build an automated cloud flow dialog box, for Flow name, specify the flow name. In this example, the flow is named Field Map Email Notify.
- For Choose your flow's trigger, type arcgis into the search box to filter the triggers and select the desired trigger. In this example, the 'When a record is created in a feature layer' trigger is selected to trigger the flow when a record is created.
- Click Create.
- Add a feature layer used on the map in ArcGIS Field Maps to the trigger.
- On the flow creation page, click the trigger card.
- On the Parameters tab, for Feature Layer, select the desired feature layer from the drop-down list.
- Add and configure an action to the flow.
- On the flow creation page, click New step and click Add an action.
- In the search box, type send an email and select a mailing connector. In this example, Office 365 Outlook is selected as the connector to send an automated email notification when a record is created.
- On the Parameters tab, configure the To, Subject, and Body fields of the email.
- Click Save to save the flow.
The image below shows the automated email notification after a new record is created in ArcGIS Field Maps.