Customizable Webhook trigger responses
lorenzo
A more in-depth question about this function.. In theory, would it be possible in the future for automations triggered via a webhook to also return a response?
Specifically, I’m planning to use an automation to generate a PDF with the document designer in SmartSuite and return either the PDF itself or a URL to the PDF. This way, it would be possible to generate and retrieve a PDF on demand through a webhook.
If the response can be configured with a 303 and a location header containing the URL of the generated PDF, we could have certain customers access an on demand generated document. This would be very valuable for us and our operations.
So, to summarize my question: Will it be possible to return a response from automations triggered by webhooks?
I
IDLX Admin
Agreed. Even a simple redirect option as a start right now would help alleviate any confusion from our users who utilize webhook links we create.
n8n utilizes Webhook Responses very well and may be worth looking at mimicking.
Peter Novosel
Right now Webhook trigger returns a 200 with the following body on success:
{
"success": true
}
It's a great idea to allow the system to either:
- Customize the returned response, or (ideally)
- Support sending a webhook response with customizable HTTP return code and payload