I have a text with some placeholders. Safed in a Set-Node (I need variables!). Now I want to replace each placeholder with a different value. I configured a loop an it works for each single replacement.
BUT I get e.g. 3 outputs. Each with one replaced placeholder. I want to have the complete text with all placeholders replaced.
So I need to access the initial Set-Node from within the Loop and edit the Set-Node and then use the newly altered Set-Node. Unfortunately, I always get the initial value of the set node.
I also always use the code block, but you can do it with a set node like this.
The key things to keep in mind is to reference the field using dot notation object.message so it matches the position of the original object and then enable the "Include Other Input Fields option
It might work in my simple example, BUT in more complex workflows the code block should be used to easily reference previous nodes by name like in @darrell_tw solution