In this lesson, you will subscribe to data ingestion events by setting up a webhook with the Adobe Developer Console and an online webhook development tool. You will use these events to monitor the status of your data ingestion jobs in the subsequent lessons.
Data Engineers will want to subscribe to data ingestion events outside of this tutorial.
Data Architects can skip this lesson and go to the batch ingestion lesson.
In the Configure Permissions lesson, you set up all the access controls you need to complete this lesson, specifically:
Luma Tutorial Platformproduct profile (for API)
These notifications triggered by the data ingestion events will apply to all of your sandboxes, not just the
Luma Tutorial sandbox we are using for the exercises in this tutorial. So, you might see notifications coming from other data ingestion events in your other sandboxes.
In this exercise we will create a webhook using an online tool called webhook.site (feel free to substitute any other webhook development tool you prefer to use):
In another browser tab, open the website https://webhook.site/
You will be assigned a unique URL, which you should bookmark, as you will need to come back to it later in the data ingestion lessons:
Click the Edit button in the top navigation
As the Response body, enter
$request.query.challenge$. The Adobe I/O Events notifications we will set up later in this lesson send a challenge to the webhook, and requires that it be included in the response body.
Click the Save button
In another browser tab, open the Adobe Developer Console
Luma Tutorial API Project
Click the Add to Project button and then select Event
Filter the list by clicking Experience Platform
Click to select Platform notifications
Click the Next button
Click to select all of the events
Click the Next button
On the next screen for configuring credentials, just click the Next button again
As the Event registration name, enter
Scroll down and click to open the Webhook section
As the Webhook URL, paste the value from the Your unique URL field from webhook.site
Click the Save configured events button
Wait for your configuration to save and you should see that your
Platform notifications event is Active with your webhook details and no error messages
Switch back to your webhook.site tab and you should see the first request to the webhook, resulting from the validation of your Developer Console configuration:
That’s it for now, you will learn more about these notifications in the next lessons when you ingest data.
Ok, let’s finally start ingesting data!