You can start a Microsoft Power Automate flow using triggers. For example, when you create a record in a feature layer (trigger), data is retrieved from that feature layer (action).Only the ArcGIS Online (ArcGIS) connector and the ArcGIS Enterprise connector can be used as an ArcGIS Connectors for Power Automate trigger; the ArcGIS PaaS connector is not supported as a trigger.
When creating flows using triggers, you must have Creator-level permissions in your ArcGIS organization. If you do not have the appropriate permissions, you can't save or run the flow.
For more information about triggers, see the Microsoft documentation.
Note:
ArcGIS Survey123 also has one trigger available through Microsoft Power Automate. For more information, see the Survey123 connector Microsoft documentation and the ArcGIS Survey123 help topic Webhooks.
Webhooks
To use triggers, the Enable editing and Keep track of changes to the data check boxes must be checked on the feature layer. If webhooks are not enabled on the feature layer, the trigger does not run.
To adjust feature layer settings, see Manage hosted feature layers in the ArcGIS Online help.
ArcGIS Enterprise connector
ArcGIS Enterprise is configured to return all server generations starting from the time of the server's creation. To remove false failures across different versions or generations of the server data, the ArcGIS Enterprise connector will create test calls on the feature layer and ensure that the webhooks are created successfully.
Once a webhook is successfully created, you receive the following output message: The webhook was successfully created on the feature layer.
Once a test call (action) takes place successfully, you receive the following output message: The response from the webhook test was successful. The flow is now ready for use.
Feature layer triggers
Triggers can be based on updates to a feature layer.
When a record is created in a feature layer | When a record is deleted from a feature layer | When a record is updated in a feature layer |
---|---|---|
This trigger is initiated when you create a record in a feature layer. | This trigger is initiated when you delete a record from a feature layer. | This trigger is initiated when you update a record in a feature layer. |
Attachment triggers
Triggers can be based on modifications to an attachment in a feature layer.
When an attachment is created | When an attachment is deleted | When an attachment is updated |
---|---|---|
This trigger is initiated when you create an attachment. | This trigger is initiated when you delete an attachment. | This trigger is initiated when you update an attachment. |
Tip:
You can use the Fetch updates, changes, or deletions from feature layer action in conjunction with a feature layer trigger to retrieve changes made to a feature layer.
This action requires either the ArcGIS Online (ArcGIS) or the ArcGIS Enterprise connector.