I am trying to create an N8N flow which will take the input file template.html from an FTP and replace the text “thisisplaceholdertext” inside that file with the text from a different file called negative.html also from ftp. I wrote JS which I thought would do the trick but it isn’t returning the combined output? I think I am close on this one… any input is appreciated
Before using code node, you will need the extract from file node to receive the actual text you can work with. Then you will be able to repkace what you need with edit fields/code node