HOW TO

Create a webhook with Make which sends an email notification when a feature service is updated

Last Published: December 9, 2022

Summary

This article demonstrates how to create a webhook with Make which sends an email notification to the administrator when a feature service is updated. This is a new functionality for ArcGIS Online as of the July 2020 update.

Note:
The example provided is to create a custom webhook in Make with the Microsoft 365 Email module. There are other email modules available.

Before performing this workflow, ensure the following requirements are met:

Procedure

  1. Log in to Make, and click Create a new scenario. Click Skip.
  2. In the search bar, search for and select Webhooks. For Triggers, select Custom webhook.
Selecting the Custom webhook.
  1. Click Add, and enter a name.
  2. Click Save. A hook URL is created. Click Copy address to clipboard, and click OK.
Make1.png
  1. Hover over the webhook, and click Add another module.
Add another module hovering over the webhook.
  1. Search for and select Microsoft 365 Email. For Actions, select Create and send a message.
Microsoft 365 Email and Create and send a message selected.
  1. Click Add. Name the Connection. Enter the Subject and Body Content for the email.
  2. Click Add a recipient. In the Add a recipient dialog box, add the name and email address of the recipient receiving the email notification. Click Add. Click OK.
The Connection, Subject, Body Content, name and email address of the recipient, and OK button.
  1. Open the item details page of the feature service. Scroll to and click View next to the service URL.
  2. In the Service URL, add admin/ after rest/ and before services/. For example:
https://services.arcgis.com//Wl7Y1m92PbjtJs5n/ArcGIS/rest/admin/services/<feature service name>/
  1. Press Enter.
  2. Scroll to the bottom, and click Web Hooks.
Clicking Web Hooks at the bottom of the feature service REST page.
  1. Click Create. Name the webhook.
  2. Specify the Change Types as '*' (wildcard) to represent all actions.
  3. Include a Signature Key if desired.
  4. For the HookUrl, paste the webhook URL from Step 4.
  5. For Active, check True.
  6. Click Create. The webhook is created.
The created webhook.
Note:
To test the webhook, click Run Once on the Make Scenario tab before updating the feature service. After testing is complete, stop the Run Once function before using the scheduling toggle.
 

Article ID:000023798

Software:
  • Third Party Product
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic