Automation
Webhooks

Configure and assign webhook [example]

7min

Follow our setup guide to configuring and assigning a webhook to a process in PROCESIO. πŸŽ‰

Read on for a hands-on example on webhook configuration in PROCESIO and how to assign it to a process. For the purpose of this example, we will be using Postman to mimic an event and send data from another platform to PROCESIO.

Configure webhook

ο»Ώ

To configure your webhook, go to Automation section, then switch to Webhooks tab.

If you have not added a webhook already, clickΒ Create webhook.

We will use Postman to mimic an event and send data from another platform to PROCESIO.

1. Give the webhook a name.

2. Copy the unique URL

Document image
ο»Ώ

ο»Ώ

3. Go to Postman and paste the webhook URL (generated by PROCESIO)

4. Select POST verb

For the purpose of this article, we will send over a simple JSON object:

JSON
ο»Ώ

Once you’ve entered your JSON object you can click the blue β€œSend” button to send a POST request to the PROCESIO webhook.

Document image
ο»Ώ

After you send the example webhook, you should see a success message (200 OK).Β 

In the meantime, the JSON object was passed and received in PROCESIO and you can see the data structure was determined correctly:

Document image
ο»Ώ

Press Save to save your webhook.

Each webhook can be configured with one or more event types. Press "Listen for another event" to add up attributes from other events to the data structure.

Assign to process

ο»Ώ

The webhook created can now be assigned to a process.

  1. 1. Go to Process Designer.

2. Select a process you want to trigger when data is received.

3. Open process.

4. Go to Webhooks

Document image
ο»Ώ

5. In Assign Webhook panel, select the webhook created, to trigger this process

6. A local variable is automatically created based on the data structure received in webhook.

7. You can use attributes in data structure to filter the data sets that will trigger your process.

Based on the example below, only data sets where age > 25 will trigger the process:

Document image
ο»Ώ

Save the configuration.

You are now all set. Congrats! πŸŽ‰

Sending data to PROCESIO to this unique webhook URL will automatically start the process.

ο»Ώ

ο»Ώ