# Webhook - modify response code based on criteria \[GOT CREATED\]

**URL:** <https://community.n8n.io/t/webhook-modify-response-code-based-on-criteria-got-created/3721>\
**Category:** Feature Requests (done)\
**Created:** [2021年一月7日 07:27 UTC](https://community.n8n.io/t/webhook-modify-response-code-based-on-criteria-got-created/3721 "2021-01-07T07:27:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![GaRe](https://avatars.discourse-cdn.com/v4/letter/g/c6cbf5/32.png) [@GaRe](https://community.n8n.io/u/GaRe)\
**Post date:** [2021年一月7日 08:19 UTC](https://community.n8n.io/t/webhook-modify-response-code-based-on-criteria-got-created/3721/3 "2021-01-07T08:19:13Z")

</div>

Hey,

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)

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/4/41465efe3521d6639d10b4f45a35603a6fbcb8ea.png)

---

_[View the full topic](https://community.n8n.io/t/webhook-modify-response-code-based-on-criteria-got-created/3721)._
