# How to convert to a function

**URL:** <https://discourse.nodered.org/t/how-to-convert-to-a-function/6170>\
**Category:** General\
**Created:** [27 December 2018 16:49 UTC](https://discourse.nodered.org/t/how-to-convert-to-a-function/6170 "2018-12-27T16:49:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [27 December 2018 18:12 UTC](https://discourse.nodered.org/t/how-to-convert-to-a-function/6170/2 "2018-12-27T18:12:23Z")

</div>

Hi @gbond

It would help if you could describe what this flow does. Right now you are asking us to import your flow, then reverse engineer what it does without any information.

When it comes to sharing flows, please also read this post about how to format them properly: [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/how-to-convert-to-a-function/6170)._
