# How to add/update flows\_\<hostname\>.json file name to a flows\_\<static\>.json name

**URL:** <https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245>\
**Category:** General\
**Created:** [19 October 2022 09:17 UTC](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245 "2022-10-19T09:17:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham-credence](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shubham-credence/32/69376_2.png) [@shubham-credence](https://discourse.nodered.org/u/shubham-credence)\
**Post date:** [19 October 2022 09:17 UTC](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245/1 "2022-10-19T09:17:24Z")

</div>

Hi!  
I'm using `Node-RED version: v1.3.7` and `Node.js version: v14.17.5`.  
Does node-red allows us to customize it's main `flows_<hostname>.json` flows file name, to a static `flows_<static>.json` flows file name, so that we can use the same static `flows_<static>.json` file on multiple remote server.

And if node-red allows us to customize it's flows name to `flows_<static>.json` file, then how does `node-red runtime enviorment` knows/treat this static `flows_<static>.json` file, as a main `JSON` file.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [19 October 2022 12:19 UTC](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245/2 "2022-10-19T12:19:04Z")

</div>

In your settings.js file there should be aline like

```auto
flowFile: 'flows.json',

```

make sure it is uncommented and set to whatever name you wish to use.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 November 2022 10:11 UTC](https://discourse.nodered.org/t/how-to-add-update-flows-hostname-json-file-name-to-a-flows-static-json-name/69245/3 "2022-11-15T10:11:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
