You can send a custom response based on your business logic. To do that select ‘Last Node’ from the Response Mode dropdown. This will send the data that is returned by the last node in the workflow. You can use the Set node to set this response.
First of all, thanks for your reply. I know I can modify the response body (JSON). I would also like to change the “Response code” based on some business logic criteria.
Response code can’t be changed dynamically and node always returns the value defined in the WenHook node settings (for example 200)
Thanks for the further information. Now I have a clear idea of what exactly you mean. Yes, currently this is not possible. I too believe this can be a helpful feature.
Is still wip, no work went into the node-design and got also not properly tested yet. If anybody wants to give it a try anyway to see if it would allow all use cases and works properly you are very welcome. So is obviously also feedback and bug reports.
Considering that this feature request has 15 upvotes and I did not hear back, I assumed it got tested, and everything is working perfectly for everybody and they could not be happier.