This guide explains how to set up automations in Clarus WMS that trigger a webhook when stock is positively adjusted. This allows you to send real-time stock data to external systems for further processing.
Go to the Automations section in Clarus WMS.
Click +New to set up a new automation. You will need to define the exact rules for when this automation should happen.
Enter the Webhook URL where the data should be sent. Then, choose the Webhook Method (e.g., POST, GET) that should be used when the webhook is called.
Define when the webhook should be activated. For this automation, set the event to trigger when stock is positively adjusted.
When the webhook is triggered, a JSON object will be sent with details of the stock adjustment, including the product ID, warehouse, and the new quantity. An example of this data structure is provided in the original article.
REMEMBER: The JSON object will contain important details about the stock adjustment, such as 'id', 'created_at', 'account', 'product', 'warehouse', 'quantity', and 'new_quantity'.Once you have set everything up, click Save to activate your automation.
A webhook is a way to send real-time data to another online address when something specific happens in Clarus WMS.
This specific webhook is triggered when stock levels are increased (positively adjusted).
A JSON object is sent. It contains information about the positive stock adjustment, such as the product ID, the warehouse involved, the quantity adjusted, and why the adjustment was made.
Yes, in the automation settings, you can specify the Webhook Method, for example, POST or GET.
After setting up the automation, make a positive stock adjustment that matches your criteria. Then, check your external system to confirm it received the webhook data.