Respond to the Webhook
Respond to the Webhook
Sends a response to the caller of the webhook that started the robot, returning the data and the HTTP status code you define. Useful when the robot is triggered synchronously and the calling system waits for a response with the result of the processing.
- Version 2.0
- Version 1.0
Options
Arguments
Define the response object to send to the webhook caller. The code must return an object holding the HTTP status code and the response body with the relevant data. This field is optional.
Webhook call ID
Identifier of the webhook call this response is meant for. When given, it makes sure the response reaches the right caller. This field is optional.
Load balancing ID
Load balancing identifier associated with the call. Used in setups with several running instances, to correlate the response correctly. This field is optional.
Options
Arguments
Define the response object to send to the webhook caller. The code must return an object holding the HTTP status code and the response body with the relevant data. This field is optional.
Webhook call ID
Identifier of the webhook call this response is meant for. It makes sure the response reaches the right caller. This field is required.
Returns
This action has no returns.
Rules and Conditions
- In Version 2.0, every field is optional.
- In Version 1.0, the Webhook call ID field is required.
- The response must hold at least the status code and the message body in the Arguments field.
- This action only takes effect when the robot was started through a webhook call.
- After the response is sent, the robot keeps running normally — this action does not end the flow.