Hi, firstly your flow was not correctly formatted for the forum so I corrected it for you
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
Next, I moved this thread to General since you are not Developing Nodes
Lastly, require
is NOT really recommended or even necessary. I would use the Setup
tab and add your npm module in there. See the below article for how to: