Convert Multiple Items into a Single no-Array Item with pipe Seperators

Dear n8n-Community,

I am trying to convert multiple items contents into single item string, seperated by pipe symbols.

The Input looks like this:


and the output should look like this, with the first item beeing referenced 2 times:


Here is a workflow code for the input:

I love n8n and can do very complex workflows, but I always stuck at that function nodes :expressionless: to do this kind of conversions.

Hopefully someone can help me?

I found a solution, here it is:

1 Like