Configure webhook in Adobe Developer Console Project
To receive AEM Events on the above webhook URL, follow these steps:
-
In the Adobe Developer Console, navigate to your project and click to open it.
-
Under Products & services section, click ellipses
...
next to the desired events card that should send AEM events to the webhook and select Edit. -
In the newly opened Configure event registration dialog, click Next to proceed to How to receive events step.
-
In the How to receive events step, select Webhook option and paste the Webhook URL you copied earlier from the Glitch hosted webhook and click Save configured events.
-
In the Glitch webook page, you should see a GET request, it is a challenge request sent by the Adobe I/O Events to verify the webhook URL.
Trigger AEM events
To trigger AEM events from your AEM as a Cloud Service environment that has been registered in the above Adobe Developer Console project follow these steps:
-
Access and login to your AEM as a Cloud Service author environment via Cloud Manager.
-
Depending on your Subscribed Events, create, update, delete, publish or unpublish a Content Fragment.