Select to view content in your preferred language

Troubleshooting your ArcGIS Connector for Power Automate Triggers with Webhook.site

907
1
12-04-2024 07:19 AM
SeanKMcGinnis
Esri Contributor
2 1 907

There are times when your Power Automate flow might not be running as expected, but how do you determine what the source of the issue is? It is tough when integrating multiple systems and applications together, and it can be common to think the issue is with the Power Automate trigger, as that is where the issue is surfacing. But often the issue is further upstream and surfacing because the webhook is not firing. But how can you tell?

A tool I use when troubleshooting is Webhook.site. This utility allows you to generate unique URL listeners to notify you that a webhook is sending a payload as expected. It is quick to get started and can easily let you know if your feature layers are initiating a webhook.

Webhook.site is a utility to use for basic debugging. With a free account, you can generate unique URLs to test whether the webhook is firing. This will help you to determine if the webhook is working as expected or if the issue is with the Power Automate flow.

Getting Started

After setting up your Webhook.site profile (or using the free capability), they will provide you with a URL, an email address, as well as DNS and proxy CLI resources. In this scenario for testing feature service webhooks – we will be using the ‘Your unique URL.’

SeanKMcGinnis_60-1733254433301.png

Setting up the Test

Now that you have the URL, we need to attach it to the feature layer to test whether the webhook is firing or not. Start on the item details page scroll to the service URL and click the ‘View’ icon.

SeanKMcGinnis_61-1733254649981.png

 

From the Services Directory page, click the ‘Admin’ link in the top right corner.

SeanKMcGinnis_62-1733254737366.png

On the Admin page, click the ‘WebHooks’ link.

SeanKMcGinnis_63-1733254787141.png

From the webhook page you’ll see all the webhooks associated with the feature service. To begin our testing and troubleshooting, we will need to create a new webhook with the URL provided from Webhook.site. This will help us to test whether the webhook is firing or if there is a problem in the Power Automate flow. Check the Webhooks documentation for a description and example usage of creating a webhook manually. When it is created your page will look similar to the image below.

SeanKMcGinnis_64-1733255021792.png

With this wired up, you can now begin testing to see if the webhooks are firing. When the appropriate event is done against the feature service, the page will show that the webhook has fired and is working as expected.

 

SeanKMcGinnis_65-1733255121758.png

Hopefully this tool and the steps outlined here will help you to better troubleshoot and understand the source of issues when using webhooks as triggers in your Power Automate flows.

1 Comment
SaadShahzad
Emerging Contributor

Recently, we've been running into an issue with webhooks not being automatically created by Power Automate in our ArcGIS Enterprise instance. We are using the "when a survey response is submitted" connector, and for our old flows, the Power Automate flow automatically creates the webhook in the Survey123 webhook settings. 

However, as of last week, Power Automate has not been able to create any new webhooks in our surveys. So only our old flows work. 

I tested with Integromat (Make) and it works, but the reason it works is because with the Integromat flow, is that you are manually creating the webhook entry in the Survey123 settings page. Screenshot 2024-12-09 114237.png

 

Any idea what this could be, as nothing on our end seems to have changed to start causing this issue all of a sudden. 

Contributors