Managing an event source definition from the UI

You can define an event source from the UI.

About this task

The purpose of the following scenario is to show how to create an event source definition of Webhook type in the context of an example.

OrdinaryHero is an online store that sells in gym clothes. When a new order is placed, the accounting system receives a confirmation of the payment registration through a Webhook notification. The store owner wants to create a workflow that contains a script that provides order information to the warehouse. The workflow runs when the payment has been registered, initiating the order delivery process. The owner wants to automate the submission of the workflow upon receiving the Webhook notification. To add the Webhook event trigger to the workflow, the IT team of OrdinaryHero must create an event source.

The procedure below explains how to create an event source named EVT_SRC_ORDERS from the UI.

Procedure

  1. Create a new event source from the Assets tab.
    1. In the Graphical Designer page, select the Assets tab.
    2. Click Add new and then select Event source from the drop-down menu.
    3. In the Add new event source panel, type "Webhook" in the search bar and then select Generic event source under the Webhook section.
    4. Click Next.
  2. Define general information about the new event source.
    1. In General information, in Folder, select the folder where you want to save the event source.
    2. In Name, type EVT_SRC_ORDERS.
  3. Optionally in Configuration, in the IP with netmask field, you can specify an IP net mask to filter one or more IPs you want to receive events from.
  4. Click Add.

Results

You have created a Generic Webhook event source named EVT_SRC_ORDERS. You can now use that event source to add a Webhook event trigger to a workflow. See Managing a workflow definition from the UI for the second part of the procedure.