# Code Node does not run current code, returns old code output

**URL:** <https://community.n8n.io/t/code-node-does-not-run-current-code-returns-old-code-output/149281>\
**Category:** Questions\
**Tags:** node, workflow-building\
**Created:** [July 14, 2025, 1:08pm UTC](https://community.n8n.io/t/code-node-does-not-run-current-code-returns-old-code-output/149281 "2025-07-14T13:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![moosa](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/moosa/32/108437_2.png) [@moosa](https://community.n8n.io/u/moosa)\
**Post date:** [July 14, 2025, 1:53pm UTC](https://community.n8n.io/t/code-node-does-not-run-current-code-returns-old-code-output/149281/3 "2025-07-14T13:53:27Z")

</div>

In your code node you do `return $input.all();`  
which represents previous input and you are returning it as it is.  
you need to do some thing with data and return new data.  
you can refer to [this community topic](http://community.n8n.io/t/code-node-for-beginners/22031) to better understand code node.

---

_[View the full topic](https://community.n8n.io/t/code-node-does-not-run-current-code-returns-old-code-output/149281)._
