# Create a table in .csv or.txt from a node template

**URL:** <https://discourse.nodered.org/t/create-a-table-in-csv-or-txt-from-a-node-template/82068>\
**Category:** Dashboard\
**Created:** [16 October 2023 05:25 UTC](https://discourse.nodered.org/t/create-a-table-in-csv-or-txt-from-a-node-template/82068 "2023-10-16T05:25:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loveflowersx](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Loveflowersx](https://discourse.nodered.org/u/Loveflowersx)\
**Post date:** [16 October 2023 05:25 UTC](https://discourse.nodered.org/t/create-a-table-in-csv-or-txt-from-a-node-template/82068/1 "2023-10-16T05:25:56Z")

</div>

Hi everyone,

```auto
[{"id":"ab3ee0589c3e8b29","type":"ui_template","z":"9d82413d96f85954","group":"21bd4d782123bfb3","name":"funciona_perfecto_v3_registry","order":3,"width":8,"height":10,"format":"<p><strong>Report log:</strong></p>\n<table style=\"border-collapse: collapse; font-size: 13px; font-weight: bold ;margin-top: 20px; height: 1000px;\" border=\"1\">\n <tbody>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>PRODUCT NAME</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.productName}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>PRODUCT NUMBER</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.productNumber}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>DATE</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.date}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>START TIME</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.startTime}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>END TIME</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.endTime}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>CYCLE TIME</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.cycleTime}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>PAUSE TIME</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.pauseTime}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>TANK 1 TOTAL</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.tank1Total}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>TANK 2 TOTAL</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.tank2Total}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MINIMUM AIR TEMPERATURE</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.minAirTemperature}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MEDIUM AIR TEMPERATURE</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.mediumAirTemperature}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MAXIMUM AIR TEMPERATURE</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.maxAirTemperature}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MINIMUM FLOW</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.minFlow}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MEDIUM FLOW</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.mediumFlow}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MAXIMUM FLOW</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.maxFlow}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MINIMUM HUMIDITY</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.minHumidity}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MEDIUM HUMIDITY</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.mediumHumidity}}</td>\n </tr>\n <tr>\n <td style=\"white-space: nowrap;\"><p><strong>MAXIMUM HUMIDITY</strong></p></td>\n <td style=\"white-space: nowrap;\">{{msg.maxHumidity}}</td>\n </tr>\n </tbody>\n</table>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":790,"y":160,"wires":[[]]},{"id":"21bd4d782123bfb3","type":"ui_group","name":"registry","tab":"ab1ada9da2ce8e76","order":1,"disp":false,"width":"25","collapse":false,"className":""},{"id":"ab1ada9da2ce8e76","type":"ui_tab","name":"REGISTRY","icon":"dashboard","order":13,"disabled":false,"hidden":true}]

```

How can I make with this node the same table in .csv or .txt in a folder inside the iot, I use the WinSCP program.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 October 2023 07:35 UTC](https://discourse.nodered.org/t/create-a-table-in-csv-or-txt-from-a-node-template/82068/2 "2023-10-16T07:35:19Z")

</div>

This is a duplicate topic, please do not double post. [Create .CSV and .txt from a table](https://discourse.nodered.org/t/create-csv-and-txt-from-a-table/81993)

If you are not getting replies on OG topic, try adding more info and a better description of your issue.
