Skip to main content

Webhooks

Webhooks allow you to connect external apps and automations to External User Manager and retrieve information related to specific actions occurring within the app.

​

For instance, you can choose to trigger the Webhook when a Guest Request is created, which will transmit the corresponding details to your app/automation, triggering a script that would send the details to a separate database for further processing.

​

This is a relatively rudimentary example; in real-world scenarios, this feature could be used in a variety of different ways depending on your level of imagination and coding prowess.

​

Let's go through the Webhook setup and utilization process to better understand what can be gained by using them.

​

​

🪝 Webhook Setup


​

  1. Navigate to Settings, switch to Expert mode, and open Connected apps under Settings. Then click the Webhooks API card to get started.
    ​

  2. Click on Add webhook.
    ​

  3. Specify the Name and Description (3 to 255 characters).
    ​

  4. Select a Trigger event from the list. This is the action performed within External User Manager that will prompt the system to send out the necessary information. In our case, the Webhook will be triggered by Request created. You'll find eight events to choose from: Request created, Request approved, Request rejected, Access Review created, Access Review approved, Access Review rejected, User removed tenant, and Onboarding completed.
    ​

  5. Choose your platform under Automation type: Power Automate, Azure Functions, or HTTP.
    ​

  6. Paste the URL for your platform of choice into the corresponding field. Below it, the Payload properties table lists every Property that the JSON payload includes for the trigger you've selected, along with a Description of each one, so you'll know exactly what your platform's going to receive. Every payload carries the tenantId and triggerEvent, and the rest depend on the trigger. For instance, approvals and rejections add the decider and decideDate.
    ​

  7. Click Save.
    ​

  8. Click Copy secret in the Webhook secret dialog and store it securely, as it won't be shown again. Your endpoint uses it to verify that incoming requests genuinely come from External User Manager.

​

Once created, Webhooks can be Edited or Deleted by clicking on the corresponding buttons next to the desired entry on the list. You can also Rotate secret here.

​

​

🏅 Final Results


Once the Trigger event is performed within External User Manager, you'll receive all of the expected information on your platform of choice.

​

In our case, we received the Requester, Invitee, Onboarding State, Creation Date, Metafield Data, Tenant ID, and the Trigger Event for our new Guest Request.

​

​

​

⛑️ Need more help?


Get further assistance with External User Manager through our support chat widget within the app, or reach out to us at [email protected]

Did this answer your question?