# Trying to save JSON to influxdb

**URL:** <https://discourse.nodered.org/t/trying-to-save-json-to-influxdb/89814>\
**Category:** General\
**Created:** [27 July 2024 12:32 UTC](https://discourse.nodered.org/t/trying-to-save-json-to-influxdb/89814 "2024-07-27T12:32:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 July 2024 12:55 UTC](https://discourse.nodered.org/t/trying-to-save-json-to-influxdb/89814/2 "2024-07-27T12:55:51Z")

</div>

Welcome to the forum @xubin

That should certainly add a new point to the database. How do you know it is overwriting data rather than adding to it?

Please select the inject node and the influx node and Export them (CTRL+E or use the menu) and paste here.

In order to make export readable and usable it is necessary to surround it with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/trying-to-save-json-to-influxdb/89814)._
