Select the nodes that you showed the image of earlier, plus the Trigger node, then hit CTRL+E and click Export to Clipboard.
Then paste the flow here. In order to make flow usable it is necessary to surround it with three backticks (also known as a left quote or backquote ```)
```
code goes here
```
See this post for more details - How to share code or flow json