How to create a webhook?
Last updated
Last updated
Copyright © 2023 Deskree Technologies Inc.
Deskree webhooks allow you to automatically send a POST request to a URL of your choice every time there is a new row created, updated, or deleted in the database. The body of this post request will contain that row data.
Imaginary objective: send data to https://example.com/test when a new row is added to the Deskree products table.
This can be done using Deskree Automation Webhook functionality found inside the Automation tab of your left-hand navigation inside the project.
There, you need to
Create a new webhook configuration by clicking the button "Create New Trigger"
In the modal window:
Select the table you need (ex. products)
Provide a webhook destination URL (ex. https://example.com/test)
Define the trigger method (ex. POST)
Click the "Create" button.
Once configured, every time a new item is created in the Products table, Deskree webhook will send a post request to https://example.com/test URL.